:root {
    --bronze: #B87333;
    --bronze-light: #D4954E;
    --bronze-dark: #8F5A24;
    --charcoal: #1F1F1F;
    --black: #0D0D0D;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-500: #6B7280;
    --success: #027A48;
    --success-bg: #ECFDF3;
    --info: #175CD3;
    --info-bg: #EFF8FF;
    --warning: #B54708;
    --warning-bg: #FFFAEB;
    --danger: #B42318;
    --danger-bg: #FEF3F2;
    --purple: #6941C6;
    --purple-bg: #F9F5FF;
    --shadow-sm: 0 4px 14px rgba(13, 13, 13, 0.06);
    --shadow-md: 0 12px 32px rgba(13, 13, 13, 0.1);
    --shadow-lg: 0 24px 48px rgba(13, 13, 13, 0.14);
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --sidebar-width: 280px;
}

* { box-sizing: border-box; }

body.admin-body, body.auth-body {
    margin: 0;
    font-family: 'Manrope', 'Inter', sans-serif;
    background: var(--gray-100);
    color: var(--charcoal);
    line-height: 1.6;
}

body.admin-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(184, 115, 51, 0.04), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(184, 115, 51, 0.03), transparent 28%);
    pointer-events: none;
    z-index: 0;
}

a { color: inherit; text-decoration: none; }

.admin-wrapper {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Sidebar */
.admin-sidebar {
    background: linear-gradient(180deg, #0D0D0D 0%, #141414 50%, #1A1510 100%);
    color: #D1D5DB;
    padding: 1.25rem 0.85rem;
    border-right: 1px solid rgba(184, 115, 51, 0.15);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 200;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

.admin-sidebar::-webkit-scrollbar { width: 5px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(184, 115, 51, 0.35); border-radius: 999px; }

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    padding: 0.5rem 0.65rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand img {
    height: 44px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sidebar-brand div { display: flex; flex-direction: column; gap: 0.1rem; }
.sidebar-brand strong { color: var(--white); font-size: 0.95rem; font-weight: 700; }
.sidebar-brand span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bronze-light);
    font-weight: 600;
}

.sidebar-nav { display: grid; gap: 0.25rem; }

.nav-section-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    padding: 1rem 0.75rem 0.4rem;
    margin-top: 0.25rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 0.85rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.sidebar-nav a i {
    font-size: 1.05rem;
    width: 1.25rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--transition);
}

.sidebar-nav a:hover {
    background: rgba(184, 115, 51, 0.12);
    color: var(--white);
    border-color: rgba(184, 115, 51, 0.2);
    transform: translateX(3px);
}

.sidebar-nav a:hover i { color: var(--bronze-light); }

.sidebar-nav a.active {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.25), rgba(184, 115, 51, 0.12));
    color: var(--white);
    border-color: rgba(184, 115, 51, 0.35);
    box-shadow: 0 4px 16px rgba(184, 115, 51, 0.15);
}

.sidebar-nav a.active i { color: var(--bronze-light); }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    transition: opacity var(--transition);
}

.sidebar-overlay.open {
    display: block;
    opacity: 1;
}

/* Main area */
.admin-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.sidebar-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--charcoal);
    transition: all var(--transition);
}

.sidebar-toggle:hover {
    border-color: var(--bronze);
    color: var(--bronze);
    box-shadow: var(--shadow-sm);
}

.admin-topbar h1 { margin: 0; font-size: 1.35rem; font-weight: 800; }
.topbar-subtitle { margin: 0.2rem 0 0; color: var(--gray-500); font-size: 0.88rem; }

.topbar-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.85rem 0.45rem 0.5rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bronze), var(--bronze-dark));
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.82rem;
    box-shadow: 0 4px 10px rgba(184, 115, 51, 0.3);
}

.user-chip strong { display: block; font-size: 0.85rem; line-height: 1.2; }
.user-chip span { display: block; font-size: 0.72rem; color: var(--gray-500); }

.admin-content { padding: 1.5rem; flex: 1; }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.75rem;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--stat-accent, var(--bronze));
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    background: var(--stat-bg, rgba(184, 115, 51, 0.1));
    color: var(--stat-accent, var(--bronze));
}

.stat-card .stat-info span {
    display: block;
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 500;
}

.stat-card .stat-info strong {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--charcoal);
}

