/* 
 * LDS Sacrament Meeting Speaker Tracker - Premium Style Sheet
 * Dark glassmorphism, responsive dashboard layout, and dynamic transitions.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-base: #090d16;
    --bg-surface: rgba(17, 24, 39, 0.7);
    --bg-surface-hover: rgba(31, 41, 55, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(99, 102, 241, 0.4);
    --UpcomingMeeting: rgba(99, 102, 241, 0.2);
    
    --primary: #0d9488;         /* Teal */
    --primary-light: #14b8a6;
    --primary-glow: rgba(13, 148, 136, 0.15);
    
    --secondary: #4f46e5;       /* Indigo */
    --secondary-light: #6366f1;
    --secondary-glow: rgba(79, 70, 229, 0.15);
    
    --accent: #d97706;          /* Amber */
    --accent-light: #f59e0b;
    --accent-glow: rgba(252, 111, 10, 0.15);
    
    --danger: #e11d48;          /* Rose */
    --danger-light: #f43f5e;
    
    --success: #10b981;         /* Emerald */
    --success-light: #34d399;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Layout Constants */
    --sidebar-width: 280px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glow-primary: 0 0 20px rgba(20, 184, 166, 0.2);
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    line-height: 1.5;
    background-image: 
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(13, 148, 136, 0.12) 0px, transparent 50%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
h3 {
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

/* Layout Framework */
.app-container {
    display: flex;
    width: 100vw;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    transition: var(--transition-normal);
}

.sidebar-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-primary);
    color: white;
    font-size: 1.25rem;
}

.sidebar-header .logo-icon {
    width: 40px;
    height: 40px;
}

