/* ==========================================================================
   POPWORLD ADMIN PORTAL - AUTHENTIC POP MART DESIGN SYSTEM
   Anchored by: Pure Brand Black (#000000), Signature Red (#D2001E),
   Sharp Rectilinear Geometry, Barlow Typography, and Crisp Color-Blocking.
   Reference: www.popmart.com-DESIGN.md
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700&display=swap');

:root {
    /* 1. Typography (POP MART Brand Standard: Barlow) */
    --admin-font: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* 2. Color Palette Tokens */
    --colors-primary: #000000;         /* Brand Black */
    --colors-canvas: #FFFFFF;          /* Canvas White */
    --colors-on-primary: #FFFFFF;
    --colors-accent: #D2001E;          /* Brand Red */
    --colors-accent-vivid: #E60021;    /* Vivid Red */
    --colors-body: #666666;            /* Body Copy Gray */
    --colors-neutral-bg: #F5F5F5;      /* Subtle Neutral Background */
    --colors-neutral-surface: #FAFAFA;
    --colors-border: #E0E0E0;          /* Clean Line Borders */
    --colors-border-subtle: #EBEBEB;
    
    /* 3. Sidebar Specifics (Pure Obsidian Minimalist) */
    --admin-sidebar-bg: #000000;
    --admin-sidebar-hover: rgba(255, 255, 255, 0.08);
    --admin-sidebar-border: #1F1F1F;
    --admin-sidebar-text: #8E8E93;
    --admin-sidebar-active-text: #FFFFFF;
    
    /* Functional Theme Aliases */
    --pop-red: var(--colors-accent);
    --pop-red-hover: #B00019;
    --pop-red-subtle: rgba(210, 0, 30, 0.08);
    
    --admin-body-bg: var(--colors-neutral-bg);
    --admin-card-bg: var(--colors-canvas);
    --admin-text-main: #000000;
    --admin-text-muted: var(--colors-body);
    
    /* 4. Sharp Geometry Scale (Section 5 of POP MART Design Guide) */
    --admin-radius-none: 0px;          /* Default for buttons, cards, inputs */
    --admin-radius-xs: 4px;            /* Subtle modern rounding */
    --admin-radius-sm: 4px;
    --admin-radius-md: 6px;            /* Max rounding for cards/containers */
    --admin-radius-lg: 6px;
    --admin-radius-pill: 9999px;       /* Strictly for circular avatars */
    
    /* 5. Elevation - Single Tier Minimal Shadow (Section 6) */
    --admin-shadow-sm: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px;
    --admin-shadow-hover: rgba(0, 0, 0, 0.08) 0px 4px 12px 0px;
}

/* ==========================================================================
   GLOBAL BASE STYLING
   ========================================================================== */
body.admin-body {
    font-family: var(--admin-font);
    background-color: var(--admin-body-bg);
    color: var(--admin-text-main);
    letter-spacing: 0px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--admin-font);
    font-weight: 700;
    letter-spacing: 0px;
    color: inherit;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-black h1, .bg-black h2, .bg-black h3, .bg-black h4, .bg-black h5, .bg-black h6 {
    color: #FFFFFF !important;
}

.fw-black {
    font-weight: 800 !important;
}

/* ==========================================================================
   ADMIN LAYOUT STRUCTURE (SIDEBAR + MAIN CONTENT)
   ========================================================================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.admin-sidebar {
    width: 270px;
    background-color: var(--admin-sidebar-bg);
    color: var(--admin-sidebar-text);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--admin-sidebar-border);
    min-height: 100vh;
    z-index: 1000;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease;
}

.admin-logo-mini {
    display: none !important;
}

/* Backdrop for Mobile Drawer */
.admin-sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
    backdrop-filter: blur(2px);
    transition: opacity 0.2s ease;
}

@media (max-width: 991px) {
    .admin-sidebar-backdrop.show {
        display: block;
    }
}

/* ==========================================================================
   COLLAPSED MINI-SIDEBAR (DESKTOP >= 992px)
   ========================================================================== */
