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

:root {
    /* Premium Palette - Light/Dark Mix */
    --primary: #fbbf24; /* Amber 400 */
    --primary-hover: #d97706; /* Amber 600 */

    --sidebar-bg: #0f172a; /* Slate 900 (Dark Sidebar) */
    --sidebar-text: #f1f5f9; /* Slate 100 */
    --sidebar-muted: #94a3b8; /* Slate 400 */

    --bg-body: #f1f5f9; /* Slate 100 (Light Background) */
    --bg-card: #ffffff; /* White Cards */

    --text-main: #1e293b; /* Slate 800 (Dark Text) */
    --text-muted: #64748b; /* Slate 500 */

    --border-color: #e2e8f0; /* Slate 200 */

    --sidebar-width: 280px;
    --header-height: 70px;

    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;

    --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);

    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Utilities --- */
.mt-4 {
    margin-top: 1rem !important;
}
.mt-6 {
    margin-top: 1.5rem !important;
}
.mt-8 {
    margin-top: 2rem !important;
}
.mb-4 {
    margin-bottom: 1rem !important;
}
.mb-6 {
    margin-bottom: 1.5rem !important;
}
.flex {
    display: flex !important;
}
.items-center {
    align-items: center !important;
}
.justify-center {
    justify-content: center !important;
}
.text-center {
    text-align: center !important;
}
.w-full {
    width: 100% !important;
}

* {
    box-sizing: border-box;
    outline: none;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
    font-size: 0.95rem;
}

/* --- Layout --- */
.app-container {
    display: flex;
    flex-direction: column; /* Stack header and content on mobile */
    min-height: 100vh;
    position: relative;
}

@media (min-width: 1024px) {
    .app-container {
        flex-direction: row; /* Sidebar side-by-side on desktop */
    }
}

/* Sidebar - Deep Dark & Glassy */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: var(--shadow-xl);
}

.sidebar.show {
    transform: translateX(0);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
    display: none;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.show {
    display: block;
}

/* Desktop Sidebar */
@media (min-width: 1024px) {
    .sidebar {
        position: sticky;
        transform: none;
    }
    .sidebar-overlay {
        display: none !important;
    }
}

/* Mobile Header - White */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.mobile-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-branding .sidebar-logo {
    width: 32px;
    height: 32px;
}

.mobile-branding .sidebar-title {
    color: var(--sidebar-bg);
    font-size: 1.1rem;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .mobile-header {
        display: none;
    }
}

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

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--sidebar-muted);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    background: var(--primary);
    color: #0f172a; /* Dark text on gold */
    box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.2);
}

.nav-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    opacity: 0.8;
}

.nav-item.active .nav-icon {
    opacity: 1;
}

/* Form & Layout Utilities */
.form-error {
    color: #ef4444;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.25rem;
}

.section-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
}

.card-form {
    padding: 2rem;
}

.grid-gap-md {
    display: grid;
    gap: 1.25rem;
}

.grid-gap-lg {
    display: grid;
    gap: 1.5rem;
}

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.logout-btn {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.logout-btn:hover {
    background: #ef4444;
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    width: 100%;
}

.main-content.guest-layout,
.main-content.no-padding {
    padding: 0 !important;
}

@media (min-width: 1024px) {
    .main-content {
        padding: 2.5rem 3rem;
    }
}

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

@media (max-width: 640px) {
    .page-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .page-header h1 {
        font-size: 1.4rem;
        flex: 1;
    }
    .hide-mobile {
        display: none !important;
    }
    .page-header .btn-primary {
        width: auto;
        padding: 0.75rem;
    }
    .page-header .btn-primary svg {
        margin-right: 0 !important;
    }
}

h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
}

/* Cards & Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        align-items: stretch;
    }
}

@media (min-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        align-items: stretch;
    }
}

/* Notifications Specific Grid */
.notifications-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .notifications-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* FCM Status Banner */
.fcm-status-banner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem !important;
}

