:root, [data-theme="whitemitt"] {
    --bg-color: #0d1117;
    --surface-color: #161b22;
    --surface-hover: #21262d;
    --border-color: #30363d;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --accent-color: #f78166;
    --accent-hover: #e65c3d;
    --success-color: #2ea043;
    --danger-color: #da3633;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.2);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.3);
    
    --glass-bg: rgba(22, 27, 34, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] {
    --bg-color: #f8f9fa;
    --surface-color: #ffffff;
    --surface-hover: #f1f3f5;
    --border-color: #dee2e6;
    --text-primary: #212529;
    --text-secondary: #495057;
    --accent-color: #f78166; /* Keep Whitemitt orange signature */
    --accent-hover: #e65c3d;
    --success-color: #2fb344;
    --danger-color: #d63939;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.1);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
}

[data-theme="midnight"] {
    --bg-color: #000000;
    --surface-color: #111111;
    --surface-hover: #1a1a1a;
    --border-color: #222222;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #f78166;
    --accent-hover: #e65c3d;
    --success-color: #00d26a;
    --danger-color: #f8312f;
    
    --shadow-sm: none;
    --shadow-md: 0 4px 20px rgba(0,0,0,1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,1);
    
    --glass-bg: rgba(0, 0, 0, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
}

[data-theme="emerald"] {
    --bg-color: #06100a;
    --surface-color: #0c1a12;
    --surface-hover: #14281c;
    --border-color: #1a3325;
    --text-primary: #ecf3f0;
    --text-secondary: #8da699;
    --accent-color: #10b981;
    --accent-hover: #059669;
    --success-color: #34d399;
    --danger-color: #f87171;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.2);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.4);
    
    --glass-bg: rgba(12, 26, 18, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
}

[data-theme="cream"] {
    --bg-color: #fdfaf3;
    --surface-color: #ffffff;
    --surface-hover: #f7f1e3;
    --border-color: #e9e0cf;
    --text-primary: #4a3f35;
    --text-secondary: #8c7b6c;
    --accent-color: #d97706;
    --accent-hover: #b45309;
    --success-color: #16a34a;
    --danger-color: #dc2626;
    
    --shadow-sm: 0 4px 6px rgba(139, 92, 24, 0.05);
    --shadow-md: 0 10px 15px rgba(139, 92, 24, 0.08);
    --shadow-lg: 0 20px 25px rgba(139, 92, 24, 0.12);
    
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(217, 119, 6, 0.1);
}

[data-theme="azure"] {
    --bg-color: #f0f7ff;
    --surface-color: #ffffff;
    --surface-hover: #e0efff;
    --border-color: #cce3ff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-color: #0ea5e9;
    --accent-hover: #0284c7;
    --success-color: #10b981;
    --danger-color: #ef4444;
    
    --shadow-sm: 0 4px 6px rgba(14, 165, 233, 0.05);
    --shadow-md: 0 10px 15px rgba(14, 165, 233, 0.08);
    --shadow-lg: 0 20px 25px rgba(14, 165, 233, 0.12);
    
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(14, 165, 233, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--surface-color);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: fixed;
    height: 100vh;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-color);
}

.brand i {
    font-size: 2rem;
}

.brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-item i {
    font-size: 1.25rem;
}

.nav-item:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(247, 129, 102, 0.1);
    color: var(--accent-color);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2.5rem 3rem;
    max-width: 1400px;
}

.view {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dashboard View Header */
.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    position: sticky;
    top: 0;
    background: var(--bg-color);
    z-index: 5;
    padding: 1rem 0;
    margin-top: -1rem;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.2s;
}

.view-header h2 {
    font-size: 2rem;
    font-weight: 600;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.6rem 1.25rem;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    width: 100%;
    transition: all 0.2s ease;
}

.search-bar:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(247, 129, 102, 0.2);
}

.search-bar i {
    color: var(--text-secondary);
    font-size: 1.25rem;
}

.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
}

/* Recipe Grid */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.recipe-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.card-img {
    height: 180px;
    background-color: var(--surface-hover);
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(transparent, var(--surface-color));
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-top: -0.5rem;
}