@media (min-width: 992px) {
    body.sidebar-collapsed .admin-sidebar,
    .sidebar-collapsed .admin-sidebar {
        width: 72px;
    }

    body.sidebar-collapsed .admin-sidebar .admin-logo-full,
    .sidebar-collapsed .admin-sidebar .admin-logo-full {
        display: none !important;
    }

    body.sidebar-collapsed .admin-sidebar .admin-logo-mini,
    .sidebar-collapsed .admin-sidebar .admin-logo-mini {
        display: flex !important;
    }

    body.sidebar-collapsed .admin-sidebar-header,
    .sidebar-collapsed .admin-sidebar-header {
        justify-content: center;
        padding: 16px 0;
    }

    body.sidebar-collapsed .admin-nav-group,
    .sidebar-collapsed .admin-nav-group {
        padding: 16px 8px;
    }

    body.sidebar-collapsed .admin-nav-label,
    .sidebar-collapsed .admin-nav-label {
        display: none !important;
    }

    body.sidebar-collapsed .admin-nav-link,
    .sidebar-collapsed .admin-nav-link {
        justify-content: center;
        padding: 12px 0;
        gap: 0;
        border-radius: 6px;
    }

    body.sidebar-collapsed .admin-nav-link span,
    .sidebar-collapsed .admin-nav-link .bi-arrow-up-right,
    .sidebar-collapsed .admin-nav-badge {
        display: none !important;
    }

    body.sidebar-collapsed .admin-nav-link i,
    .sidebar-collapsed .admin-nav-link i {
        font-size: 1.25rem;
        margin: 0;
    }

    body.sidebar-collapsed .admin-sidebar-footer,
    .sidebar-collapsed .admin-sidebar-footer {
        justify-content: center;
        padding: 16px 0;
    }

    body.sidebar-collapsed .admin-sidebar-footer .overflow-hidden,
    .sidebar-collapsed .admin-sidebar-footer .overflow-hidden {
        display: none !important;
    }
}

.admin-sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--admin-sidebar-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-nav-group {
    padding: 16px 12px;
    flex: 1;
}

.admin-nav-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555555;
    padding: 14px 12px 6px;
    margin: 0;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--admin-radius-xs);
    color: var(--admin-sidebar-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.15s ease;
    margin-bottom: 3px;
}

.admin-nav-link i {
    font-size: 1.1rem;
}

.admin-nav-link:hover {
    background-color: var(--admin-sidebar-hover);
    color: var(--admin-sidebar-active-text);
}

.admin-nav-link.active {
    background-color: var(--colors-accent);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: none; /* POP MART flat color blocking, no diffuse glow */
}

.admin-nav-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.admin-nav-link.active .admin-nav-badge {
    background: #FFFFFF;
    color: var(--colors-accent);
}

.admin-sidebar-footer {
    padding: 18px 20px;
    border-top: 1px solid var(--admin-sidebar-border);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

/* ==========================================================================
   ADMIN MAIN AREA & TOPBAR
   ========================================================================== */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: var(--admin-body-bg);
}

.admin-topbar {
    height: 70px;
    background: var(--colors-canvas);
    border-bottom: 1px solid var(--colors-border);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 990;
}

.admin-content {
    padding: 24px 32px;
    flex: 1;
}

@media (max-width: 1440px) {
    .admin-content {
        padding: 20px 20px;
    }
}

.btn-store-preview {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--admin-radius-xs);
    border: 1px solid var(--colors-border);
    background: var(--colors-canvas);
    color: var(--colors-primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-store-preview:hover {
    background: var(--colors-primary);
    border-color: var(--colors-primary);
    color: #FFFFFF;
}

/* ==========================================================================
   STAT KPI CARDS (POP MART SHARP RECTILINEAR STYLE)
   ========================================================================== */
.admin-stat-card {
    background: var(--colors-canvas);
    border-radius: var(--admin-radius-md);
    border: 1px solid var(--colors-border);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--admin-shadow-sm);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.admin-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--admin-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.admin-stat-icon.icon-red {
    background: rgba(210, 0, 30, 0.08);
    color: var(--colors-accent);
}

.admin-stat-icon.icon-amber,
.admin-stat-icon.icon-yellow {
    background: rgba(217, 119, 6, 0.1);
    color: #D97706;
}

.admin-stat-icon.icon-blue {
    background: rgba(0, 0, 0, 0.06);
    color: var(--colors-primary);
}

.admin-stat-icon.icon-green {
    background: rgba(22, 101, 52, 0.1);
    color: #166534;
}

.admin-stat-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--colors-body);
    margin-bottom: 6px;
}

