﻿/* ============================================================
   ALI FALAH PORTFOLIO — ADMIN.CSS
   Premium Dark Dashboard
   ============================================================ */

:root {
    --gold: #f5c518;
    --gold-dim: #c9a012;
    --gold-glow: rgba(245, 197, 24, 0.2);
    --bg: #050810;
    --bg-2: #0b0f1a;
    --bg-sidebar: #080c18;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.07);
    --border-gold: rgba(245, 197, 24, 0.3);
    --text: #dde2ec;
    --text-muted: #7a8499;
    --danger: #ef4444;
    --success: #22c55e;
    --info: #3b82f6;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --sidebar-width: 240px;
    --topbar-height: 64px;
    --radius: 12px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.admin-body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    min-height: 100vh;
    overflow-x: clip;
}

/* ============ ADMIN LAYOUT ============ */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ============ SIDEBAR ============ */
.admin-sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: transform var(--transition);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: rgba(245,197,24,0.1);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 6px 10px;
}

.logo-bracket {
    color: var(--gold);
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.nav-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.6rem 1.5rem 0.3rem;
    opacity: 0.6;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.7rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

    .sidebar-link i {
        width: 18px;
        font-size: 0.95rem;
    }

    .sidebar-link:hover {
        color: var(--text);
        background: rgba(255,255,255,0.04);
        border-left-color: rgba(245,197,24,0.4);
    }

    .sidebar-link.active {
        color: var(--gold);
        background: rgba(245,197,24,0.07);
        border-left-color: var(--gold);
        font-weight: 600;
    }

    .sidebar-link.logout-link {
        color: rgba(239,68,68,0.6);
    }

        .sidebar-link.logout-link:hover {
            color: var(--danger);
            background: rgba(239,68,68,0.06);
            border-left-color: var(--danger);
        }

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-avatar {
    width: 36px;
    height: 36px;
    background: rgba(245,197,24,0.15);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--gold);
    flex-shrink: 0;
}

.admin-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
}

.admin-role {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ============ MAIN AREA ============ */
.admin-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============ TOP BAR ============ */
.admin-topbar {
    height: var(--topbar-height);
    background: rgba(8, 12, 24, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: var(--transition);
    display: none;
}

    .sidebar-toggle-btn:hover {
        color: var(--text);
        background: var(--bg-card);
    }

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.breadcrumb-home {
    color: var(--text-muted);
}

.breadcrumb-sep {
    color: var(--text-muted);
    font-size: 0.65rem;
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 600;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

    .topbar-btn:hover {
        border-color: var(--border-gold);
        color: var(--gold);
    }

.topbar-avatar {
    width: 36px;
    height: 36px;
    background: rgba(245,197,24,0.15);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--gold);
}

/* ============ CONTENT AREA ============ */
.admin-content {
    flex: 1;
    padding: 2rem;
    background: var(--bg);
}

/* ============ PAGE HEADER ============ */
.admin-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-page-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.2rem;
}

.admin-page-sub {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.admin-page-actions {
    display: flex;
    gap: 10px;
}

/* ============ ALERTS ============ */
.admin-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-success-custom {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: var(--success);
}

.alert-error-custom {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: var(--danger);
}

/* ============ DASHBOARD STATS ============ */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 2rem;
}

.dash-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .dash-stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: var(--ico-color, var(--gold));
        border-radius: 0 2px 2px 0;
    }

    .dash-stat-card:hover {
        border-color: rgba(255,255,255,0.12);
        transform: translateY(-2px);
    }

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245,197,24,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--ico-color, var(--gold));
    flex-shrink: 0;
}

.stat-card-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-card-trend {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--success);
}

    .stat-card-trend.up {
        color: var(--success);
    }

/* ============ QUICK ACTIONS ============ */
.dash-section-title {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 2rem;
}

