/* yOu-v2 App Styles */

/* Google Fonts - Space Grotesk */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ========================================
   GLOBAL SITE-WIDE STYLES
   ======================================== */

/* Remove underlines from ALL links site-wide */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* ========================================
   GLOBAL SITE-WIDE CONTAINER STYLES
   All pages use 1024px max-width
   ======================================== */

/* Apply to ALL container classes across the site */
.container,
.dashboard-container,
.admin-container,
.journey-container,
.appreciate-container,
.home-container,
.editor-container,
.editor-container-full,
.article-container {
    max-width: 1024px !important;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive breakpoints for ALL containers */
@media (min-width: 1025px) {
    .container,
    .dashboard-container,
    .admin-container,
    .journey-container,
    .appreciate-container,
    .home-container,
    .editor-container,
    .editor-container-full,
    .article-container {
        max-width: 1024px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container,
    .dashboard-container,
    .admin-container,
    .journey-container,
    .appreciate-container,
    .home-container,
    .editor-container,
    .editor-container-full,
    .article-container {
        width: 100%;
        padding: 20px 40px;
    }
}

@media (max-width: 768px) {
    .container,
    .dashboard-container,
    .admin-container,
    .journey-container,
    .appreciate-container,
    .home-container,
    .editor-container,
    .editor-container-full,
    .article-container {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container,
    .dashboard-container,
    .admin-container,
    .journey-container,
    .appreciate-container,
    .home-container,
    .editor-container,
    .editor-container-full,
    .article-container {
        width: 100%;
        padding: 15px;
    }
}

/* Responsive Journal Layout for Mobile */
@media (max-width: 768px) {
    .entry-box-content {
        flex-direction: column;
    }

    .entry-box-content .entry-thumbnail {
        order: 1; /* Move thumbnail to top */
        width: 100%;
        height: 150px;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .entry-box-content .entry-box-main-content {
        order: 2; /* Move text content below thumbnail */
    }

    .entry-box {
        display: flex;
        flex-direction: column;
    }

    /* Use display:contents to make grandchildren act as direct children of the flex container */
    .entry-box-content {
        display: contents;
    }

    .entry-box .entry-thumbnail {
        order: 1; /* Thumbnail on top */
        width: 100%;
        height: 150px;
        margin-bottom: 15px;
        margin-left: 0; /* Override desktop style */
    }

    .entry-box .entry-box-header {
        order: 2; /* Header second */
    }

    .entry-box .entry-box-main-content {
        order: 3; /* Main text content last */
    }
}


/* Journal Entry Box Layout */
.entry-box-main-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 100px; /* Ensure a minimum height for alignment */
}

.entry-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.entry-preview {
    flex-grow: 1; /* Allow preview to take up available space */
}

.status-badge {
    align-self: flex-start; /* Align pill to the bottom-left */
    margin-top: auto; /* Push to the bottom */
}

/* Partner Draft Privacy */
.entry-box-content.partner-draft.no-click {
    cursor: default;
}


/* Quill Editor Placeholder Fix */
.ql-editor.ql-blank::before {
    position: absolute !important;
    left: 15px !important;
    right: 15px !important;
    top: 15px !important;
    color: var(--text-muted) !important;
    font-style: italic !important;
    pointer-events: none !important;
    content: attr(data-placeholder) !important;
}

.ql-container {
    position: relative !important;
}

.ql-editor {
    position: relative !important;
    padding: 15px !important;
    min-height: 200px !important;
}

/* Theme Variables */
:root {
    /* Light Theme (Day Mode) */
    --bg-page: #ffffff;
    --bg-gradient: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f0f0;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #ddd;
    --border-light: #eee;
    --shadow: rgba(0,0,0,0.1);
    --shadow-light: rgba(0,0,0,0.05);
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --primary-color: #667eea;
    --primary-hover: #5a6fd8;
    --success: #28a745;
    --warning: #ff6b35;
    --danger: #dc3545;
}

/* Dark Theme (Night Mode) */
[data-theme="dark"] {
    --bg-page: #1a1a1a;
    --bg-gradient: #1a1a1a;
    --bg-primary: #2a2a2a;
    --bg-secondary: #333333;
    --bg-tertiary: #404040;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #505050;
    --border-light: #454545;
    --shadow: rgba(0,0,0,0.5);
    --shadow-light: rgba(0,0,0,0.3);
    --accent-primary: #7c8adb;
    --accent-secondary: #8a6fb0;
    --primary-color: #7c8adb;
    --primary-hover: #6c7acc;
    --success: #4caf50;
    --warning: #ff7043;
    --danger: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Global text color transitions - slow (3s) for smooth theme switching */
h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, textarea, label {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: color 3s ease;
}

/* Font weight hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Bold for titles */
}

p, span, div, label {
    font-weight: 300; /* Light for body text */
}

button {
    font-weight: 500; /* Medium for buttons */
}

input, textarea {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300; /* Light for form fields */
}

/* Global background transitions - fast (0.3s) to keep responsiveness */
* {
    transition: background-color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-page);
    margin: 0;
    padding: 0;
    transition: background 0.3s ease, color 3s ease;
    min-height: 100vh;
    display: flex;
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
}

.dashboard-header h1 {
    color: var(--accent-primary);
    margin: 0;
    font-size: 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: translateY(-1px);
}

.theme-toggle-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-toggle-icon {
    transform: rotate(180deg);
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.feature-card.journey-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-card.burnbox-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.feature-card.appreciation-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.card-number {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
    opacity: 0.95;
}

.feature-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.feature-card p {
    margin: 0 0 15px 0;
    opacity: 0.9;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
}

.card-stats {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
}

.notification-pill {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

/* Partner Status & Recent Activity */
.partner-status, .recent-activity {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.partner-status h2, .recent-activity h2 {
    color: var(--accent-primary);
    margin: 0 0 20px 0;
    background: var(--bg-primary);
    gap: 15px;
    padding: 15px;
    background: transparent;
    border-radius: 8px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.activity-item.draft {
    border-left: none;
}

.activity-item[onclick]:hover {
    background: inherit;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin: 0 0 5px 0;
}

.activity-title {
    color: #667eea;
    font-weight: 500;
}

.activity-date {
    color: #666;
    font-size: 0.9rem;
}

.container {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.home-container {
    max-width: 1024px !important;
    width: 100%;
    box-sizing: border-box;
}

.container form {
    text-align: left;
}

.container form .form-group {
    text-align: left;
}

.container p {
    text-align: left;
}

.admin-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* Landing page button spacing */
.container .form-group {
    margin-bottom: 30px;
    text-align: center;
}

/* Reduce spacing between login form fields */
.container form .form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: 16px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="password"] {
    font-size: 24px;
    letter-spacing: 2px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.btn {
    width: 100%;
    height: 52px;
    padding: 0 12px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 15px;
    text-decoration: none;
    box-sizing: border-box;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}
.btn-tertiary {
    background: transparent;
    color: var(--accent-primary);
    border: none;
    padding: 8px 16px;
    font-weight: 400;
    text-decoration: none;
}

.btn-tertiary:hover {
    opacity: 0.8;
    transform: none;
    text-decoration: none;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
}

.btn-small {
    width: auto;
    padding: 8px 16px;
    font-size: 14px;
    margin: 0 5px;
}

.btn-share {
    background: #ff6b35 !important;
    color: white !important;
    border: none !important;
}

.btn-share:hover {
    background: #e55a2b !important;
    transform: translateY(-2px);
}

.btn-back {
    background: transparent !important;
    color: var(--text-primary) !important;
    border: 2px solid var(--text-primary) !important;
}

.btn-back:hover {
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    transform: translateY(-2px);
}

.link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: none;
    opacity: 0.8;
}

.error {
    background: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #fcc;
}

.success {
    background: #efe;
    color: #363;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #cfc;
}

/* Admin Dashboard Styles */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e5e9;
}

.admin-nav {
    display: flex;
    gap: 20px;
}

.nav-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    color: #666;
    margin-top: 5px;
}

.section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
}

.search-box {
    width: 100%;
    max-width: 300px;
    padding: 10px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Journal Page Styles */
.journey-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.journey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-left h1 {
    color: #667eea;
    margin: 0;
    font-size: 2.2rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.journal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Journal Editor */
.journal-editor {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border: 4px solid #28a745; /* Default green for draft */
    transition: border-color 0.3s ease;
}

/* Journal Editor - Shared State */
.journal-editor.shared {
    border-color: #fd7e14; /* Orange for shared */
}

/* Journal Editor - Draft State */
.journal-editor.draft {
    border-color: #28a745; /* Green for draft */
}

.editor-header {
    margin-bottom: 20px;
}

.title-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    background: white;
}

.editor-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .slider {
    background-color: #667eea;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.toggle-label {
    font-weight: 500;
    color: #333;
}

.save-buttons {
    display: flex;
    gap: 10px;
}

.editor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.status-message {
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 4px;
}

.status-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.word-count {
    font-size: 0.9rem;
    color: #666;
}

/* Journal Entries */
.journal-entries, .shared-feed {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid #667eea;
}

.entries-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.entries-header h2 {
    color: #667eea;
    margin: 0;
    font-size: 1.5rem;
}

.filter-tabs {
    display: flex;
    gap: 5px;
}

.tab-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #f0f0f0;
}

.tab-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.entries-list, .shared-entries {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 600px;
    overflow-y: auto;
}

.entry-card, .shared-entry-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entry-card:hover, .shared-entry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.entry-header, .shared-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.entry-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.draft {
    background: #28a745;
    color: white;
}

.status-badge.shared {
    background: #fd7e14;
    color: white;
}

.status-badge.private {
    background: #f8d7da;
    color: #721c24;
}

.new-badge {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
}

.view-count {
    font-size: 0.8rem;
    color: #666;
}

.entry-preview, .shared-preview {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.entry-footer, .shared-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.entry-date, .shared-date {
    font-size: 0.9rem;
    color: #666;
}

.entry-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.8rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-small:hover {
    background: #f0f0f0;
}

.btn-small.btn-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-small.btn-danger:hover {
    background: #dc3545;
    color: white;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author {
    font-weight: bold;
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .journal-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .journey-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .header-left {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .editor-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .entries-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Entry View Page Styles */
.entry-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.entry-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.entry-article {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    border-left: 4px solid #667eea;
}

.entry-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.entry-meta-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.entry-info h1 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 2.2rem;
    line-height: 1.3;
}

.entry-meta-details {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.author {
    color: #667eea;
    font-weight: 600;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.view-stats {
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
}

.entry-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 30px;
}

.entry-body h1, .entry-body h2, .entry-body h3 {
    color: #667eea;
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-body p {
    margin-bottom: 15px;
}

.entry-body blockquote {
    border-left: 4px solid #667eea;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.entry-reactions {
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.existing-reactions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.reaction-display {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.reaction-display:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.reaction-display.user-reacted {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.reaction-display.user-reacted:hover {
    background: #5a6fd8;
}

.reaction-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.reaction-btn {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 25px;
    padding: 8px 15px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reaction-btn:hover {
    border-color: #667eea;
    transform: scale(1.1);
}

/* Comments Section */
.comments-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid #667eea;
}

.comments-section h3 {
    color: #667eea;
    margin: 0 0 20px 0;
    font-size: 1.5rem;
}

.add-comment {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.add-comment textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 15px;
}

.comment-actions {
    display: flex;
    gap: 10px;
}

.btn-outline {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.no-comments {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 30px;
}

.comment-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: #667eea;
}

.comment-date {
    font-size: 0.9rem;
    color: #666;
}

.comment-text {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.comment-reactions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.comment-reaction {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 4px 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-reaction:hover {
    background: #e0e0e0;
}

.comment-reaction.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.add-reaction-btn {
    background: transparent;
    border: 1px dashed #ccc;
    border-radius: 15px;
    padding: 4px 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-reaction-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

.error-message h2 {
    color: #dc3545;
    margin-bottom: 15px;
}

/* Responsive Design for Entry View */
@media (max-width: 768px) {
    .entry-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .entry-meta-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .entry-info h1 {
        font-size: 1.8rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
    margin: 0 0 20px 0;
    color: var(--text-primary);
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.modal-buttons .btn {
    flex: 1;
    max-width: 150px;
}

.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

/* Version footer styling */
.version-footer {
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: #999;
    font-size: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
}

/* Subtitle text styling */
.subtitle-text {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
}

/* Password help text */
.password-help {
    color: #666;
    font-size: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
}

/* Editor page specific styles */
.editor-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 8px;
}

@media (min-width: 768px) {
    .editor-page-header {
        margin-bottom: 20px;
        padding: 0;
    }
}

.editor-container-full {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: none;
    outline: none;
    box-shadow: none;
}

@media (min-width: 768px) {
    .editor-container-full {
        padding: 20px;
    }
}

.editor-header-section {
    display: none;
    padding: 0 8px;
    padding-bottom: 0;
    margin-bottom: 15px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .editor-header-section {
        padding: 20px;
        padding-bottom: 0;
    }
}

.editor-header-section h2 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.title-input-field {
    width: 100%;
    padding: 15px 10px;
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    background: transparent;
    color: var(--text-primary);
    transition: none;
    outline: none;
    cursor: pointer;
    resize: none;
    overflow: hidden;
    overflow-y: hidden;
    min-height: 40px;
    max-height: none;
    line-height: 1.3;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.title-input-field:focus {
    cursor: text;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    border-color: var(--accent-primary);
}

.title-input-field:hover:not(:focus) {
    background: rgba(var(--text-primary), 0.05);
}

.editor-controls-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.save-buttons-group {
    display: flex;
    gap: 10px;
}

.editor-footer-section {
    display: none;
    padding: 20px;
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 800px;
    margin: 0 auto;
    z-index: 100;
}

.word-count-display {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
}

.back-button-section {
    margin-bottom: 20px;
}

/* Shared pill styles */
.shared-pill {
    background: #ff6b35;
    color: white;
    padding: 4px 12px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Space Grotesk', sans-serif;
}

/* Back button arrow styling - thicker 2px arrow */
.btn-back {
    font-weight: bold;
}

.btn-back::before {
    content: '\2190';
    margin-right: 8px;
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
}

/* Save Draft button styling */
.btn-save-draft {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-save-draft:hover {
    background: #218838;
}

/* Shared status message styling (appears above editor when shared) */
.shared-status {
    background: #FF6B35;
    color: white;
    padding: 12px 8px;
    border-radius: 0;
    margin: 0 8px 10px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    width: calc(100% - 16px);
}

@media (min-width: 768px) {
    .shared-status {
        padding: 14px 8px;
        font-size: 12px;
        border-radius: 8px;
        margin: 0 20px 15px 20px;
        width: calc(100% - 40px);
    }
}

/* Ensure all text in shared status is white */
.shared-status span {
    color: white !important;
    font-size: 14px;
    font-weight: 600;
}

/* Draft status message styling (appears above editor) */
.draft-status {
    background: #28a745;
    color: white;
    padding: 12px 8px;
    border-radius: 0;
    margin: 0 8px 10px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 16px);
}

@media (min-width: 768px) {
    .draft-status {
        padding: 14px 8px;
        font-size: 12px;
        border-radius: 8px;
        margin: 0 20px 10px 20px;
        width: calc(100% - 40px);
    }
}

/* Ensure all text in draft status is white */
.draft-status span {
    color: white !important;
    font-size: 14px;
    font-weight: 600;
}

/* Save indicator circle styling */
.save-indicator {
    margin-right: 4px;
    font-size: 16px;
    color: white !important;
    transition: opacity 0.3s ease;
}

/* Flashing animation when saving - flash 2 times */
.save-indicator.saving {
    animation: flash-three-times 1.6s ease-in-out 1;
}

/* Solid state when saved */
.save-indicator.saved {
    opacity: 1;
    animation: none;
}

@keyframes flash-three-times {
    /* two pulses with clear gaps */
    0%   { opacity: 1; }
    15%  { opacity: 0.2; }
    30%  { opacity: 1; }
    65%  { opacity: 0.2; }
    80%  { opacity: 1; }
    100% { opacity: 1; }
}

.shared-pill-close {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shared-pill-close:hover {
    background: rgba(255,255,255,0.2);
}

/* Quill Editor Dark Theme Fixes */
.ql-editor {
    border: 3px solid #4CAF50;
    border-radius: 8px;
    padding: 20px 8px;
    margin: 0 8px;
    padding-bottom: 80px;
    font-size: 16px;
    line-height: 1.6;
    min-height: calc(100vh - 250px);
    background: transparent;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .ql-editor {
        padding: 20px;
        margin: 0;
    }
}

/* Orange border when entry is shared */
body.shared .ql-editor {
    border-color: #FF9800;
}

/* Floating Share Button */
.floating-share-container {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.floating-share-container .btn-share {
    max-width: 200px;
    min-width: 120px;
    box-shadow: none;
}

.floating-share-container .btn-share:hover {
    box-shadow: none;
}

.ql-toolbar {
    background: transparent !important;
    border: none !important;
}

/* Hide toolbar in view mode but keep draft status in header */
.view-container .ql-toolbar {
    display: none !important;
}

/* Hide the bottom draft/shared status in view mode, but allow header ones */
.view-container #draftStatus {
    display: none !important;
}

.view-container #sharedStatus {
    display: none !important;
}

.ql-toolbar .ql-stroke {
    stroke: var(--text-primary) !important;
}

.ql-toolbar .ql-fill {
    fill: var(--text-primary) !important;
}

.ql-toolbar .ql-picker-label {
    color: var(--text-primary) !important;
}

.ql-toolbar button:hover {
    background: var(--bg-secondary) !important;
}

/* Fix Quill editor text transition speed - override global rules */
.ql-editor, .ql-editor p, .ql-editor *, .ql-editor div, .ql-editor span, .ql-editor [class*="ql-"] {
    transition: color 1s ease !important;
    transition-delay: 0s !important;
    transition-duration: 1s !important;
}

/* Remove any inherited transitions that might be stacking */
.ql-editor * {
    transition-property: color !important;
    transition-duration: 1s !important;
    transition-timing-function: ease !important;
    transition-delay: 0s !important;
}

/* Draft status styling */
.draft-status-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.draft-status-section .status-text {
    font-weight: 500;
    color: var(--text-primary);
}

.draft-status-section .status-time {
    font-size: 12px;
    color: var(--text-muted);
}

/* Override hardcoded inline text colors to respect theme */
.ql-editor span[style*="color"],
.ql-editor p[style*="color"],
.ql-editor div[style*="color"],
.view-content span[style*="color"],
.view-content p[style*="color"],
.view-content div[style*="color"] {
    color: var(--text-primary) !important;
}

/* Ensure all Quill editor content respects theme colors */
.ql-editor * {
    color: var(--text-primary) !important;
}

/* Ensure view mode content respects theme colors */
.view-content * {
    color: var(--text-primary) !important;
}

.ql-container {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.ql-editor.ql-blank::before {
    color: var(--text-secondary) !important;
}

/* Orange border when shared - ONLY on text area */
.shared .ql-editor {
    border: 3px solid #FF9800 !important;
}

/* Text color rules for dark/light modes */
[data-theme="dark"] body,
[data-theme="dark"] .ql-editor,
[data-theme="dark"] .editor-header h2,
[data-theme="dark"] .title-input,
[data-theme="dark"] .view-header h1,
[data-theme="dark"] .view-content {
    color: #fff !important;
}

[data-theme="light"] body,
[data-theme="light"] .ql-editor,
[data-theme="light"] .editor-header h2,
[data-theme="light"] .title-input,
[data-theme="light"] .view-header h1,
[data-theme="light"] .view-content {
    color: #000 !important;
}

/* Make editor div stretch to fill available space */
#editor {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    border: none;
    outline: none;
    box-shadow: none;
}

.view-header h1 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.view-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 10px;
    border: none;
    outline: none;
    box-shadow: none;
}

.view-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    outline: none;
    box-shadow: none;
}

.view-container {
    padding: 0 8px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .view-container {
        padding: 20px;
    }
}

.view-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .view-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
}

.view-content {
    padding: 0;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    line-height: 1.6;
    min-height: calc(100vh - 240px);
    overflow-y: auto;
}

/* Remove all Quill formatting styles from view mode */
.view-content .ql-editor {
    padding: 0;
    border: none;
    outline: none;
}

/* Hide any Quill UI elements in view mode */
.view-container .ql-toolbar,
.view-container .ql-formats,
.view-container .ql-picker {
    display: none !important;
}

.view-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Remove old editor-container styles - no longer needed */
.ql-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent !important;
    border: none !important;
}

/* ========================================
   I APPRECIATE PAGE STYLES (SEPARATE MODULE)
   ======================================== */

.appreciate-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
}

.appreciate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.appreciate-input-section {
    margin-bottom: 60px;
    margin-top: 50px;
    text-align: center;
}

.appreciate-prompt-wrapper {
    margin-bottom: 30px;
}

.appreciate-text-flow {
    display: block;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

.appreciate-prefix-text {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
    display: inline;
    vertical-align: baseline;
}

.appreciate-text-input {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    resize: none;
    overflow: hidden;
    line-height: 1.2;
    min-height: 58px;
    width: 100%;
    display: block;
    margin-top: -58px; /* Pull up to align with "I appreciate" */
    padding-left: 0;
    text-indent: 280px; /* Push first line to start after "I appreciate" with natural spacing */
}

.appreciate-text-input:focus {
    outline: none;
    border: none;
}

.appreciate-text-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.appreciate-submit-btn {
    font-size: 16px;
    padding: 12px 24px;
    background: #FF9800;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, opacity 0.5s ease, transform 0.5s ease;
    width: auto;
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.appreciate-submit-btn-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.appreciate-submit-btn:hover {
    background: #F57C00;
}

.appreciate-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.appreciate-list-section {
    margin-top: 40px;
}

.appreciate-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.appreciate-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 20px 0;
    transition: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 1;
}

.appreciate-item-new {
    animation: fadeInSlide 0.8s ease-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.appreciate-item-own {
    align-items: flex-end;
}

.appreciate-item:hover {
    transform: none;
    box-shadow: none;
}

.appreciate-item-header {
    margin-bottom: 6px;
}

.appreciate-timestamp {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

.appreciate-item-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
    max-width: 66.666%;
    text-align: left;
}

.appreciate-item-own .appreciate-item-content {
    text-align: right;
}

.appreciate-empty {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    padding: 40px 20px;
}

/* Responsive design for appreciate page */

/* Desktop: 1024px and above - max width container */
@media (min-width: 1025px) {
    .appreciate-container {
        max-width: 1024px;
    }
}

/* Tablet landscape: 768px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .appreciate-container {
        width: 100%;
        padding: 20px 40px;
    }
}

/* Tablet portrait: 481px to 768px */
@media (max-width: 768px) {
    .appreciate-container {
        width: 100%;
        padding: 20px;
    }
    
    .appreciate-input-section {
        margin-top: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 40vh;
    }
    
    .appreciate-text-flow {
        font-size: 32px;
    }
    
    .appreciate-prefix-text {
        font-size: 32px;
    }
    
    .appreciate-text-input {
        font-size: 32px;
        text-indent: 190px;
        margin-top: -38px;
    }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
    .appreciate-container {
        width: 100%;
        padding: 15px;
    }
    
    .appreciate-input-section {
        margin-top: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 40vh;
    }
    
    .appreciate-text-flow {
        font-size: 24px;
    }
    
    .appreciate-prefix-text {
        font-size: 24px;
    }
    
    .appreciate-text-input {
        font-size: 24px;
        text-indent: 143px;
        margin-top: -29px;
    }
}

/* ======================================== */

/* Dashboard page responsive breakpoints */

/* Desktop: 1024px and above - max width container */
@media (min-width: 1025px) {
    .dashboard-container {
        max-width: 1024px;
    }
}

/* Tablet landscape: 768px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .dashboard-container {
        width: 100%;
        padding: 20px 40px;
    }
}

/* Tablet portrait and mobile */
@media (max-width: 768px) {
    .dashboard-container {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .dashboard-container {
        width: 100%;
        padding: 15px;
    }
}

/* Admin page responsive breakpoints */

/* Desktop: 1024px and above - max width container */
@media (min-width: 1025px) {
    .admin-container {
        max-width: 1024px;
    }
}

/* Tablet landscape: 768px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .admin-container {
        width: 100%;
        padding: 20px 40px;
    }
}

/* Tablet portrait: 481px to 768px */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .admin-container {
        width: 100%;
        padding: 20px;
    }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
    .admin-container {
        width: 100%;
        padding: 15px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .table {
        font-size: 14px;
    }
}