.admin-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--colors-primary);
    line-height: 1.1;
    letter-spacing: 0px;
}

/* ==========================================================================
   DATA TABLES (CLEAN HIGH-CONTRAST EDITORIAL)
   ========================================================================== */
.admin-card {
    background: var(--colors-canvas);
    border-radius: var(--admin-radius-md);
    border: 1px solid var(--colors-border);
    box-shadow: var(--admin-shadow-sm);
    overflow: hidden;
}

.admin-card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--colors-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--colors-canvas);
}

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

.admin-table {
    margin-bottom: 0;
    width: 100%;
}

.admin-table thead th {
    background: var(--colors-neutral-bg);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #444444;
    padding: 12px 14px;
    border-bottom: 1px solid var(--colors-border);
    border-top: none;
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 13px 14px;
    vertical-align: middle;
    border-bottom: 1px solid var(--colors-border-subtle);
    font-size: 0.90rem;
}

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

.admin-table tbody tr:hover {
    background-color: var(--colors-neutral-surface);
}

/* ==========================================================================
   STICKY ACTION COLUMN (ZERO HORIZONTAL CLIPPING)
   Pins action buttons to the right edge during horizontal scrolling
   ========================================================================== */
.sticky-action-col {
    position: sticky !important;
    right: 0 !important;
    z-index: 10 !important;
    box-shadow: -6px 0 10px -3px rgba(0, 0, 0, 0.08) !important;
    white-space: nowrap !important;
}

/* Base background for sticky cells in standard light table rows */
.admin-table tbody td.sticky-action-col,
.table tbody td.sticky-action-col {
    background-color: #FFFFFF !important;
}