.quick-action-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    text-align: center;
}

    .quick-action-card:hover {
        border-color: var(--border-gold);
        background: rgba(245,197,24,0.05);
        color: var(--gold);
        transform: translateY(-3px);
    }

.qa-icon {
    width: 44px;
    height: 44px;
    background: rgba(245,197,24,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gold);
}

.qa-label {
    font-size: 0.82rem;
    font-weight: 600;
}

/* ============ ADMIN CARDS ============ */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--border);
}

.admin-card-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .admin-card-title i {
        color: var(--gold);
    }

.admin-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ============ TABLES ============ */
.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

    .admin-table thead tr {
        background: rgba(255,255,255,0.03);
    }

    .admin-table th {
        padding: 0.85rem 1.4rem;
        text-align: left;
        font-family: var(--font-display);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
        white-space: nowrap;
    }

    .admin-table td {
        padding: 0.9rem 1.4rem;
        color: var(--text);
        border-bottom: 1px solid rgba(255,255,255,0.03);
        vertical-align: middle;
    }

    .admin-table tbody tr {
        transition: var(--transition);
    }

        .admin-table tbody tr:hover {
            background: rgba(255,255,255,0.03);
        }

.tbl-bold {
    font-weight: 600;
    color: #fff;
}

.tbl-tag {
    font-size: 0.75rem;
    padding: 3px 10px;
    background: rgba(245,197,24,0.08);
    border: 1px solid rgba(245,197,24,0.2);
    border-radius: 20px;
    color: var(--gold);
    white-space: nowrap;
}

.tbl-cat-badge {
    font-size: 0.75rem;
    padding: 3px 10px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 20px;
    color: #60a5fa;
}

.tbl-thumb {
    width: 46px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.tbl-thumb-placeholder {
    width: 46px;
    height: 36px;
    background: rgba(245,197,24,0.07);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.9rem;
}

.tbl-icon-link {
    color: var(--text-muted);
    text-decoration: none;
    margin-right: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
}

    .tbl-icon-link:hover {
        color: var(--gold);
    }

.tbl-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2.5rem;
}

    .tbl-empty a {
        color: var(--gold);
    }

.tbl-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
    margin-right: 6px;
}

.tbl-btn-edit {
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
}

    .tbl-btn-edit:hover {
        background: rgba(59,130,246,0.25);
    }

.tbl-btn-del {
    background: rgba(239,68,68,0.12);
    color: #f87171;
}

    .tbl-btn-del:hover {
        background: rgba(239,68,68,0.25);
    }

/* ============ PROGRESS BAR (table) ============ */
.tbl-progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tbl-progress-bar {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 5px;
    overflow: hidden;
    min-width: 80px;
}

.tbl-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-dim));
    border-radius: 5px;
}

.tbl-progress-num {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ============ BUTTONS ============ */
.adm-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.adm-btn-gold {
    background: var(--gold);
    color: #000;
}

    .adm-btn-gold:hover {
        background: #fff;
        color: #000;
        box-shadow: 0 0 20px var(--gold-glow);
    }

.adm-btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

    .adm-btn-outline:hover {
        border-color: var(--border-gold);
        color: var(--gold);
    }

.adm-btn-danger {
    background: rgba(239,68,68,0.15);
    color: var(--danger);
    border: 1px solid rgba(239,68,68,0.3);
}

    .adm-btn-danger:hover {
        background: var(--danger);
        color: #fff;
    }

.adm-btn-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
}

/* ============ FORMS ============ */
.admin-form {
    padding: 1.4rem;
}

.admin-form-field {
    margin-bottom: 1.1rem;
}

.form-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.adm-label {
    display: block;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.adm-input, .adm-textarea, .adm-select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

    .adm-input:focus, .adm-textarea:focus, .adm-select:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 3px var(--gold-glow);
        background: rgba(245,197,24,0.03);
    }

    .adm-input::placeholder, .adm-textarea::placeholder {
        color: rgba(255,255,255,0.2);
    }