.sidebar-header h1 {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-nav {
    flex: 1;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.nav-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    color: var(--text-primary);
    background: var(--bg-surface-hover);
    border-color: var(--border-color);
}

.nav-item.active {
    color: white;
    background: linear-gradient(135deg, var(--secondary), rgba(79, 70, 229, 0.4));
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Main Content Styling */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1400px;
    width: calc(100% - var(--sidebar-width));
}

/* Page Headers */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.page-header-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.page-header-title p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Glassmorphism Panels / Cards */
.panel {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

/* Stats Widgets */
.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.primary {
    background: linear-gradient(135deg, var(--primary), #0f766e);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.stat-icon.secondary {
    background: linear-gradient(135deg, var(--secondary), #3730a3);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.stat-icon.accent {
    background: linear-gradient(135deg, var(--accent), #b45309);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.row {
    flex-direction: row;
    gap: 16px;
}

.form-group.row > * {
    flex: 1;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

input[type="text"],
input[type="date"],
input[type="password"],
input[type="email"],
input,
select,
textarea {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--secondary-light);
    box-shadow: 0 0 0 3px var(--border-focus);
    background: rgba(15, 23, 42, 0.9);
}

textarea {
    resize: vertical;
    min-height: 30px;
}

select option {
    background-color: #1e293b;
    color: #f8fafc;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 12px var(--secondary-glow);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.btn2-secondary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn2-secondary:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.btn3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 7px;
    margin: 4px 7px;
    font-size: 0.75rem;
    font-weight: 400;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    font-family: inherit;
}

.btn3-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn3-secondary:hover {
    background: var(--bg-surface-hover);
    color: white;
    border-color: var(--text-muted);
}

.btn-danger {
    background: rgba(225, 29, 72, 0.2);
    color: var(--danger-light);
    border: 1px solid rgba(225, 29, 72, 0.3);
}

.btn-danger:hover {
    background: var(--danger);
    color: white;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    background: var(--bg-surface-hover);
    color: white;
    border-color: var(--text-muted);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-icon-only {
    padding: 8px;
    border-radius: var(--radius-sm);
    aspect-ratio: 1;
}

.btn-group {
    display: flex;
    gap: 8px;
}

/* Tables */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

th {
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    background: rgba(17, 24, 39, 0.4);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(31, 41, 55, 0.5);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid transparent;
}

.badge-adult {
    background: rgba(79, 70, 229, 0.15);
    color: var(--secondary-light);
    border-color: rgba(99, 102, 241, 0.2);
}

.badge-youth {
    background: rgba(13, 148, 136, 0.15);
    color: var(--primary-light);
    border-color: rgba(20, 184, 166, 0.2);
}

.badge-primary-group {
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent-light);
    border-color: rgba(217, 119, 6, 0.2);
}

.badge-active {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success-light);
    border-color: rgba(16, 185, 129, 0.2);
}

.badge-do-not-ask {
    background: rgba(225, 29, 72, 0.12);
    color: var(--danger-light);
    border-color: rgba(225, 29, 72, 0.2);
}

/* Alerts and Notifications */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--success-light);
}

.alert-danger {
    background: rgba(225, 29, 72, 0.1);
    border-color: rgba(225, 29, 72, 0.25);
    color: var(--danger-light);
}

.alert-info {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
    color: var(--secondary-light);
}

/* Tabs Panel details */
.tab-section {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-section.active {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

/* Modal and Overlays */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 950px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 22px;
    position: relative;
    box-shadow: var(--shadow-xl);
    box-sizing: border-box;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}
.modal-content::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: var(--border-color, #334155);
    border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted, #64748b);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: white;
}

.modal-title {
    margin-bottom: 24px;
    font-size: 1.5rem;
}

/* Specific UI Utilities */
.search-bar-container {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.search-input {
    flex: 1;
}

.no-data {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
    font-style: italic;
}

/* Interactive Suggester styles */
.suggest-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
    background: rgba(15, 23, 42, 0.4);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.suggest-filters select {
    width: auto;
    min-width: 150px;
}

.card-theme {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(13, 148, 136, 0.15));
    border-color: rgba(99, 102, 241, 0.25);
}

.meeting-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.meeting-date {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.meeting-theme {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 4px;
}

.meeting-speakers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.speaker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.4);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.speaker-item:hover {
    border-color: var(--border-focus);
    background: rgba(15, 23, 42, 0.6);
}

.speaker-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.speaker-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.speaker-name {
    font-weight: 600;
    color: white;
}

.speaker-topic {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.talk-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.talk-badge.youth-talk {
    background: rgba(20, 184, 166, 0.2);
    color: var(--primary-light);
}

.talk-badge.sacrament-talk {
    background: rgba(99, 102, 241, 0.2);
    color: var(--secondary-light);
}

.talk-badge.intermediate-talk {
    background: rgba(217, 119, 6, 0.2);
    color: var(--accent-light);
}

.talk-badge.opening-prayer {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-light);
}

.talk-badge.closing-prayer {
    background: rgba(244, 63, 94, 0.18);
    color: var(--danger-light);
}

/* Custom file-import layout */
.import-flex-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.import-box {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    background: rgba(15, 23, 42, 0.2);
    transition: var(--transition-fast);
}

.import-box:hover {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.4);
}

.import-status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
    }
    .sidebar-header h1, .sidebar-footer, .nav-item span {
        display: none;
    }
    .sidebar-header {
        justify-content: center;
        padding: 16px;
    }
    .sidebar-nav {
        padding: 16px 8px;
    }
    .nav-item {
        justify-content: center;
        padding: 12px;
    }
    .main-content {
        margin-left: 80px;
        width: calc(100% - 80px);
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .sidebar-header {
        padding: 16px 24px;
    }
    .sidebar-header h1 {
        display: block;
    }
    .sidebar-nav {
        flex-direction: row;
        padding: 8px 16px;
        overflow-x: auto;
        gap: 8px;
    }
    .nav-item span {
        display: inline;
        font-size: 0.85rem;
    }
    .sidebar-footer {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        gap: 12px;
    }
    .sidebar-footer .sidebar-user {
        margin-bottom: 0;
        flex: 1;
        min-width: 0;
    }
    .sidebar-footer .logout-link {
        width: auto;
        flex-shrink: 0;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 16px;
    }
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .form-group.row {
        flex-direction: column;
        gap: 0;
    }
}

/* Auth pages (login / register / logout landing) */
.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 20px;
    overflow-x: hidden;
}

.auth-shell {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: authRise 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.auth-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.auth-logo {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.auth-brand h1 {
    font-size: 1.85rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.55;
}

.auth-panel {
    padding: 32px;
}

.auth-panel-header {
    margin-bottom: 24px;
}

.auth-panel-header h2 {
    font-size: 1.45rem;
    margin-bottom: 6px;
}

.auth-panel-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.input-with-icon input {
    padding-left: 42px;
}

.auth-submit {
    width: 100%;
    padding: 13px 20px;
    margin-top: 8px;
    font-size: 1rem;
}

.auth-footer-links {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.auth-footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.auth-footer-links a:hover {
    color: white;
}

.sidebar-footer .logout-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition-fast);
    width: 100%;
}

.sidebar-footer .logout-link:hover {
    color: var(--danger-light);
    background: rgba(225, 29, 72, 0.12);
    border-color: rgba(225, 29, 72, 0.25);
}

.sidebar-user {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.sidebar-user strong {
    color: var(--text-secondary);
    font-weight: 600;
}