/* Hover background synchronization */
.admin-table tbody tr:hover td.sticky-action-col,
.table tbody tr:hover td.sticky-action-col {
    background-color: var(--colors-neutral-surface, #F8F9FA) !important;
}

/* Sticky column headers */
.admin-table thead th.sticky-action-col {
    background-color: var(--colors-neutral-bg, #F5F5F5) !important;
}

.table-dark thead th.sticky-action-col,
table.table-dark th.sticky-action-col,
.table thead.table-dark th.sticky-action-col {
    background-color: #212529 !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   SMART SCROLL FOR DATA TABLES & LISTS (> 5 ITEMS)
   Auto-triggers vertical scrolling when rows exceed 5 (~440px)
   ========================================================================== */
.table-responsive-scroll-5,
.admin-table-scroll-5 {
    max-height: 440px;
    overflow-y: auto !important;
    overflow-x: auto !important;
    position: relative;
    scrollbar-gutter: stable;
    border-radius: inherit;
}

/* Slim Sleek Scrollbar (Pop Mart Red / Slate minimal styling) */
.table-responsive-scroll-5::-webkit-scrollbar,
.admin-table-scroll-5::-webkit-scrollbar,
.admin-list-scroll-5::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-responsive-scroll-5::-webkit-scrollbar-track,
.admin-table-scroll-5::-webkit-scrollbar-track,
.admin-list-scroll-5::-webkit-scrollbar-track {
    background: #F1F3F5;
    border-radius: 4px;
}

.table-responsive-scroll-5::-webkit-scrollbar-thumb,
.admin-table-scroll-5::-webkit-scrollbar-thumb,
.admin-list-scroll-5::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.table-responsive-scroll-5::-webkit-scrollbar-thumb:hover,
.admin-table-scroll-5::-webkit-scrollbar-thumb:hover,
.admin-list-scroll-5::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Firefox scrollbar support */
.table-responsive-scroll-5,
.admin-table-scroll-5,
.admin-list-scroll-5 {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F1F3F5;
}

/* Sticky Header inside Scrollable Container */
.table-responsive-scroll-5 table thead th,
.table-responsive-scroll-5 .admin-table thead th,
.admin-table-scroll-5 table thead th,
.admin-table-scroll-5 .admin-table thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 12 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Light table header sticky background */
.table-responsive-scroll-5 table:not(.table-dark) thead th,
.admin-table-scroll-5 table:not(.table-dark) thead th {
    background-color: var(--colors-neutral-bg, #F8F9FA) !important;
}

/* Dark table header sticky background */
.table-responsive-scroll-5 table.table-dark thead th,
.table-responsive-scroll-5 table thead.table-dark th,
.admin-table-scroll-5 table.table-dark thead th,
.admin-table-scroll-5 table thead.table-dark th {
    background-color: #1E2329 !important;
    color: #FFFFFF !important;
}

/* Corner Intersection: Sticky Top Header + Sticky Right Action Column */
.table-responsive-scroll-5 table thead th.sticky-action-col,
.table-responsive-scroll-5 .admin-table thead th.sticky-action-col,
.admin-table-scroll-5 table thead th.sticky-action-col,
.admin-table-scroll-5 .admin-table thead th.sticky-action-col {
    position: sticky !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 25 !important;
    box-shadow: -6px 2px 10px -3px rgba(0, 0, 0, 0.08) !important;
}

/* Generic Non-Table List Auto-Scroll (> 5 cards / items) */
.admin-list-scroll-5 {
    max-height: 400px;
    overflow-y: auto !important;
    scrollbar-gutter: stable;
    padding-right: 4px;
}

/* Smart text wrapping helper */
.admin-cell-wrap-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    white-space: normal;
}

/* ==========================================================================
   POP MART STATUS BADGES (SHARP HIGH-CONTRAST TAGS)
   ========================================================================== */
.badge-status {
    padding: 5px 12px;
    border-radius: var(--admin-radius-xs);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2;
    white-space: nowrap !important;
}

.badge-status-topay {
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid #FDE68A;
}

.badge-status-processing {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}

.badge-status-packed {
    background: #FFF7ED;
    color: #C2410C;
    border: 1px solid #FFEDD5;
}

.badge-status-shipped {
    background: #F5F3FF;
    color: #6D28D9;
    border: 1px solid #DDD6FE;
}

.badge-status-completed {
    background: #F0FDF4;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.badge-status-cancelled {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.badge-status-expired {
    background: #F8FAFC;
    color: #64748B;
    border: 1px solid #E2E8F0;
}

/* ==========================================================================
   ACTION BUTTONS & CONTROLS
   ========================================================================== */
.btn-action-pill {
    padding: 6px 14px;
    border-radius: var(--admin-radius-xs);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.table-actions-cell {
    white-space: nowrap !important;
    min-width: 175px;
    text-align: right;
}

.admin-price {
    white-space: nowrap !important;
    font-family: var(--admin-font);
}

.btn-action-pack {
    background: #C2410C;
    color: #FFFFFF;
    border-color: #C2410C;
}
.btn-action-pack:hover {
    background: #9A3412;
    color: #FFFFFF;
}

.btn-action-ship {
    background: var(--colors-primary);
    color: #FFFFFF;
    border-color: var(--colors-primary);
}
.btn-action-ship:hover {
    background: #262626;
    color: #FFFFFF;
}

.btn-action-complete {
    background: #15803D;
    color: #FFFFFF;
}
.btn-action-complete:hover {
    background: #166534;
    color: #FFFFFF;
}

.btn-action-detail {
    background: #FFFFFF;
    color: var(--colors-primary);
    border: 1px solid var(--colors-border);
}
.btn-action-detail:hover {
    background: var(--colors-neutral-bg);
    border-color: var(--colors-primary);
    color: var(--colors-primary);
}

/* ==========================================================================
   POP MART ORDER TIMELINE (VERTICAL STEPPER)
   ========================================================================== */
.admin-timeline {
    position: relative;
    padding-left: 28px;
}

.admin-timeline::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 8px;
    width: 2px;
    background: var(--colors-border);
}

.admin-timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.admin-timeline-item:last-child {
    padding-bottom: 0;
}

.admin-timeline-dot {
    position: absolute;
    left: -28px;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--colors-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.admin-timeline-item:last-child .admin-timeline-dot {
    border-color: var(--colors-accent);
    background: var(--colors-accent);
}

.admin-timeline-card {
    background: #FAFAFA;
    border: 1px solid var(--colors-border-subtle);
    border-radius: var(--admin-radius-xs);
    padding: 12px 16px;
}

/* ==========================================================================
   FILTER TABS (POP MART SEGMENTED TAGS)
   ========================================================================== */
.admin-tab-item {
    padding: 7px 16px;
    border-radius: var(--admin-radius-xs);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--colors-body);
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--colors-canvas);
    border: 1px solid var(--colors-border);
}

.admin-tab-item:hover {
    color: var(--colors-primary);
    border-color: var(--colors-primary);
}

.admin-tab-item.active {
    background: var(--colors-primary);
    color: #FFFFFF;
    border-color: var(--colors-primary);
    box-shadow: none;
}

.admin-tab-count {
    padding: 1px 6px;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #F0F0F0;
    color: #000000;
}

.admin-tab-item.active .admin-tab-count {
    background: var(--colors-accent);
    color: #FFFFFF;
}

/* ==========================================================================
   PRODUCT THUMBNAILS & IMAGES
   ========================================================================== */
.admin-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--admin-radius-xs);
    object-fit: cover;
    background: #F3F4F6;
    border: 1px solid var(--colors-border);
}