.tag-pill {
    background: rgba(247, 129, 102, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(247, 129, 102, 0.2);
}

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(247, 129, 102, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(247, 129, 102, 0.4);
}

.btn-secondary {
    background: var(--surface-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* Modal Enhancements */
.modal-image-header {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-hover);
    border-bottom: 1px solid var(--border-color);
    display: none; /* Only show when image is present */
}

.modal-image-header.active {
    display: block;
}

.image-chooser {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    overflow: hidden;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chooser-header {
    padding: 0.75rem 1rem;
    background: var(--surface-hover);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.close-small {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    max-height: 250px;
    overflow-y: auto;
}

.chooser-img {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.chooser-img:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.chooser-img.selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(247, 129, 102, 0.2);
}

/* Modal styling */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 975px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-content {
    padding: 2rem;
    overflow-y: auto;
}

/* Form Elements */
.input-group {
    margin-bottom: 1.5rem;
}

.row {
    display: flex;
    gap: 1rem;
}
.row .input-group {
    flex: 1;
}

.row-group {
    display: flex;
    gap: 0.5rem;
}
.row-group input {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

input[type="text"],
input[type="url"],
textarea,
select.filter-select,
select.form-select {
    width: 100%;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

select option {
    background: var(--surface-color);
    color: var(--text-primary);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(247, 129, 102, 0.2);
}

.import-section {
    background: rgba(247, 129, 102, 0.05);
    border: 1px solid rgba(247, 129, 102, 0.2);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.divider {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    border-top: 1px solid var(--border-color);
    z-index: -1;
}

.divider span {
    background: var(--surface-color);
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Cooking View */
.back-btn {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.back-btn i {
    font-size: 1.5rem;
}

.back-btn:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(247, 129, 102, 0.4);
}

.recipe-hero {
    height: 350px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 3rem;
    overflow: hidden;
}

.recipe-hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 3rem 2.5rem;
    background: linear-gradient(transparent, rgba(13, 17, 23, 0.95) 80%);
    color: #ffffff; /* Force light text even in light theme */
}

.recipe-title-lg {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    color: #ffffff; /* Always white for contrast */
}

.recipe-meta-lg {
    display: flex;
    gap: 1.5rem;
    font-size: 1rem;
    color: #ffd;
    font-weight: 500;
}

.recipe-meta-lg i {
    color: var(--accent-color);
    margin-right: 0.3rem;
}

.recipe-content-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
}

.ingredients-panel {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.panel-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.panel-title i {
    color: var(--accent-color);
}

.ingredient-list {
    list-style: none;
}

.ingredient-list li {
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--border-color);
    color: var(--text-primary);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}
.ingredient-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-right: 12px;
}

.instructions-panel {
    padding-bottom: 5rem;
}

.instruction-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    padding-left: 3.5rem;
    position: relative;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-primary);
    cursor: pointer;
    background: var(--surface-light);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.instruction-step:hover {
    background: var(--surface-hover);
    border-color: var(--border-color);
}

.instruction-step.checked {
    opacity: 0.45;
    color: var(--text-secondary);
    filter: grayscale(1);
}

.instruction-step.checked .step-number {
    text-decoration: line-through;
}

.instruction-step .step-number {
    position: absolute;
    left: 1.25rem;
    top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.instruction-step.checked .step-number {
    color: var(--text-secondary);
    opacity: 0.3;
}

.btn-reset-progress {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-reset-progress:hover {
    background: var(--surface-hover);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.loader {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.loader::before {
    content: '';
    width: 16px; height: 16px;
    border: 2px solid var(--accent-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.hidden { display: none !important; }

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--surface-color);
    border-left: 4px solid var(--success-color);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

/* Action Header in Cooking view for Delete */
.recipe-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn-danger {
    background: rgba(218, 54, 51, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(218, 54, 51, 0.3);
}

.btn-danger:hover {
    background: var(--danger-color);
    color: #fff;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Auth View Styles */
#auth-view {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/login-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10%;
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .auth-container {
        justify-content: center;
        padding-right: 0;
    }
}

.auth-card {
    background: rgba(22, 27, 34, 0.7) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8);
}

.auth-card .brand h1 {
    background: linear-gradient(135deg, var(--accent-color), #ffb088);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-card input {
    background: rgba(13, 17, 23, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.auth-card input:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(247, 129, 102, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* User Nav Styles */
#user-nav .user-info {
    background: var(--surface-hover);
    border-radius: var(--radius-sm);
    margin: 0 0.5rem;
}

#nav-logout:hover {
    background: rgba(218, 54, 51, 0.1) !important;
}

/* Responsive Auth */
@media (max-width: 480px) {
    .auth-card {
        padding: 2rem !important;
    }
}