@media (min-width: 768px) {
    .fcm-status-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Mobile Mockup Preview */
.mobile-mockup-container {
    background: #e2e8f0;
    border-radius: 20px;
    padding: 1rem 0.6rem;
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    min-height: 320px;
    border: 4px solid #1e293b;
    transition: var(--transition);
}

@media (min-width: 1024px) {
    .mobile-mockup-container {
        padding: 1.5rem 0.75rem;
        min-height: 400px;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #0f172a;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-item:not(.active):not(.disabled) .page-link:hover {
    background: #f8fafc;
    border-color: var(--primary);
}

/* Media Manager Enhancements */
.media-item {
    transition: var(--transition);
}

.media-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.media-actions {
    backdrop-filter: blur(4px);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .action-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

/* Stats Cards */
.stat-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

@media (min-width: 640px) {
    .stat-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    .stat-label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    .stat-value {
        font-size: 2rem;
    }
}

/* General Card */
.card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    display: flex;
    flex-direction: column;
}

.dashboard-grid .card,
.dashboard-grid form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.verification-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.verification-badge.verified {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.verification-badge.pending {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.badge-astro {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.role-checkbox {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media (min-width: 768px) {
    .card {
        padding: 2rem;
    }
}

/* Inputs & Forms */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition);
}

.form-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

/* Select Input SVG Fix (Dark Icon for Light/Mixed Theme) */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.875rem;
    white-space: nowrap;
    text-decoration: none;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #0f172a;
    box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-danger {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3);
}

.btn-warning {
    background: #f59e0b;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.2);
}

.btn-warning:hover {
    background: #d97706;
}

.btn-outline-danger {
    background: transparent;
    border-color: #f87171;
    color: #ef4444;
}

.btn-outline-danger:hover {
    background: #fee2e2;
    border-color: #ef4444;
}

.btn-outline-warning {
    background: transparent;
    border-color: #fbbf24;
    color: #d97706;
}

.btn-outline-warning:hover {
    background: #fffbeb;
    border-color: #f59e0b;
}

.btn-light {
    background: #fff;
    color: var(--text-main);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.filter-bar > * {
    flex: 1 1 100%;
}
@media (max-width: 640px) {
    .filter-bar {
        flex-direction: column;
        gap: 0.75rem;
    }
    .filter-bar > .search-input {
        width: 100%;
    }
    .filter-bar-row {
        display: flex;
        width: 100%;
        gap: 0.75rem;
    }
    .filter-bar-row > .role-select {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .filter-bar {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: nowrap;
    }
    .filter-bar > .search-input {
        flex: 1;
    }
    .filter-bar-row {
        display: flex;
        flex: 0 0 auto;
        gap: 0.75rem;
        align-items: center;
        width: 320px;
    }
    .filter-bar-row > .role-select {
        flex: 1;
    }
}

.refresh-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: #0f172a;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.refresh-btn:hover {
    background: var(--primary-hover);
    color: #fff;
}

/* Explicitly fix the giant refresh button on mobile too */
.refresh-btn {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0;
    min-width: 600px;
}

.data-table thead th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    background: #f8fafc;
}

.data-table thead th.sortable {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.data-table thead th.sortable:hover {
    color: var(--primary-hover);
    background: #f1f5f9;
}

.sort-icon {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.7rem;
    opacity: 0.3;
}

.sortable.active .sort-icon {
    opacity: 1;
    color: var(--primary);
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

.user-row {
    transition: var(--transition);
}

.user-row:hover {
    background: #f1f5f9 !important;
    box-shadow: inset 4px 0 0 var(--primary);
}

.data-table td {
    padding: 1rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    vertical-align: middle;
}

/* Table Overflow Fix for Mobile */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0;
    min-width: 800px; /* Ensure content doesn't squeeze too much */
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-admin {
    background: #fffbeb;
    color: #d97706; /* Amber 600 */
    border: 1px solid #fcd34d;
}

.badge-user {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

/* --- Form Polishing --- */
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.form-control:disabled {
    background-color: #f8fafc !important;
    border-color: var(--border-color) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed;
    opacity: 0.8;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-main);
}

.checkbox-label input[type='checkbox'] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--border-color);
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label span {
    display: inline-flex;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: normal;
}

/* Pagination */
.pagination-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pagination-container button,
.pagination-btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.pagination-container button:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.pagination-container button.active {
    background: var(--primary);
    color: #0f172a;
    border-color: var(--primary);
    font-weight: 600;
}

.pagination-container button:disabled {
    opacity: 0.5;
    background: #f8fafc;
    cursor: not-allowed;
}

/* Login Page Override */
.login-page {
    background: radial-gradient(circle at top left, #1e293b, #0f172a);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.login-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.login-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
}

.brand-section {
    margin-bottom: 2.5rem;
}

.brand-logo-login {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.3));
}

.brand-title-login {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

.brand-subtitle-login {
    color: var(--sidebar-muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.login-form .form-label {
    display: block;
    color: var(--sidebar-text);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.login-form .form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.login-form .form-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15);
}

.login-btn {
    width: 100%;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.3);
}

.login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(251, 191, 36, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.auth-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-align: left;
}