.stat-card.stat-bronze { --stat-accent: var(--bronze); --stat-bg: rgba(184, 115, 51, 0.12); }
.stat-card.stat-blue { --stat-accent: var(--info); --stat-bg: var(--info-bg); }
.stat-card.stat-green { --stat-accent: var(--success); --stat-bg: var(--success-bg); }
.stat-card.stat-orange { --stat-accent: var(--warning); --stat-bg: var(--warning-bg); }
.stat-card.stat-purple { --stat-accent: var(--purple); --stat-bg: var(--purple-bg); }
.stat-card.stat-red { --stat-accent: var(--danger); --stat-bg: var(--danger-bg); }

/* Panels */
.panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.panel:hover { box-shadow: var(--shadow-md); }

.panel-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(180deg, var(--white), var(--gray-50));
}

.panel-header h2, .panel h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-header h2 i { color: var(--bronze); }

.panel-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.nav-count-badge {
    margin-left: auto;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.responded-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--success);
    font-weight: 700;
    font-size: 0.9rem;
}

.data-table tr.row-pending {
    background: rgba(245, 158, 11, 0.08);
}

.pending-leads-panel {
    margin-bottom: 1.25rem;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-badge.status-reviewing, .status-badge.status-read, .status-badge.status-contacted, .status-badge.status-replied {
    background: var(--info-bg);
    color: var(--info);
}

.panel-body, .panel form, .detail-grid { padding: 1.25rem; }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
}

/* Tables */
.data-table { width: 100%; border-collapse: collapse; }

.data-table th, .data-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    font-size: 0.9rem;
}

.data-table th {
    background: var(--gray-50);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    font-weight: 700;
}

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

.data-table tbody tr:hover { background: rgba(184, 115, 51, 0.04); }

.data-table a {
    color: var(--bronze);
    font-weight: 600;
}

.data-table a:hover { color: var(--bronze-dark); text-decoration: underline; }

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
    background: var(--gray-100);
    color: var(--gray-500);
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-badge.status-new, .status-badge.status-pending {
    background: var(--warning-bg);
    color: var(--warning);
}

.status-badge.status-reviewed, .status-badge.status-in_progress {
    background: var(--info-bg);
    color: var(--info);
}

.status-badge.status-completed, .status-badge.status-resolved, .status-badge.status-published {
    background: var(--success-bg);
    color: var(--success);
}

.status-badge.status-closed, .status-badge.status-rejected {
    background: var(--danger-bg);
    color: var(--danger);
}

/* Activity list */
.activity-list { list-style: none; margin: 0; padding: 0.5rem 1.25rem 1.25rem; }

.activity-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.activity-list li:last-child { border-bottom: 0; }

.activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bronze);
    margin-top: 0.45rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.15);
}

.activity-list strong { display: block; font-size: 0.9rem; }
.activity-list span { display: block; color: var(--gray-500); font-size: 0.82rem; margin-top: 0.15rem; }

/* Forms */
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.detail-grid .full { grid-column: 1 / -1; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem;
}

.form-grid .full { grid-column: 1 / -1; }

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
}

input, select, textarea {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    font: inherit;
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--bronze);
    box-shadow: 0 0 0 4px rgba(184, 115, 51, 0.1);
}

/* Buttons */
.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 12px;
    padding: 0.72rem 1.15rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.btn-bronze {
    background: linear-gradient(135deg, var(--bronze-light), var(--bronze-dark));
    color: var(--white);
    box-shadow: 0 6px 16px rgba(184, 115, 51, 0.3);
}

.btn-bronze:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184, 115, 51, 0.4);
}

.btn-outline {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--charcoal);
}

.btn-outline:hover {
    border-color: var(--bronze);
    color: var(--bronze);
    box-shadow: var(--shadow-sm);
}

.btn-block { width: 100%; }
.btn-sm { padding: 0.5rem 0.85rem; font-size: 0.82rem; }

.btn-danger {
    background: #B42318;
    color: #fff;
    box-shadow: 0 6px 16px rgba(180, 35, 24, 0.25);
}

.btn-danger:hover {
    transform: translateY(-2px);
    background: #912018;
    color: #fff;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.table-actions .ajax-delete {
    display: inline-flex;
    margin: 0;
}

.file-link {
    color: var(--bronze-dark);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.file-link:hover { text-decoration: underline; }

.muted { color: var(--gray-500); }

.link-danger {
    background: none;
    border: 0;
    color: var(--danger);
    cursor: pointer;
    font-weight: 600;
}

/* Alerts */
.alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(2, 122, 72, 0.2); }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(180, 35, 24, 0.2); }

/* Auth page */
@keyframes authFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes authPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(184, 115, 51, 0.25); }
    50% { box-shadow: 0 0 50px rgba(184, 115, 51, 0.45); }
}

.auth-body {
    min-height: 100vh;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.auth-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
}