.adm-select {
    appearance: none;
    cursor: pointer;
}

    .adm-select option {
        background: var(--bg-2);
    }

.adm-textarea {
    resize: vertical;
    min-height: 100px;
}

.adm-range {
    width: 100%;
    accent-color: var(--gold);
    cursor: pointer;
}

/* Avatar upload */
.form-avatar-upload {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--border-gold);
    overflow: hidden;
    background: rgba(245,197,24,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .avatar-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.avatar-placeholder {
    font-size: 1.8rem;
    color: var(--gold);
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* CV Upload Zone */
.cv-upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: rgba(255,255,255,0.02);
}

    .cv-upload-zone:hover {
        border-color: var(--border-gold);
        background: rgba(245,197,24,0.03);
    }

.cv-upload-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.cv-upload-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.cv-upload-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.cv-filename {
    font-size: 0.78rem;
    color: var(--gold);
    margin-top: 8px;
}

.cv-current {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    padding: 0.6rem 0.8rem;
    background: rgba(34,197,94,0.07);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 8px;
}

    .cv-current i {
        color: #f87171;
    }

    .cv-current a {
        color: var(--gold);
    }

.adm-file-upload {
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-filename {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============ MODAL ============ */
.adm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
}

    .adm-modal-overlay.open {
        display: flex;
    }

.adm-modal {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.25s ease;
}

.adm-modal-sm {
    max-width: 420px;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.adm-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid var(--border);
}

    .adm-modal-header h3 {
        font-family: var(--font-display);
        font-size: 1.05rem;
        font-weight: 700;
        color: #fff;
    }

.adm-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: var(--transition);
}

    .adm-modal-close:hover {
        color: var(--danger);
    }

.adm-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* ============ SIDEBAR OVERLAY ============ */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99;
}

/* ============ LOGIN PAGE ============ */
.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    overflow: hidden;
    position: relative;
}

.login-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.login-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(245,197,24,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(245,197,24,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb-a {
    width: 400px;
    height: 400px;
    background: rgba(245,197,24,0.07);
    top: -100px;
    left: -100px;
}

.orb-b {
    width: 300px;
    height: 300px;
    background: rgba(59,130,246,0.05);
    bottom: -60px;
    right: -60px;
}

.login-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 1rem;
}

.login-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(30px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.login-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 0.3rem;
}

.login-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 2rem;
}

.login-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #f87171;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem 0.9rem 0.7rem 2.5rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

    .login-input:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 3px var(--gold-glow);
    }

    .login-input::placeholder {
        color: rgba(255,255,255,0.2);
    }

.login-eye-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.88rem;
    transition: var(--transition);
}

    .login-eye-btn:hover {
        color: var(--gold);
    }

.login-submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: 0.5rem;
}

    .login-submit-btn:hover {
        background: #fff;
        box-shadow: 0 0 20px rgba(255,255,255,0.1);
    }

.login-back {
    text-align: center;
    margin-top: 1.2rem;
}

    .login-back a {
        color: var(--text-muted);
        font-size: 0.85rem;
        text-decoration: none;
        transition: var(--transition);
    }

        .login-back a:hover {
            color: var(--gold);
        }

/* ============ UTILITIES ============ */
.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .dash-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-grid-2col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

        .admin-sidebar.open {
            transform: translateX(0);
        }

    .sidebar-overlay.open {
        display: block;
    }

    .admin-main {
        margin-left: 0;
    }

    .sidebar-toggle-btn {
        display: flex;
    }

    .dash-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-content {
        padding: 1.2rem;
    }

    .form-field-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dash-stats-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-page-header {
        flex-direction: column;
    }
}
html {
    scroll-behavior: smooth;
}
@media (max-width: 768px) {
    .admin-topbar {
        padding: 0 1rem;
    }

    .page-breadcrumb {
        display: none;
    }

    .admin-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}