/* ===================================
   Scribe & Scroll Storytellers
   Sacred Knowledge Library Platform
   Brand Colors: Gold (#D4AF37) Navy (#1B365D)
   =================================== */

/* Root Variables */
:root {
    --gold: #D4AF37;
    --gold-light: #E8C968;
    --gold-dark: #B8962D;
    --navy: #1B365D;
    --navy-light: #2A4A7C;
    --navy-dark: #0F2340;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --info: #17A2B8;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-accent: 'Playfair Display', serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-dark);
}

/* Utility Classes */
.gold-text { color: var(--gold); }
.navy-text { color: var(--navy); }

/* ===================================
   LOADING SCREEN
   =================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-content i {
    animation: pulse 2s ease-in-out infinite;
}

.loading-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-top: 1rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* ===================================
   AUTHENTICATION SCREEN
   =================================== */
.auth-screen {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.brand-title {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.brand-subtitle {
    font-family: var(--font-accent);
    color: var(--gold);
    font-size: 1rem;
    font-style: italic;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: var(--gold);
    margin-right: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray-600);
}

.auth-switch a {
    color: var(--gold);
    font-weight: 600;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--navy);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--gray-200);
}

.btn-new-writing {
    width: 100%;
    margin-bottom: 1.5rem;
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.navbar {
    background: var(--white);
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    background: transparent;
    border: none;
    color: var(--navy);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    font-weight: 600;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu {
    position: relative;
}

.user-avatar {
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.user-avatar:hover {
    color: var(--gold-dark);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.user-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.user-email {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    transition: var(--transition);
}

.user-dropdown a:hover {
    background: var(--gray-100);
    color: var(--navy);
}

.user-dropdown a i {
    color: var(--gold);
    width: 20px;
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
}

/* ===================================
   APP LAYOUT
   =================================== */
.app-container {
    display: flex;
    min-height: calc(100vh - 73px);
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--white);
    border-right: 2px solid var(--gray-200);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    transition: var(--transition);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
}

.sidebar-nav {
    margin-bottom: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.nav-item:hover {
    background: var(--gray-100);
    color: var(--navy);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    font-weight: 600;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-heading {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.categories-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: var(--gray-700);
    border-radius: 4px;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.categories-list a:hover {
    background: var(--gray-100);
    color: var(--navy);
}

.categories-list i {
    color: var(--gold);
    font-size: 0.9rem;
    width: 20px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gray-200);
    color: var(--gray-700);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
}

.tag:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.content-view {
    display: none;
}

.content-view.active {
    display: block;
}

.view-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.view-title {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.view-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.view-actions {
    display: flex;
    gap: 0.75rem;
}

/* ===================================
   DASHBOARD
   =================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--gold);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.dashboard-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.section-title i {
    color: var(--gold);
}

/* Quick Start Grid */
.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.quick-start-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.quick-start-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quick-start-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.quick-start-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.quick-start-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===================================
   WRITINGS GRID
   =================================== */
.writings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.writing-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.writing-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.writing-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
}

.writing-card-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.writing-card-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: var(--font-accent);
}

.writing-card-date {
    font-size: 0.9rem;
    color: var(--gold-light);
}

.writing-card-body {
    padding: 1.5rem;
}

.writing-card-excerpt {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.writing-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.writing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.writing-tag {
    padding: 0.25rem 0.5rem;
    background: var(--gray-200);
    color: var(--gray-700);
    border-radius: 12px;
    font-size: 0.8rem;
}

.writing-actions {
    display: flex;
    gap: 0.5rem;
}

.writing-actions button {
    background: transparent;
    border: none;
    color: var(--gray-500);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.writing-actions button:hover {
    color: var(--gold);
}

.writing-actions .favorite.active {
    color: var(--gold);
}

/* ===================================
   EDITOR
   =================================== */
.editor-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.editor-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.editor-main {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.title-input,
.select-input,
.tags-input,
.scripture-input,
.date-input,
.excerpt-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.title-input {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 600;
}

.title-input:focus,
.select-input:focus,
.tags-input:focus,
.scripture-input:focus,
.date-input:focus,
.excerpt-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.tags-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quill-editor {
    height: 500px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
}

.quill-editor:focus-within {
    border-color: var(--gold);
}

/* ===================================
   LIBRARY FILTERS
   =================================== */
.library-filters,
.community-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--gold);
}

.filter-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 600;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    flex: 0 1 300px;
}

.search-box i {
    color: var(--gold);
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-family: var(--font-body);
    font-size: 1rem;
}

/* ===================================
   MODAL
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    padding: 2rem;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-large {
    max-width: 900px;
}

.modal-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    color: var(--white);
    font-size: 1.75rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--gold);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Reader Styles */
.reader-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
}

.meta-item i {
    color: var(--gold);
}

.reader-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.reader-excerpt {
    padding: 1rem;
    background: var(--gray-100);
    border-left: 4px solid var(--gold);
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.reader-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-800);
}

.reader-content h1,
.reader-content h2,
.reader-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.reader-content p {
    margin-bottom: 1rem;
}

.reader-content ul,
.reader-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.reader-content blockquote {
    padding: 1rem;
    border-left: 4px solid var(--gold);
    background: var(--gray-100);
    font-style: italic;
    margin: 1rem 0;
}

/* ===================================
   TOAST NOTIFICATIONS
   =================================== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.info {
    border-left: 4px solid var(--info);
}

.toast i {
    font-size: 1.5rem;
}

.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }
.toast.info i { color: var(--info); }

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .editor-container {
        grid-template-columns: 1fr;
    }
    
    .editor-sidebar {
        order: 2;
    }
    
    .editor-main {
        order: 1;
    }
}

@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: -300px;
        top: 73px;
        height: calc(100vh - 73px);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .writings-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .auth-container {
        padding: 2rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-title {
        display: none;
    }
    
    .view-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-start-grid {
        grid-template-columns: 1fr;
    }
    
    .writings-grid {
        grid-template-columns: 1fr;
    }
    
    .library-filters,
    .community-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        flex: 1;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 16px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .main-content {
        padding: 1rem;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .toast {
        min-width: auto;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-600);
}

.empty-state i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}