.auth-orb-1 {
    width: 320px; height: 320px;
    background: rgba(184, 115, 51, 0.2);
    top: -80px; left: 10%;
    animation: authFloat 8s ease-in-out infinite;
}

.auth-orb-2 {
    width: 260px; height: 260px;
    background: rgba(212, 149, 78, 0.15);
    bottom: -60px; right: 15%;
    animation: authFloat 10s ease-in-out infinite 1s;
}

.auth-orb-3 {
    width: 180px; height: 180px;
    background: rgba(255, 255, 255, 0.04);
    top: 40%; left: 45%;
    animation: authFloat 7s ease-in-out infinite 0.5s;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.auth-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 3.5rem;
    background:
        linear-gradient(145deg, rgba(184, 115, 51, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #0D0D0D 0%, #141010 50%, #1a1510 100%);
    border-right: 1px solid rgba(184, 115, 51, 0.2);
    position: relative;
    overflow: hidden;
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 60px);
    pointer-events: none;
}

.auth-brand-inner {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.auth-logo-frame {
    position: relative;
    width: fit-content;
    margin-bottom: 2rem;
}

.auth-logo-glow {
    position: absolute;
    inset: -12px;
    border-radius: 28px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.35), transparent 70%);
    animation: authPulse 4s ease-in-out infinite;
}

.auth-logo {
    position: relative;
    display: block;
    height: 110px;
    width: auto;
    border-radius: 20px;
    border: 2px solid rgba(184, 115, 51, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(184, 115, 51, 0.1);
    background: #fff;
    padding: 6px;
}

.auth-brand-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--bronze-light);
    margin: 0 0 0.65rem;
    padding: 0.35rem 0.75rem;
    background: rgba(184, 115, 51, 0.15);
    border: 1px solid rgba(184, 115, 51, 0.3);
    border-radius: 999px;
}

.auth-brand-title {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.auth-brand-text {
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
}

.auth-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.auth-features i {
    color: var(--bronze-light);
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
}

.auth-brand-footer {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
}

.auth-form-panel {
    display: grid;
    place-items: center;
    padding: 2rem;
    background: linear-gradient(180deg, #f5f5f5 0%, #ebebeb 100%);
}

.auth-card {
    width: min(440px, 100%);
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 4px;
    background: linear-gradient(90deg, var(--bronze-dark), var(--bronze), var(--bronze-light));
    border-radius: 0 0 4px 4px;
}

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

.auth-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bronze-light), var(--bronze-dark));
    color: white;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(184, 115, 51, 0.35);
}

.auth-card h1 {
    margin: 0 0 0.4rem;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--charcoal);
}

.auth-card-header p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.92rem;
}

.auth-card .form-group { margin-bottom: 1.15rem; }

.auth-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.auth-form-meta .checkbox {
    margin: 0;
}

.auth-submit {
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
}

.auth-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-500);
    transition: color var(--transition);
}

.auth-back-link:hover { color: var(--bronze); }

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

.input-icon-wrap i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 1rem;
    transition: color var(--transition);
}

.input-icon-wrap input {
    padding-left: 2.6rem;
}

.input-icon-wrap input:focus + i,
.input-icon-wrap:focus-within i {
    color: var(--bronze);
}

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

.checkbox input { width: auto; }

.auth-alert { margin-bottom: 1rem; }

/* SweetAlert2 */
.swal2-popup.bronze-swal {
    border-radius: 20px !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid rgba(184, 115, 51, 0.15) !important;
    font-family: 'Manrope', sans-serif !important;
}

.swal2-popup.bronze-swal .swal2-title { font-weight: 800 !important; }
.swal2-popup.bronze-swal .swal2-confirm {
    border-radius: 10px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 16px rgba(184, 115, 51, 0.35) !important;
}

@media (max-width: 1100px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .admin-wrapper { grid-template-columns: 1fr; }

    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        padding: 2.5rem 2rem 2rem;
        border-right: 0;
        border-bottom: 1px solid rgba(184, 115, 51, 0.2);
    }

    .auth-brand-inner {
        max-width: 100%;
        text-align: center;
    }

    .auth-logo-frame {
        margin-left: auto;
        margin-right: auto;
    }

    .auth-brand-text {
        margin-bottom: 1.5rem;
    }

    .auth-brand-footer {
        display: none;
    }

    .auth-form-panel {
        padding: 2rem 1.25rem 2.5rem;
    }

    .admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        transition: transform var(--transition);
        width: var(--sidebar-width);
    }

    .admin-sidebar.open { transform: translateX(0); }

    .sidebar-toggle { display: grid; place-items: center; }

    .detail-grid, .form-grid { grid-template-columns: 1fr; }

    .user-chip span { display: none; }
}
