/* ============================================================================
   Gmind Institute — Admin Panel CSS
   ============================================================================
   Colour palette:
     Deep Navy:    #0d2b6e
     Primary:      #1a4fa0
     Accent/Scarlet: #e84118
     Gold:         #f39c12
     Off-white:    #f4f7fc
     White:        #ffffff
   Fonts: Poppins (headings, 600/700) + Inter (body, 400/500)
   ============================================================================ */

/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.admin-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #2d3748;
    background: #f4f7fc;
    min-height: 100vh;
}

a { color: #1a4fa0; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Sidebar ──────────────────────────────────────────────────────────────── */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #0d2b6e;
    color: #ffffff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.admin-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.admin-logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 1.1;
}

.admin-logo-subtext {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.6rem;
    color: #e84118;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.admin-sidebar-close {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.admin-sidebar-nav {
    flex: 1;
    padding: 12px 0;
}

.admin-nav-list {
    list-style: none;
}

.admin-nav-item {
    margin-bottom: 2px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.admin-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.admin-nav-link.active {
    color: #ffffff;
    background: rgba(232, 65, 24, 0.15);
    border-left-color: #e84118;
}

.admin-nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.admin-sidebar-footer {
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logout-form { width: 100%; }

.admin-logout-link {
    width: 100%;
    color: rgba(255, 255, 255, 0.6) !important;
    border-left-color: transparent !important;
    background: none !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    border: none;
}

.admin-logout-link:hover {
    color: #e84118 !important;
}

/* ─── Main Content ─────────────────────────────────────────────────────────── */
.admin-main {
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ─── Top Bar ──────────────────────────────────────────────────────────────── */
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.admin-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #2d3748;
    border-radius: 2px;
    transition: 0.3s;
}

.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #718096;
}

.admin-breadcrumb a {
    color: #1a4fa0;
    text-decoration: none;
}

.admin-breadcrumb a:hover { text-decoration: underline; }

.admin-breadcrumb-sep { color: #cbd5e0; }

.admin-breadcrumb-current {
    color: #2d3748;
    font-weight: 600;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-notification {
    position: relative;
    color: #718096;
    text-decoration: none;
    transition: color 0.2s;
}

.admin-notification:hover { color: #1a4fa0; text-decoration: none; }

.admin-notification-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #e84118;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a4fa0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.admin-user-name {
    font-weight: 600;
    font-size: 13px;
    color: #2d3748;
}

/* ─── Content Area ─────────────────────────────────────────────────────────── */
.admin-content {
    flex: 1;
    padding: 24px;
}

.admin-page-header {
    margin-bottom: 24px;
}

.admin-page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d2b6e;
}

/* ─── Flash Alerts ─────────────────────────────────────────────────────────── */
.admin-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid;
    animation: adminSlideDown 0.3s ease;
}

@keyframes adminSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.admin-alert-success { background: #f0fff4; color: #276749; border-color: #38a169; }
.admin-alert-error   { background: #fff5f5; color: #9b2c2c; border-color: #e53e3e; }
.admin-alert-warning { background: #fffff0; color: #975a16; border-color: #d69e2e; }
.admin-alert-info    { background: #ebf8ff; color: #2b6cb0; border-color: #4299e1; }

.admin-alert-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0 4px;
}

.admin-alert-close:hover { opacity: 1; }

/* ─── Stat Cards ───────────────────────────────────────────────────────────── */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.admin-stat-students   { border-left-color: #1a4fa0; }
.admin-stat-courses    { border-left-color: #e84118; }
.admin-stat-branches   { border-left-color: #f39c12; }
.admin-stat-testimonials { border-left-color: #38a169; }

.admin-stat-students   .admin-stat-icon { background: rgba(26, 79, 160, 0.1); color: #1a4fa0; }
.admin-stat-courses    .admin-stat-icon { background: rgba(232, 65, 24, 0.1); color: #e84118; }
.admin-stat-branches   .admin-stat-icon { background: rgba(243, 156, 18, 0.1); color: #f39c12; }
.admin-stat-testimonials .admin-stat-icon { background: rgba(56, 161, 105, 0.1); color: #38a169; }

.admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-stat-icon svg {
    width: 24px;
    height: 24px;
}

.admin-stat-info {
    display: flex;
    flex-direction: column;
}

.admin-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
}

.admin-stat-label {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

/* ─── Dashboard Grid ───────────────────────────────────────────────────────── */
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ─── Cards ────────────────────────────────────────────────────────────────── */
.admin-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.admin-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
}

.admin-card-actions {
    display: flex;
    gap: 8px;
}

.admin-card-body {
    padding: 20px;
}

/* ─── Quick Actions ────────────────────────────────────────────────────────── */
.admin-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.admin-quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: #f4f7fc;
    border-radius: 8px;
    color: #1a4fa0;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.admin-quick-action-btn:hover {
    background: #1a4fa0;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.admin-quick-action-btn svg {
    width: 24px;
    height: 24px;
}

/* ─── Tables ───────────────────────────────────────────────────────────────── */
.admin-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table thead th {
    background: #f4f7fc;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #4a5568;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-bottom: 2px solid #e2e8f0;
}

.admin-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f4f8;
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: background 0.15s ease;
}

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

.admin-table-thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.admin-no-image {
    color: #cbd5e0;
    font-size: 12px;
}

/* ─── Search/Filter Bar ────────────────────────────────────────────────────── */
.admin-table-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-table-search {
    flex: 1;
    max-width: 300px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.admin-table-search:focus {
    outline: none;
    border-color: #1a4fa0;
    box-shadow: 0 0 0 3px rgba(26, 79, 160, 0.1);
}

/* ─── Badges ───────────────────────────────────────────────────────────────── */
.admin-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-badge-success { background: #f0fff4; color: #276749; }
.admin-badge-danger  { background: #fff5f5; color: #9b2c2c; }
.admin-badge-warning { background: #fffff0; color: #975a16; }
.admin-badge-info    { background: #ebf8ff; color: #2b6cb0; }
.admin-badge-category { background: #edf2f7; color: #4a5568; }

/* ─── Stars ────────────────────────────────────────────────────────────────── */
.admin-stars { white-space: nowrap; }

.admin-star {
    color: #cbd5e0;
    font-size: 14px;
}

.admin-star-filled {
    color: #f39c12;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}

.admin-btn:hover { text-decoration: none; }

.admin-btn-primary {
    background: #1a4fa0;
    color: #ffffff;
}

.admin-btn-primary:hover {
    background: #154080;
    color: #ffffff;
}

.admin-btn-secondary {
    background: #edf2f7;
    color: #4a5568;
}

.admin-btn-secondary:hover {
    background: #e2e8f0;
    color: #2d3748;
}

.admin-btn-danger {
    background: #e84118;
    color: #ffffff;
}

.admin-btn-danger:hover {
    background: #c73510;
    color: #ffffff;
}

.admin-btn-success {
    background: #38a169;
    color: #ffffff;
}

.admin-btn-success:hover {
    background: #2f855a;
    color: #ffffff;
}

.admin-btn-warning {
    background: #d69e2e;
    color: #ffffff;
}

.admin-btn-warning:hover {
    background: #b7791f;
    color: #ffffff;
}

.admin-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.admin-btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.admin-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #edf2f7;
    color: #4a5568;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.admin-btn-icon:hover {
    background: #1a4fa0;
    color: #ffffff;
    text-decoration: none;
}

.admin-btn-delete:hover {
    background: #e84118;
    color: #ffffff;
}

.admin-actions {
    display: flex;
    gap: 6px;
}

/* ─── Forms ────────────────────────────────────────────────────────────────── */
.admin-form {
    max-width: 100%;
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-form-group {
    margin-bottom: 16px;
}

.admin-form-row .admin-form-group {
    margin-bottom: 0;
}

.admin-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #4a5568;
}

.admin-required { color: #e84118; }

.admin-form-input,
.admin-form-select,
.admin-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: #2d3748;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-form-input:focus,
.admin-form-select:focus,
.admin-form-textarea:focus {
    outline: none;
    border-color: #1a4fa0;
    box-shadow: 0 0 0 3px rgba(26, 79, 160, 0.1);
}

.admin-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.admin-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.admin-form-actions {
    display: flex;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid #f0f4f8;
    margin-top: 16px;
}

.admin-form-section {
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.admin-form-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

/* ─── Toggle Switch ────────────────────────────────────────────────────────── */
.admin-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.admin-toggle input {
    display: none;
}

.admin-toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: #cbd5e0;
    border-radius: 12px;
    transition: 0.3s;
    flex-shrink: 0;
}

.admin-toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    transition: 0.3s;
}

.admin-toggle input:checked + .admin-toggle-slider {
    background: #1a4fa0;
}

.admin-toggle input:checked + .admin-toggle-slider::before {
    transform: translateX(20px);
}

.admin-toggle-sm .admin-toggle-slider {
    width: 36px;
    height: 20px;
}

.admin-toggle-sm .admin-toggle-slider::before {
    width: 14px;
    height: 14px;
}

.admin-toggle-sm input:checked + .admin-toggle-slider::before {
    transform: translateX(16px);
}

.admin-toggle-label {
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
}

/* ─── Image Preview ────────────────────────────────────────────────────────── */
.admin-current-image {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    color: #718096;
}

.admin-current-image img {
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.admin-image-preview {
    margin-top: 8px;
}

.admin-image-preview img {
    max-width: 200px;
    max-height: 120px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* ─── Section Header ───────────────────────────────────────────────────────── */
.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.admin-filter-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-filter-group .admin-form-select {
    width: auto;
    min-width: 160px;
}

/* ─── Detail Grid ──────────────────────────────────────────────────────────── */
.admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.admin-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-detail-value {
    font-size: 14px;
    color: #2d3748;
}

/* ─── Review Preview ───────────────────────────────────────────────────────── */
.admin-review-preview {
    font-size: 13px;
    color: #718096;
}

/* ─── Empty State ──────────────────────────────────────────────────────────── */
.admin-empty-text {
    text-align: center;
    padding: 32px 16px;
    color: #a0aec0;
    font-size: 14px;
}

.admin-empty-text a {
    font-weight: 600;
}

/* ─── Text Muted ───────────────────────────────────────────────────────────── */
.admin-text-muted { color: #a0aec0; }

/* ─── Modal ────────────────────────────────────────────────────────────────── */
.admin-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: adminFadeIn 0.2s ease;
}

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

@keyframes adminFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.admin-modal {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: adminScaleIn 0.2s ease;
}

@keyframes adminScaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.admin-modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #a0aec0;
    padding: 0;
    line-height: 1;
}

.admin-modal-close:hover { color: #2d3748; }

.admin-modal-body {
    padding: 20px;
    color: #4a5568;
}

.admin-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
}

/* ─── Login Page ───────────────────────────────────────────────────────────── */
.admin-login-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d2b6e 0%, #1a4fa0 50%, #0d2b6e 100%);
    padding: 20px;
}

.admin-login-container {
    width: 100%;
    max-width: 420px;
}

.admin-login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.admin-login-brand {
    text-align: center;
    margin-bottom: 32px;
}

.admin-login-brand .admin-logo-text {
    display: block;
    font-size: 2rem;
    color: #0d2b6e;
}

.admin-login-brand .admin-logo-subtext {
    display: block;
    font-size: 0.7rem;
    color: #e84118;
    letter-spacing: 4px;
}

.admin-login-tagline {
    margin-top: 8px;
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-login-form .admin-form-input {
    padding: 12px 16px;
    font-size: 15px;
}

.admin-login-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
}

.admin-login-footer a {
    color: #1a4fa0;
    font-weight: 600;
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

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

    .admin-sidebar-overlay.active {
        display: block;
    }

    .admin-sidebar-close {
        display: block;
    }

    .admin-hamburger {
        display: flex;
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-topbar {
        padding: 12px 16px;
    }

    .admin-content {
        padding: 16px;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-row {
        grid-template-columns: 1fr;
    }

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

    .admin-user-name {
        display: none;
    }

    .admin-section-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .admin-quick-actions {
        grid-template-columns: 1fr 1fr;
    }

    .admin-page-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .admin-quick-actions {
        grid-template-columns: 1fr;
    }

    .admin-login-card {
        padding: 32px 20px;
    }

    .admin-stat-card {
        padding: 16px;
    }

    .admin-stat-number {
        font-size: 1.3rem;
    }
}

/* ─── Print ────────────────────────────────────────────────────────────────── */
@media print {
    .admin-sidebar,
    .admin-topbar,
    .admin-hamburger {
        display: none !important;
    }

    .admin-main {
        margin-left: 0 !important;
    }

    .admin-content {
        padding: 0 !important;
    }

    .admin-btn,
    .admin-actions {
        display: none !important;
    }
}