/* ==========================================================================
   FORM CONTROLS & INPUTS (POP MART HIGH CONTRAST)
   ========================================================================== */
.admin-body .form-control,
.admin-body .form-select {
    border: 1px solid var(--colors-border);
    border-radius: var(--admin-radius-xs);
    font-size: 0.92rem;
    padding: 9px 14px;
    color: #000000;
    background-color: #FFFFFF;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-body .form-control:focus,
.admin-body .form-select:focus {
    border-color: #000000;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 2px;
    outline: none;
}

/* ==========================================================================
   POP MART BOOTSTRAP OVERRIDES (SHARP RECTILINEAR NORMALIZATION)
   ========================================================================== */
.admin-body .rounded-4,
.admin-body .rounded-3 {
    border-radius: var(--admin-radius-md) !important;
}

.admin-body .rounded-pill:not(.rounded-circle) {
    border-radius: var(--admin-radius-xs) !important;
}

.admin-body .btn:not(.rounded-circle) {
    border-radius: var(--admin-radius-xs) !important;
    font-family: var(--admin-font);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-body .btn-dark {
    background-color: var(--colors-primary) !important;
    border-color: var(--colors-primary) !important;
    color: #FFFFFF !important;
}

.admin-body .btn-dark:hover {
    background-color: #222222 !important;
    border-color: #222222 !important;
}

.admin-body .btn-danger {
    background-color: var(--colors-accent) !important;
    border-color: var(--colors-accent) !important;
    color: #FFFFFF !important;
}

.admin-body .btn-danger:hover {
    background-color: var(--pop-red-hover) !important;
    border-color: var(--pop-red-hover) !important;
}

.admin-body .btn-outline-dark {
    border-color: var(--colors-primary) !important;
    color: var(--colors-primary) !important;
}

.admin-body .btn-outline-dark:hover {
    background-color: var(--colors-primary) !important;
    color: #FFFFFF !important;
}

.admin-body .alert {
    border-radius: var(--admin-radius-xs) !important;
    border: 1px solid var(--colors-border);
    font-family: var(--admin-font);
}

.admin-body .input-group > .rounded-pill-start {
    border-radius: var(--admin-radius-xs) 0 0 var(--admin-radius-xs) !important;
}

.admin-body .input-group > .rounded-pill-end {
    border-radius: 0 var(--admin-radius-xs) var(--admin-radius-xs) 0 !important;
}

/* ==========================================================================
   RESPONSIVE MOBILE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
    .admin-sidebar {
        position: fixed;
        left: -270px;
    }
    .admin-sidebar.show {
        left: 0;
    }
    .admin-topbar {
        padding: 0 16px;
    }
    .admin-content {
        padding: 16px;
    }
}

/* ==========================================================================
   REVIEW GALLERY & LIGHTBOX EXTENSIONS
   ========================================================================== */
.review-preview-img {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-preview-img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

#reviewLightboxModal .modal-content {
    background-color: #111111 !important;
    border: 1px solid #2a2a2a !important;
}

