﻿/* =============================================
   Ezibuynsell - Classifieds Platform Styles
   ============================================= */

:root,
[data-bs-theme="light"] {
    --primary: #1a56db;
    --primary-dark: #1340a8;
    --primary-light: #e8effc;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #111827;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --transition: all 0.2s ease;

    /* Semantic tokens (light) */
    --body-bg: #f9fafb;
    --body-color: #111827;
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --input-bg: #ffffff;
    --input-border: #e5e7eb;
    --input-color: #111827;
    --surface-1: #ffffff;
    --surface-2: #f3f4f6;
    --surface-3: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --hover-bg: rgba(0,0,0,0.04);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.3);
    --nav-bg: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    --footer-bg: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DARK THEME
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
[data-bs-theme="dark"] {
    --primary: #7c9cf5;
    --primary-dark: #6389ee;
    --primary-light: #3b4f73;
    --accent: #fbbf24;
    --accent-hover: #f59e0b;
    --success: #4ade80;
    --danger: #fb7185;
    --dark: #f1f5f9;
    --gray-50: #2a2f3d;
    --gray-100: #343a4a;
    --gray-200: #464e61;
    --gray-300: #6b7589;
    --gray-400: #9ba4b6;
    --gray-500: #bfc6d4;
    --gray-600: #dce1eb;
    --gray-700: #edf0f5;
    --gray-800: #f5f7fa;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.15);
    --shadow: 0 4px 12px rgba(0,0,0,0.18);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.22);

    /* Semantic tokens (dark â€” softer, easier on eyes) */
    --body-bg: #262b38;
    --body-color: #e4e8f0;
    --card-bg: #2f3545;
    --card-border: #3e4557;
    --input-bg: #343a4a;
    --input-border: #4e5669;
    --input-color: #edf0f5;
    --surface-1: #2f3545;
    --surface-2: #393f50;
    --surface-3: #464e61;
    --text-primary: #f5f7fa;
    --text-secondary: #b8c0d0;
    --text-muted: #8e97ab;
    --border-color: #3e4557;
    --hover-bg: rgba(255,255,255,0.06);
    --glass-bg: rgba(47, 53, 69, 0.88);
    --glass-border: rgba(62, 69, 87, 0.5);
    --nav-bg: linear-gradient(135deg, #252a36 0%, #2c3242 100%);
    --footer-bg: linear-gradient(135deg, #252a36 0%, #2c3242 100%);

    color-scheme: dark;
}

/* â”€â”€ Dark theme component overrides â”€â”€ */
[data-bs-theme="dark"] body {
    background: var(--body-bg);
    color: var(--body-color);
}

[data-bs-theme="dark"] .navbar {
    background: var(--nav-bg) !important;
    border-bottom: 1px solid var(--border-color);
}

[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .acst-card,
[data-bs-theme="dark"] .listing-card,
[data-bs-theme="dark"] .listing-card-tile,
[data-bs-theme="dark"] .listing-card-list {
    background: var(--card-bg);
    border-color: var(--card-border);
    color: var(--body-color);
}

[data-bs-theme="dark"] .card .card-body,
[data-bs-theme="dark"] .card-body {
    color: var(--body-color);
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-color);
}
[data-bs-theme="dark"] .form-control::placeholder {
    color: var(--text-muted);
}
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background: var(--input-bg);
    border-color: var(--primary);
    color: var(--input-color);
    box-shadow: 0 0 0 3px rgba(99,144,240,0.2);
}

[data-bs-theme="dark"] .form-check-input {
    background-color: var(--input-bg);
    border-color: var(--input-border);
}

[data-bs-theme="dark"] .dropdown-menu {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: var(--shadow-lg);
}
[data-bs-theme="dark"] .dropdown-item {
    color: var(--body-color);
}
[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
    background: var(--hover-bg);
    color: var(--text-primary);
}

[data-bs-theme="dark"] .modal-content {
    background: var(--card-bg);
    border-color: var(--card-border);
    color: var(--body-color);
}
[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
    border-color: var(--border-color);
}

[data-bs-theme="dark"] .offcanvas {
    background: var(--card-bg);
    color: var(--body-color);
}

[data-bs-theme="dark"] .site-footer {
    background: var(--footer-bg) !important;
    border-top: 1px solid var(--border-color);
}

[data-bs-theme="dark"] .bg-light {
    background: var(--surface-2) !important;
}
[data-bs-theme="dark"] .bg-white {
    background: var(--card-bg) !important;
}

[data-bs-theme="dark"] .text-dark {
    color: var(--text-primary) !important;
}
[data-bs-theme="dark"] .text-muted {
    color: var(--text-secondary) !important;
}
[data-bs-theme="dark"] .border {
    border-color: var(--border-color) !important;
}
[data-bs-theme="dark"] .border-bottom {
    border-color: var(--border-color) !important;
}
[data-bs-theme="dark"] .border-top {
    border-color: var(--border-color) !important;
}
[data-bs-theme="dark"] hr {
    border-color: var(--border-color);
    opacity: 0.3;
}

/* Glass cards dark mode */
[data-bs-theme="dark"] .vd-glass-card {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}
[data-bs-theme="dark"] .vd-glass-card::before {
    background: linear-gradient(135deg, rgba(99,144,240,0.04), transparent, rgba(6,182,212,0.04));
}

/* Admin panel cards */
[data-bs-theme="dark"] .acst-card-body {
    background: var(--card-bg);
}
[data-bs-theme="dark"] .acst-card-head {
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .acst-hero {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.05));
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .acst-tabs {
    background: var(--surface-1);
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .acst-tab {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .acst-tab-active {
    background: var(--surface-2);
    color: var(--primary);
}
[data-bs-theme="dark"] .acst-field input,
[data-bs-theme="dark"] .acst-field textarea,
[data-bs-theme="dark"] .acst-field select {
    background: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-color);
}
[data-bs-theme="dark"] .acst-field label {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .acst-stat {
    background: var(--surface-1);
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .acst-save-bar {
    background: var(--surface-1);
    border-color: var(--border-color);
}

/* Listing cards */
[data-bs-theme="dark"] .listing-card .card-body h6 a,
[data-bs-theme="dark"] .listing-card .card-body h6 {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .listing-card .card-img-top {
    border-bottom: 1px solid var(--border-color);
}
[data-bs-theme="dark"] .lcl-body h6 a,
[data-bs-theme="dark"] .lcl-body h6 {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .listing-card-list {
    border-color: var(--card-border);
}

/* Profile / seller pages */
[data-bs-theme="dark"] .nc-card,
[data-bs-theme="dark"] .ct-form-card,
[data-bs-theme="dark"] .ct-info-panel {
    background: var(--card-bg);
    color: var(--body-color);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .prof-page { background: var(--body-bg); }
[data-bs-theme="dark"] .prof-hero {
    background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(139,92,246,0.08) 40%, rgba(236,72,153,0.06) 100%);
    border-bottom-color: var(--border-color);
}
[data-bs-theme="dark"] .prof-hero-name { color: var(--text-primary); }
[data-bs-theme="dark"] .prof-hero-username { color: var(--text-muted); }
[data-bs-theme="dark"] .prof-hero-location { color: var(--text-muted); }
[data-bs-theme="dark"] .prof-hero-stat { background: var(--surface-2); border-color: var(--border-color); }
[data-bs-theme="dark"] .prof-hero-stat-num { color: var(--text-primary); }
[data-bs-theme="dark"] .prof-hero-stat-label { color: var(--text-muted); }
[data-bs-theme="dark"] .prof-hero-corner-link { background: var(--surface-2); border-color: var(--border-color); color: #a78bfa; }
[data-bs-theme="dark"] .prof-hero-corner-link:hover { background: rgba(167,139,250,0.1); color: #c4b5fd; }
[data-bs-theme="dark"] .prof-sidebar-toggle { background: var(--card-bg) !important; border-color: var(--border-color) !important; color: var(--text-primary) !important; }
[data-bs-theme="dark"] .nc-name {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .nc-handle {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .nc-meta {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .nc-badge-biz {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(79,70,229,0.15));
    color: #a5b4fc;
}
[data-bs-theme="dark"] .nc-stat-val {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .nc-stat-label {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .nc-tabs {
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .nc-tab {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .nc-tab.active,
[data-bs-theme="dark"] .nc-tab:hover {
    color: var(--primary);
}
[data-bs-theme="dark"] .nc-avatar-placeholder {
    background: var(--surface-2);
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .nc-empty h5,
[data-bs-theme="dark"] .nc-empty h4 {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .nc-empty p {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .nc-stat {
    border-color: var(--border-color);
}

/* Contact page dark mode */
[data-bs-theme="dark"] .ct-info-panel {
    background: var(--surface-2);
    border: 1px solid var(--border-color);
}
[data-bs-theme="dark"] .ct-info-item {
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .ct-info-label {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .ct-info-value {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .ct-info-icon {
    opacity: 0.9;
}
[data-bs-theme="dark"] .ct-form-card {
    background: var(--surface-2);
    border: 1px solid var(--border-color);
}
[data-bs-theme="dark"] .ct-form-card h5,
[data-bs-theme="dark"] .ct-form-card h4 {
    color: var(--text-primary);
}

/* Badges and pills */
[data-bs-theme="dark"] .badge.bg-light {
    background: var(--surface-2) !important;
    color: var(--text-primary) !important;
}

/* Tables */
[data-bs-theme="dark"] .table {
    --bs-table-bg: var(--card-bg);
    --bs-table-color: var(--body-color);
    --bs-table-border-color: var(--border-color);
    --bs-table-hover-bg: var(--hover-bg);
    --bs-table-striped-bg: var(--surface-2);
}

/* Notifications */
[data-bs-theme="dark"] .notif-dropdown {
    background: rgba(30,27,75,.8) !important;
    border-color: rgba(99,102,241,.12) !important;
    box-shadow: 0 12px 48px rgba(0,0,0,.3) !important;
}
[data-bs-theme="dark"] .notif-dropdown-header { border-color: rgba(99,102,241,.1); }
[data-bs-theme="dark"] .notif-dropdown-heading { color: #e0e7ff; }
[data-bs-theme="dark"] .notif-dropdown-actions a { color: #818cf8; }
[data-bs-theme="dark"] .notif-dropdown-footer { border-color: rgba(99,102,241,.1); }
[data-bs-theme="dark"] .notif-dropdown-footer a { color: #818cf8; }
[data-bs-theme="dark"] .notif-dropdown-item { color: #e0e7ff; border-color: rgba(99,102,241,.06); }
[data-bs-theme="dark"] .notif-dropdown-item:hover { background: rgba(99,102,241,.08); color: #e0e7ff; }
[data-bs-theme="dark"] .notif-dropdown-item.unread { background: rgba(99,102,241,.1); }
[data-bs-theme="dark"] .notif-dropdown-title { color: #e0e7ff; }
[data-bs-theme="dark"] .notif-dropdown-body { color: #94a3b8; }
[data-bs-theme="dark"] .notif-dropdown-time { color: #64748b; }
[data-bs-theme="dark"] .notif-dropdown-fade { background: linear-gradient(to top, rgba(30,27,75,.85) 0%, transparent 100%); }

/* Messages */
[data-bs-theme="dark"] .msg-hub,
[data-bs-theme="dark"] .msg-sidebar,
[data-bs-theme="dark"] .msg-main {
    background: var(--card-bg);
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .msg-conv-item:hover {
    background: var(--hover-bg);
}
[data-bs-theme="dark"] .msg-conv-item.active {
    background: rgba(99,144,240,0.1);
}
[data-bs-theme="dark"] .msg-bubble-received {
    background: var(--surface-2);
    color: var(--body-color);
}

/* Search bar on hero */
[data-bs-theme="dark"] .hero-slide .search-form .form-control {
    background: var(--input-bg);
    color: var(--input-color);
}

/* Follow cards */
[data-bs-theme="dark"] .follow-user-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .follow-user-card:hover {
    background: var(--hover-bg);
    border-color: var(--primary);
}
[data-bs-theme="dark"] .follow-user-name {
    color: var(--text-primary);
}

/* Cookie consent */
.cookie-consent-bar {
    background: rgba(17,24,39,0.97);
    backdrop-filter: blur(10px);
}
@media (max-width: 991.98px) {
    .cookie-consent-bar { bottom: 60px !important; }
}
[data-bs-theme="dark"] .cookie-consent-bar {
    background: rgba(15,23,42,0.98);
}

/* Pagination */
[data-bs-theme="dark"] .page-link {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--body-color);
}
[data-bs-theme="dark"] .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* Accordion */
[data-bs-theme="dark"] .accordion-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .accordion-button {
    background: var(--card-bg);
    color: var(--body-color);
}
[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background: var(--surface-2);
    color: var(--primary);
}

/* Alert overrides for dark */
[data-bs-theme="dark"] .alert-light {
    background: var(--surface-2);
    color: var(--body-color);
    border-color: var(--border-color);
}

/* Breadcrumb */
[data-bs-theme="dark"] .breadcrumb-item a {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .breadcrumb-item.active {
    color: var(--text-muted);
}

/* Smooth transitions on theme switch */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition: background-color 0.3s ease, color 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* â”€â”€ Theme Toggle Button â”€â”€ */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    padding: 0;
}
.theme-toggle:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: scale(1.08);
}
.theme-toggle i {
    font-size: 1.1rem;
    transition: transform 0.35s ease;
}
.theme-toggle:active i {
    transform: rotate(30deg);
}

/* Theme dropdown */
.theme-dropdown {
    min-width: 160px;
    padding: 6px;
    border-radius: 12px;
}
.theme-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: auto;
}
.theme-dropdown .dropdown-item.active,
.theme-dropdown .dropdown-item.active:hover {
    background: var(--primary);
    color: #fff;
}
.theme-dropdown .dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* SA Sidebar dark mode */
[data-bs-theme="dark"] .sa-sidebar {
    background: rgba(38,43,56,0.95) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 8px 0 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
[data-bs-theme="dark"] .sa-sidebar-header {
    background: rgba(47,53,69,0.6);
    border-color: rgba(255,255,255,0.08);
}
[data-bs-theme="dark"] .sa-sidebar-footer {
    background: rgba(47,53,69,0.5);
    border-color: rgba(255,255,255,0.08);
}
[data-bs-theme="dark"] .sa-sidebar-logout:hover {
    background: rgba(239,68,68,0.12) !important;
}
[data-bs-theme="dark"] .sa-sidebar-group {
    border-color: rgba(255,255,255,0.05);
}
[data-bs-theme="dark"] .sa-sidebar-link:hover {
    background: rgba(255,255,255,0.05);
}
[data-bs-theme="dark"] .sa-sidebar-link.active {
    background: rgba(99,102,241,0.15);
}
[data-bs-theme="dark"] .sa-sidebar-link-sm:hover {
    background: rgba(255,255,255,0.05);
}
[data-bs-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* List-group / nav-tabs dark */
[data-bs-theme="dark"] .list-group-item {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--body-color);
}
[data-bs-theme="dark"] .nav-tabs {
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .nav-tabs .nav-link.active {
    background: var(--card-bg);
    border-color: var(--border-color) var(--border-color) var(--card-bg);
    color: var(--primary);
}
[data-bs-theme="dark"] .nav-pills .nav-link.active {
    background: var(--primary);
}

/* Tooltip / Popover dark */
[data-bs-theme="dark"] .tooltip-inner {
    background: var(--surface-3);
}
[data-bs-theme="dark"] .popover {
    background: var(--card-bg);
    border-color: var(--card-border);
}

/* Input group dark */
[data-bs-theme="dark"] .input-group-text {
    background: var(--surface-2);
    border-color: var(--input-border);
    color: var(--text-secondary);
}

/* Hero search bar in dark */
[data-bs-theme="dark"] .hero-slide .search-form {
    background: var(--card-bg);
}

/* Lightbox dark mode */
[data-bs-theme="dark"] .vd-lightbox {
    background: rgba(0,0,0,0.95);
}

/* â”€â”€ Wizard dark mode â”€â”€ */
[data-bs-theme="dark"] .wizard-cat-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .wizard-cat-card:hover,
[data-bs-theme="dark"] .wizard-cat-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}
[data-bs-theme="dark"] .wizard-cat-card span {
    color: #f1f5f9;
}
[data-bs-theme="dark"] .wizard-cat-card i {
    color: #93b4f8;
}
[data-bs-theme="dark"] .wizard-subcat-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .wizard-subcat-card:hover,
[data-bs-theme="dark"] .wizard-subcat-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}
[data-bs-theme="dark"] .wizard-subcat-card span {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .wizard-subcat-other {
    border-color: var(--surface-3);
}
[data-bs-theme="dark"] .wizard-step-num {
    background: var(--surface-2);
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .wizard-step span {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .wizard-step.active span {
    color: var(--primary);
}
[data-bs-theme="dark"] .wizard-step.completed span {
    color: var(--success);
}
[data-bs-theme="dark"] .wizard-step-line {
    background: var(--border-color);
}
[data-bs-theme="dark"] .wizard-upload-zone {
    border-color: var(--surface-3);
    background: transparent;
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .wizard-upload-zone:hover,
[data-bs-theme="dark"] .wizard-upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(99,144,240,0.05);
    color: var(--primary);
}
[data-bs-theme="dark"] .wizard-panel .card {
    background: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .attr-other-input {
    border-color: var(--surface-3);
}
[data-bs-theme="dark"] h4.fw-bold,
[data-bs-theme="dark"] h5.fw-bold,
[data-bs-theme="dark"] h6.fw-semibold {
    color: var(--text-primary);
}

/* â”€â”€ My Listings dark mode â”€â”€ */
[data-bs-theme="dark"] .ml-listing-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .ml-listing-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
[data-bs-theme="dark"] .ml-card-body {
    color: var(--body-color);
}
[data-bs-theme="dark"] .ml-card-price {
    color: var(--primary);
}
[data-bs-theme="dark"] .ml-card-title {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .ml-card-title:hover {
    color: var(--primary);
}
[data-bs-theme="dark"] .ml-card-meta {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .ml-action-btn {
    background: var(--surface-2);
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .ml-filter-pill {
    background: var(--card-bg);
    color: var(--text-secondary);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .ml-filter-pill:hover {
    background: var(--surface-2);
    color: var(--text-primary);
}
[data-bs-theme="dark"] .ml-stat-card {
    background: rgba(30,41,59,0.8);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .ml-stat-num {
    color: #fff;
}
[data-bs-theme="dark"] .ml-stat-label {
    color: var(--text-secondary);
}
[data-bs-theme="dark"] .ml-pending-banner {
    background: rgba(245,158,11,0.1);
    border-color: rgba(245,158,11,0.2);
    color: #fbbf24;
}
[data-bs-theme="dark"] .ml-empty-state h4 {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .ml-empty-state p {
    color: var(--text-secondary);
}

/* â”€â”€ Global dark text contrast safety â”€â”€ */
[data-bs-theme="dark"] .text-dark {
    color: var(--text-primary) !important;
}
[data-bs-theme="dark"] .fw-bold,
[data-bs-theme="dark"] .fw-semibold {
    color: var(--text-primary);
}
[data-bs-theme="dark"] p.text-muted,
[data-bs-theme="dark"] small.text-muted,
[data-bs-theme="dark"] span.text-muted,
[data-bs-theme="dark"] div.text-muted {
    color: var(--text-secondary) !important;
}
[data-bs-theme="dark"] .form-label {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .form-text {
    color: var(--text-muted);
}

/* â”€â”€ Global Safety Net â”€â”€ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent text overflow everywhere */
h1, h2, h3, h4, h5, h6,
p, li, td, th, a, span, label, small, strong {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Ensure tables don't blow out containers */
table {
    max-width: 100%;
}

/* Tap-target minimum for mobile (44px) */
button, a, input[type="submit"], input[type="button"],
.btn, [role="button"] {
    min-height: 44px;
    min-width: 44px;
}

/* Prevent horizontal overflow from pre/code blocks */
pre, code {
    overflow-x: auto;
    max-width: 100%;
}

main {
    flex: 1;
}

/* ---- Navbar ---- */
.navbar {
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray-800) 100%);
    padding: 0.6rem 0;
    overflow: visible;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    z-index: 1030;
}

/* Transparent navbar that overlays the hero */
.navbar.navbar-transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
    box-shadow: none;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.navbar-transparent.scrolled {
    position: fixed;
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray-800) 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: #fff !important;
}

/* Desktop navbar: user-menu left | search center | logo right */
@media (min-width: 992px) {
    .navbar > .container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }
    .navbar-brand {
        order: 3;
        margin-left: auto;
        margin-right: 0;
    }
}

.navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
    transition: var(--transition);
}

.navbar .nav-link:hover {
    color: #fff !important;
}

.navbar .form-control {
    border-radius: 50px;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: rgba(255,255,255,0.12);
    color: #fff;
    backdrop-filter: blur(10px);
}

.navbar .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.navbar .form-control:focus {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
    color: #fff;
}

.navbar .btn-light {
    border-radius: 0 50px 50px 0;
    border: none;
    padding: 0.5rem 0.85rem;
}

/* ---- Buttons ---- */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background: var(--accent);
    border: none;
    color: var(--dark);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Ensure hero CTA button is always tappable on mobile */
.hero-slide .btn-accent,
.hero-slide .hero-cta-link {
    position: relative;
    z-index: 9999 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    opacity: 1 !important;
    transform: none !important;
    cursor: pointer;
}

/* â”€â”€ Glassy Post Ad Button â”€â”€ */
.btn-post-ad {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 22px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4f46e5;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(99, 102, 241, 0.18);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.08), inset 0 1px 0 rgba(255,255,255,0.6);
    letter-spacing: -0.01em;
}
.btn-post-ad:hover {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(99, 102, 241, 0.35);
}
.btn-post-ad:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}
.btn-post-ad i {
    font-size: 0.9rem;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ---- Cards ---- */
.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow);
}

/* ---- Listing Cards ---- */
.listing-card {
    height: 100%;
    cursor: pointer;
    position: relative;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.listing-card .card-img-top {
    height: 200px;
    object-fit: cover;
    background: var(--gray-100);
}

.listing-card .placeholder-img {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 2.5rem;
}

.listing-card .card-body {
    padding: 1rem 1.15rem;
}

.listing-card .listing-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.listing-card .listing-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    text-decoration: none;
}

.listing-card .listing-meta {
    font-size: 0.8rem;
    color: var(--gray-500);
    align-items: center;
    gap: 6px;
    min-width: 0;
}
/* Truncate long city names so the meta never wraps to 2 lines */
.listing-card .listing-meta > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
}
.listing-card .listing-meta > span:last-child {
    flex: 0 0 auto;
    white-space: nowrap;
}

.listing-card .badge-condition {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
}

/* ─── Small view counter shown on every listing card ───
   Anchors to the bottom-left of the card image (both the tile
   `.listing-card-img-wrap` and the list `.lcl-image` are
   position:relative). Stays compact on phones via a clamped
   font-size, uses a glassy dark pill so it reads on any photo,
   and abbreviates >= 1000 as "1.2k" to keep the pill narrow. */
.listing-card-img-wrap {
    position: relative;
    overflow: hidden;
}
.lcl-image { position: relative; }
.listing-card-img-wrap .listing-views,
.lcl-image .listing-views {
    position: absolute;
    left: 8px;
    top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: #dc2626;
    color: #fff;
    font-size: clamp(0.62rem, 1.7vw, 0.72rem);
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
    pointer-events: none;
    z-index: 2;
    text-decoration: none;
}
.listing-card-img-wrap .listing-views i,
.lcl-image .listing-views i {
    font-size: 0.82em;
    line-height: 1;
}
.lcl-image .listing-views-list {
    left: 6px;
    top: 6px;
    padding: 2px 7px;
    font-size: 0.66rem;
}
@media (max-width: 575.98px) {
    .listing-card-img-wrap .listing-views {
        left: 6px;
        top: 6px;
        padding: 2px 6px;
        font-size: 0.62rem;
        gap: 3px;
    }
}
/* When a "Featured" pill is also on the card, both want top-left, so
   slide the view counter down to sit just below it. Uses :has() which
   ships in Chrome 105+ / Safari 15.4+ — covers everything the Android
   TWA bundles and modern desktop browsers. Older browsers will simply
   stack the two pills, still readable. */
.listing-card-tile:has(.badge-featured) .listing-card-img-wrap .listing-views {
    top: 42px;
}
@media (max-width: 575.98px) {
    .listing-card-tile:has(.badge-featured) .listing-card-img-wrap .listing-views {
        top: 32px;
    }
}

.listing-card .listing-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.listing-card .listing-fav:hover,
.listing-card .listing-fav.active {
    color: var(--danger);
    background: #fff;
}

.listing-card .badge-featured {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    z-index: 2;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   â”€â”€ View Toggle + List View â”€â”€
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Listing Card Link Wrapper â”€â”€ */
.listing-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.listing-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* â”€â”€ Toggle Buttons â”€â”€ */
.view-toggle {
    display: inline-flex;
    background: var(--gray-100);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.view-toggle-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--gray-400);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle-btn:hover {
    color: var(--gray-600);
    background: rgba(0,0,0,0.04);
}

.view-toggle-btn.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* â”€â”€ Mobile Filter Button â”€â”€ */
.btn-mobile-filter {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    color: var(--text-primary, #111827);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-sm, 8px);
    padding: 0.35rem 0.85rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-mobile-filter:hover,
.btn-mobile-filter:focus {
    background: var(--primary-light, #e8effc);
    border-color: var(--primary, #1a56db);
    color: var(--primary, #1a56db);
}
.btn-mobile-filter .badge {
    font-size: 0.65rem;
    padding: 0.2em 0.45em;
    vertical-align: middle;
}

/* â”€â”€ Filter Chips â”€â”€ */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary, #1a56db);
    background: var(--primary-light, #e8effc);
    border: 1px solid rgba(26, 86, 219, 0.15);
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
.filter-chip:hover {
    background: rgba(26, 86, 219, 0.15);
    color: var(--primary-dark, #1340a8);
    text-decoration: none;
}
.filter-chip i {
    font-size: 0.85rem;
    opacity: 0.65;
    transition: opacity 0.15s;
}
.filter-chip:hover i {
    opacity: 1;
}
.filter-chip-clear {
    background: var(--gray-100, #f3f4f6);
    color: var(--gray-600, #4b5563);
    border-color: var(--gray-200, #e5e7eb);
}
.filter-chip-clear:hover {
    background: var(--gray-200, #e5e7eb);
    color: var(--danger, #ef4444);
}

/* â”€â”€ Mobile Filters Off-canvas â”€â”€ */
#mobileFilters .offcanvas-header {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}
#mobileFilters .offcanvas-body {
    padding-top: 1rem;
}

/* â”€â”€ Tile/List Switching â”€â”€ */
/* In tile mode (default): show tile card, hide list card */
.listing-grid[data-view="tile"] .listing-card-tile { display: flex; flex-direction: column; }
.listing-grid[data-view="tile"] .listing-card-list { display: none; }

/* In list mode: hide tile card, show list card, make cols full-width */
.listing-grid[data-view="list"] .listing-card-tile { display: none; }
.listing-grid[data-view="list"] .listing-card-list { display: flex; }
.listing-grid[data-view="list"] .listing-grid-item {
    flex: 0 0 100%;
    max-width: 100%;
}

/* â”€â”€ List Card â”€â”€ */
.listing-card-list {
    display: none;
    flex-direction: row;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.listing-card-list:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.lcl-image {
    position: relative;
    flex: 0 0 200px;
    width: 200px;
    height: 150px;
    overflow: hidden;
    background: var(--gray-100);
}

.lcl-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card-list:hover .lcl-image img {
    transform: scale(1.05);
}

.lcl-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    color: var(--gray-300);
    font-size: 2rem;
}

.lcl-badge-featured {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 50px;
    z-index: 2;
}

.lcl-badge-views {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--danger);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 50px;
    z-index: 2;
}

.lcl-body {
    flex: 1;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.lcl-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.lcl-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.lcl-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.lcl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.lcl-meta-item {
    font-size: 0.78rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.lcl-meta-item i {
    font-size: 0.72rem;
    color: var(--gray-400);
}

.lcl-actions {
    display: flex;
    align-items: center;
    padding: 0 14px;
    flex-shrink: 0;
}

.lcl-actions .listing-fav {
    position: static;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lcl-actions .listing-fav:hover,
.lcl-actions .listing-fav.active {
    color: var(--danger);
    border-color: #fecaca;
    background: #fef2f2;
}

/* â”€â”€ List View Mobile Responsive â”€â”€ */
@media (max-width: 767.98px) {
    .lcl-image {
        flex: 0 0 120px;
        width: 120px;
        height: 110px;
    }

    .lcl-body {
        padding: 10px 12px;
    }

    .lcl-top {
        flex-direction: column;
        gap: 2px;
    }

    .lcl-title {
        font-size: 0.85rem;
    }

    .lcl-price {
        font-size: 0.95rem;
    }

    .lcl-meta {
        gap: 4px 10px;
    }

    .lcl-meta-item {
        font-size: 0.72rem;
    }

    .lcl-actions {
        padding: 0 10px;
    }

    .lcl-actions .listing-fav {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 575.98px) {
    .lcl-image {
        flex: 0 0 100px;
        width: 100px;
        height: 95px;
    }

    .lcl-meta-item:nth-child(n+3) {
        display: none;
    }
}

/* ---- Hero Slider ---- */
.hero-slider {
    position: relative;
    margin-top: 0;
}

/* When navbar is transparent (hero page), remove any gap above hero */
.navbar.navbar-transparent + *,
.navbar.navbar-transparent ~ script + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-slider .carousel-inner {
    overflow: hidden;
}

.hero-slide {
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5rem 0 3rem;
}

/* Slide backgrounds are loaded dynamically from the database via inline styles */

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(17,24,39,0.85) 0%, rgba(30,58,95,0.75) 50%, rgba(26,86,219,0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.z-2 { z-index: 2; }

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.text-accent {
    color: var(--accent);
}

.hero-subtitle {
    opacity: 0.9;
    font-weight: 300;
    font-size: 1.15rem;
    max-width: 550px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hero-stats {
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 22px;
    /* Fluid sizing so the card never wraps to a second row */
    padding: clamp(0.5rem, 1.6vw, 0.9rem) clamp(0.6rem, 3vw, 1.5rem);
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(0.4rem, 2.5vw, 1.25rem);
    row-gap: 0;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.hero-stats > .text-center { min-width: 0; }
.hero-stats .fs-4 {
    font-size: clamp(1rem, 4.2vw, 1.5rem) !important;
    line-height: 1.1;
    white-space: nowrap;
}
.hero-stats small {
    font-size: clamp(0.62rem, 2.4vw, 0.78rem);
    line-height: 1.15;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-slide .search-form {
    max-width: 600px;
    position: relative;
    z-index: 5;
}

.hero-slide .container {
    position: relative;
    z-index: 100;
}

.hero-slide .search-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-slide .search-form .form-control {
    border-radius: 50px 0 0 50px;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    border: none;
    background: transparent;
    color: var(--dark);
}

.hero-slide .search-form .form-control::placeholder {
    color: var(--gray-500);
}

.hero-slide .search-form .form-control:focus {
    border: none;
    box-shadow: none;
    background: transparent;
    color: var(--dark);
}

.hero-slide .search-form .form-control:focus-visible {
    outline: none;
}

.hero-slide .btn-search {
    border-radius: 0 50px 50px 0;
    padding: 0.85rem 2rem;
    font-weight: 600;
    background: var(--accent);
    border: none;
    color: var(--dark);
}

.hero-slide .btn-search:hover {
    background: var(--accent-hover);
    color: var(--dark);
}

/* Carousel controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 60px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    background-size: 50%;
    backdrop-filter: blur(10px);
}

.hero-slider .carousel-indicators {
    margin-bottom: 1.25rem;
}

.hero-slider .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background-color: transparent;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-slider .carousel-indicators button.active {
    background-color: var(--accent);
    border-color: var(--accent);
    width: 30px;
    border-radius: 10px;
}

/* Slide animations */
.hero-slider .carousel-item {
    transition: transform 0.8s ease-in-out;
}

.hero-slide .badge,
.hero-slide .hero-title,
.hero-slide .hero-subtitle,
.hero-slide .search-form,
.hero-slide .hero-stats {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.carousel-item.active .hero-slide .badge { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.carousel-item.active .hero-slide .hero-title { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.carousel-item.active .hero-slide .hero-subtitle { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.carousel-item.active .hero-slide .search-form { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.carousel-item.active .hero-slide .hero-stats { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }

/* ---- Category Grid (Modern) ---- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px 16px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f5;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.25s;
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: transparent;
    text-decoration: none;
    color: var(--dark);
}

.cat-card:hover::before {
    opacity: 1;
}

.cat-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: transform 0.25s;
}

.cat-card:hover .cat-card-icon {
    transform: scale(1.1);
}

.cat-card-icon i {
    font-size: 1.4rem;
    color: #fff;
}

.cat-card-name {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
    color: #1f2937;
}

.cat-card-count {
    font-size: 0.72rem;
    font-weight: 500;
    color: #9ca3af;
}

@media (max-width: 991.98px) {
    .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}

@media (max-width: 767.98px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cat-card { padding: 16px 8px 12px; border-radius: 14px; }
    .cat-card-icon { width: 44px; height: 44px; border-radius: 12px; }
    .cat-card-icon i { font-size: 1.2rem; }
    .cat-card-name { font-size: 0.75rem; }
}

@media (max-width: 374px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Dark mode categories */
[data-bs-theme="dark"] .cat-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .cat-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
[data-bs-theme="dark"] .cat-card-name { color: #f1f5f9; }
[data-bs-theme="dark"] .cat-card-count { color: var(--text-secondary); }

/* ---- Section Headers ---- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header a {
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--primary);
}

/* ---- Forms ---- */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-200);
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}

.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.35rem;
}

/* ---- Auth Pages ---- */
.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    max-width: 440px;
    width: 100%;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
}

.auth-card h2 {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.auth-card .subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Google Sign-in/up â€“ modern glassy button (light background) */
.btn-google-glassy {
    background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.65) 100%) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.6) !important;
    box-shadow: 0 2px 14px rgba(66, 133, 244, 0.1), 0 0 0 1px rgba(66, 133, 244, 0.06), 2px 0 8px rgba(234, 67, 53, 0.06), -2px 0 8px rgba(52, 168, 83, 0.06), inset 0 1px 0 rgba(255,255,255,0.85) !important;
    color: var(--gray-800, #1f2937) !important;
    font-weight: 600;
    border-radius: var(--radius-sm, 10px);
    transition: all 0.25s ease;
}
.btn-google-glassy:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.88) 100%) !important;
    box-shadow: 0 4px 22px rgba(66, 133, 244, 0.16), 0 0 0 1px rgba(66, 133, 244, 0.1), 2px 0 12px rgba(234, 67, 53, 0.08), -2px 0 12px rgba(52, 168, 83, 0.08), inset 0 1px 0 rgba(255,255,255,0.95) !important;
    transform: translateY(-1px);
    color: var(--gray-900, #111827) !important;
}
.btn-google-glassy:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(66, 133, 244, 0.12), inset 0 1px 0 rgba(255,255,255,0.75) !important;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MODERN GALLERY â€“ Listing Detail Page
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.gal {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
    border: 1px solid rgba(255,255,255,0.7);
}

/* Stage (main image) */
.gal-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: default;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%);
}
.gal-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(135deg, #f1f5f9, #e8ecf4);
    transition: opacity .35s ease;
}

/* Prev / Next arrows on main image */
.gal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #1e293b;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    opacity: 0;
}
.gal-stage:hover .gal-arrow { opacity: 1; }
.gal-arrow:hover {
    background: rgba(255,255,255,.95);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.gal-arrow-prev { left: 12px; }
.gal-arrow-next { right: 12px; }

/* Zoom button */
.gal-zoom {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 5;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: .95rem;
    cursor: pointer;
    transition: all .25s;
    opacity: 0;
}
.gal-stage:hover .gal-zoom { opacity: 1; }
.gal-zoom:hover { background: rgba(0,0,0,.7); transform: scale(1.08); }

/* Counter badge */
.gal-counter {
    position: absolute;
    bottom: 12px; left: 12px;
    z-index: 5;
    padding: 4px 12px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    color: #334155;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
    pointer-events: none;
}

/* Thumbnail strip */
.gal-thumbs {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 4px;
    background: transparent;
    position: relative;
}
.gal-thumbs-track {
    display: flex;
    gap: 8px;
    padding: 4px 8px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    flex: 1;
}
.gal-thumbs-track::-webkit-scrollbar { display: none; }

.gal-thumbs-scroll {
    flex-shrink: 0;
    width: 28px; height: 100%;
    display: flex; align-items: center; justify-content: center;
    border: none;
    background: linear-gradient(90deg, rgba(255,255,255,.9), transparent);
    color: #94a3b8;
    font-size: .8rem;
    cursor: pointer;
    transition: color .15s;
    z-index: 2;
}
.gal-thumbs-scroll-right { background: linear-gradient(-90deg, rgba(255,255,255,.9), transparent); }
.gal-thumbs-scroll:hover { color: #6366f1; }

.gal-thumb {
    flex: 0 0 auto;
    width: 68px; height: 52px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: .45;
    transition: all .2s ease;
    position: relative;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { opacity: .8; transform: translateY(-1px); }
.gal-thumb.active {
    opacity: 1;
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99,102,241,.2);
}

.gal-empty {
    cursor: default;
    display: flex; align-items: center; justify-content: center;
    min-height: 280px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}
.gal-empty-content {
    display: flex; flex-direction: column; align-items: center;
    gap: .75rem; color: #a5b4fc;
}
.gal-empty-content i { font-size: 2.8rem; }
.gal-empty-content span { font-size: .88rem; font-weight: 500; }

/* â”€â”€ Gallery dark mode â”€â”€ */
[data-bs-theme="dark"] .gal {
    background: rgba(30,27,75,0.4);
    border-color: rgba(99,102,241,0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
[data-bs-theme="dark"] .gal-stage {
    background: linear-gradient(135deg, #1e1b4b, #0f172a);
}
[data-bs-theme="dark"] .gal-stage img {
    background: #0f172a;
}
[data-bs-theme="dark"] .gal-arrow {
    background: rgba(30,27,75,.7);
    border-color: rgba(99,102,241,0.2);
    color: #e0e7ff;
}
[data-bs-theme="dark"] .gal-arrow:hover {
    background: rgba(99,102,241,.3);
}
[data-bs-theme="dark"] .gal-zoom {
    background: rgba(99,102,241,.25);
    border-color: rgba(99,102,241,0.2);
}
[data-bs-theme="dark"] .gal-zoom:hover { background: rgba(99,102,241,.45); }
[data-bs-theme="dark"] .gal-counter {
    background: rgba(30,27,75,.65);
    border-color: rgba(99,102,241,0.15);
    color: #c7d2fe;
}
[data-bs-theme="dark"] .gal-thumbs-scroll {
    background: linear-gradient(90deg, rgba(30,27,75,.9), transparent);
    color: #64748b;
}
[data-bs-theme="dark"] .gal-thumbs-scroll-right {
    background: linear-gradient(-90deg, rgba(30,27,75,.9), transparent);
}
[data-bs-theme="dark"] .gal-thumb.active {
    border-color: #818cf8;
    box-shadow: 0 2px 8px rgba(99,102,241,.3);
}
[data-bs-theme="dark"] .gal-empty {
    background: linear-gradient(135deg, #1e1b4b, #0f172a);
}
[data-bs-theme="dark"] .gal-empty-content { color: #64748b; }

/* â”€â”€ Gallery mobile â”€â”€ */
@media (max-width: 767.98px) {
    .gal { border-radius: 14px; }
    .gal-stage { aspect-ratio: 16 / 11; }
    .gal-arrow {
        width: 34px; height: 34px;
        font-size: .95rem;
        opacity: 1;
    }
    .gal-arrow-prev { left: 8px; }
    .gal-arrow-next { right: 8px; }
    .gal-zoom {
        width: 30px; height: 30px;
        font-size: .7rem;
        border-radius: 8px;
        top: 8px; right: 8px;
        opacity: 1;
    }
    .gal-counter {
        bottom: 8px; left: 8px;
        padding: 3px 10px;
        font-size: .7rem;
    }
    .gal-thumbs { padding: 8px 2px; }
    .gal-thumbs-track { gap: 6px; padding: 2px 6px; }
    .gal-thumb { width: 56px; height: 42px; border-radius: 8px; }
    .gal-thumbs-scroll { width: 22px; font-size: .7rem; }
}

@media (max-width: 400px) {
    .gal-stage { aspect-ratio: 4 / 3; }
    .gal-thumb { width: 48px; height: 36px; border-radius: 6px; }
    .gal-arrow { width: 30px; height: 30px; font-size: .85rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LIGHTBOX â€“ Fullscreen Image Viewer
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    z-index: 10;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all .25s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lightbox-close:hover {
    background: rgba(255,255,255,.15);
    transform: rotate(90deg) scale(1.05);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all .25s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lightbox-nav:hover {
    background: rgba(255,255,255,.18);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 30px rgba(255,255,255,.06);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-content {
    position: relative;
    z-index: 5;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,.6);
    transform: scale(0.92);
    opacity: 0;
    transition: all .4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lightbox-overlay.active .lightbox-content img {
    transform: scale(1);
    opacity: 1;
}
.lightbox-content img.lb-switching {
    transform: scale(0.95);
    opacity: 0;
}

/* Info bar below lightbox image */
.lightbox-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    padding: 10px 0;
    margin-top: 12px;
}
.lightbox-info-title {
    color: rgba(255,255,255,.6);
    font-size: .82rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}
.lightbox-info-count {
    color: rgba(255,255,255,.85);
    font-size: .82rem;
    font-weight: 600;
    padding: 4px 14px;
    background: rgba(255,255,255,.08);
    border-radius: 20px;
    letter-spacing: .05em;
}

.lightbox-thumbs-strip {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    max-width: 80vw;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid rgba(255,255,255,.06);
}
.lightbox-thumbs-strip::-webkit-scrollbar { display: none; }

.lightbox-thumb {
    flex: 0 0 auto;
    width: 60px; height: 44px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: .4;
    border: 2.5px solid transparent;
    transition: all .2s ease;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumb:hover { opacity: .7; }
.lightbox-thumb.active {
    opacity: 1;
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}

/* ---- Legacy gallery classes (kept for backwards compat) ---- */
.gallery-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--gray-100);
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    overflow-x: auto;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   â”€â”€ View Detail Page: Modern Glass Cards â”€â”€
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Base Glass Card â”€â”€ */
.vd-glass-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.vd-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vd-glass-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.vd-glass-card:hover::before {
    opacity: 1;
}

/* â”€â”€ Collapsible card â”€â”€ */
.vd-collapse-trigger {
    user-select: none;
    transition: margin-bottom 0.2s;
}

.vd-collapse-trigger:hover {
    opacity: 0.85;
}

.vd-collapse-chevron {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.vd-collapse-body {
    padding-top: 1.25rem;
    animation: vdCollapseIn 0.3s ease;
}

@keyframes vdCollapseIn {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 500px; }
}

.vd-glass-card-sm {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

/* â”€â”€ Card Header â”€â”€ */
.vd-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.vd-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
}

.vd-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.vd-icon-blue {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.vd-icon-purple {
    background: linear-gradient(135deg, #ede9fe, #f5f3ff);
    color: #8b5cf6;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}

.vd-icon-green {
    background: linear-gradient(135deg, #d1fae5, #ecfdf5);
    color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.vd-icon-amber {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    color: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.vd-icon-red {
    background: linear-gradient(135deg, #fee2e2, #fef2f2);
    color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

/* â”€â”€ Description â”€â”€ */
.vd-desc-wrap {
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.vd-desc-wrap.vd-desc-collapsed {
    max-height: 180px;
}

.vd-desc-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 70%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    z-index: 1;
}

[data-bs-theme="dark"] .vd-desc-fade {
    background: linear-gradient(to bottom, rgba(30,30,46,0) 0%, rgba(30,30,46,0.85) 70%, rgba(30,30,46,1) 100%);
}

.vd-desc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.75rem;
    padding: 6px 16px;
    border-radius: 10px;
    border: 1.5px solid rgba(99,102,241,0.15);
    background: rgba(99,102,241,0.04);
    color: #6366f1;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.vd-desc-toggle:hover {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.3);
}

[data-bs-theme="dark"] .vd-desc-toggle {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.2);
    color: #818cf8;
}

.vd-description-text {
    white-space: pre-line;
    line-height: 1.85;
    color: #475569;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    padding: 4px 8px 4px 16px;
    border-left: 3px solid #a5b4fc;
    border-image: linear-gradient(to bottom, #a5b4fc, #c4b5fd) 1;
}

.vd-description-text::first-line {
    font-weight: 600;
    color: #334155;
}

[data-bs-theme="dark"] .vd-description-text {
    color: #a1a1b5;
    border-image: linear-gradient(to bottom, #6366f1, #8b5cf6) 1;
}

[data-bs-theme="dark"] .vd-description-text::first-line {
    color: #e5e5f0;
}

/* â”€â”€ Features Grid (CarGurus-style) â”€â”€ */
.vd-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.vd-feature-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background 0.2s;
}

.vd-feature-card:nth-child(odd) {
    border-right: 1px solid rgba(0,0,0,0.05);
}

.vd-feature-card:nth-last-child(-n+2) {
    border-bottom: none;
}

.vd-feature-card:hover {
    background: rgba(99,102,241,0.03);
}

.vd-feature-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #475569;
    flex-shrink: 0;
    transition: all 0.2s;
}

.vd-feature-card:hover .vd-feature-icon-wrap {
    background: #eef2ff;
    color: #6366f1;
}

.vd-feature-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vd-feature-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 2px;
}

.vd-feature-value {
    font-size: 0.85rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vd-feature-value small {
    color: #94a3b8;
}

.vd-feature-unit {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 500;
}

.vd-unit-toggle-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 0.6rem;
    color: #6366f1;
    cursor: pointer;
    margin-left: 4px;
    vertical-align: middle;
    transition: all 0.2s;
}

.vd-unit-toggle-sm:hover {
    background: #eef2ff;
    transform: scale(1.1);
}

/* â”€â”€ Unified Specs Card â”€â”€ */
.vd-specs-unified .vd-spec-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1.5px solid rgba(0,0,0,0.05);
}

.vd-specs-unified .vd-spec-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.vd-spec-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vd-spec-section-label i {
    font-size: 0.72rem;
    color: #a5b4fc;
}

/* â”€â”€ Overview List â”€â”€ */
.vd-overview-list {
    display: flex;
    flex-direction: column;
}

.vd-overview-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.vd-overview-row:last-child {
    border-bottom: none;
}

.vd-overview-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    flex-shrink: 0;
    min-width: 80px;
}

.vd-overview-value {
    font-size: 0.85rem;
    font-weight: 400;
    color: #475569;
}

/* Dark mode for Features & Overview */
[data-bs-theme="dark"] .vd-feature-card {
    border-color: rgba(255,255,255,0.06);
}
[data-bs-theme="dark"] .vd-feature-card:hover {
    background: rgba(255,255,255,0.03);
}
[data-bs-theme="dark"] .vd-feature-icon-wrap {
    background: rgba(255,255,255,0.06);
    color: #a1a1b5;
}
[data-bs-theme="dark"] .vd-feature-card:hover .vd-feature-icon-wrap {
    background: rgba(99,102,241,0.15);
    color: #818cf8;
}
[data-bs-theme="dark"] .vd-feature-label {
    color: #e5e5f0;
}
[data-bs-theme="dark"] .vd-feature-value {
    color: #a1a1b5;
}
[data-bs-theme="dark"] .vd-overview-row {
    border-color: rgba(255,255,255,0.06);
}
[data-bs-theme="dark"] .vd-overview-label {
    color: #e5e5f0;
}
[data-bs-theme="dark"] .vd-overview-value {
    color: #a1a1b5;
}
[data-bs-theme="dark"] .vd-spec-section {
    border-color: rgba(255,255,255,0.06);
}
[data-bs-theme="dark"] .vd-spec-section-label {
    color: #6b7280;
}
[data-bs-theme="dark"] .vd-spec-section-label i {
    color: #818cf8;
}
[data-bs-theme="dark"] .vd-unit-toggle-sm {
    background: rgba(255,255,255,0.08);
    color: #818cf8;
}

/* â”€â”€ Mobile: Features & Overview â”€â”€ */
@media (max-width: 575.98px) {
    .vd-features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .vd-feature-card {
        padding: 12px 8px;
        gap: 10px;
    }
    .vd-feature-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .vd-feature-label {
        font-size: 0.74rem;
    }
    .vd-feature-value {
        font-size: 0.8rem;
    }
    .vd-overview-label {
        font-size: 0.82rem;
    }
    .vd-overview-value {
        font-size: 0.82rem;
    }
    .vd-spec-section {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    .vd-spec-section-label {
        font-size: 0.65rem;
    }
}

/* â”€â”€ Specifications Grid (Legacy) â”€â”€ */
.vd-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.vd-spec-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(249, 250, 251, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.vd-spec-chip:hover {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.vd-spec-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.vd-spec-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vd-spec-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.vd-spec-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* â”€â”€ Mileage Unit Toggle â”€â”€ */
.vd-spec-mileage {
    position: relative;
    cursor: default;
}

.vd-unit-toggle {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: none;
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0;
    transform: scale(0.8);
}

.vd-spec-mileage:hover .vd-unit-toggle {
    opacity: 1;
    transform: scale(1);
}

.vd-unit-toggle:hover {
    background: rgba(59, 130, 246, 0.18);
    transform: scale(1.1) !important;
}

/* â•â•â• Price Card â•â•â• */
.vd-price-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.vd-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.vd-price-card-top {
    padding: 1.5rem 1.5rem 1rem;
}

.vd-condition-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vd-condition-new {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
}

.vd-condition-like_new {
    background: linear-gradient(135deg, #cffafe, #a5f3fc);
    color: #0891b2;
}

.vd-condition-used {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #4b5563;
}

.vd-condition-for_parts {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
}

.vd-featured-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #b45309;
}

.vd-price-display {
    font-size: 1.85rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a56db, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.vd-negotiable-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.vd-price-meta {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--gray-100);
    padding-top: 1rem;
}

.vd-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.vd-meta-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    background: var(--gray-50);
    color: var(--gray-400);
    flex-shrink: 0;
}

.vd-meta-item a:hover {
    color: var(--primary) !important;
}

/* â”€â”€ Price Card Actions â”€â”€ */
.vd-price-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vd-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    text-align: center;
}

.vd-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.vd-action-call {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.3);
}

.vd-action-call:hover {
    color: #fff;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.vd-action-message {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
}

.vd-action-message:hover {
    color: #fff;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.vd-action-offer {
    background: #fff;
    color: #b45309;
    border: 2px solid #fbbf24;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
}

.vd-action-offer:hover {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

.vd-action-callback {
    background: var(--gray-50);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.vd-action-callback:hover {
    background: #fff;
    color: var(--dark);
    border-color: var(--gray-300);
}

.vd-action-delete {
    background: #fff;
    color: var(--danger);
    border: 2px solid #fecaca;
}

.vd-action-delete:hover {
    background: #fef2f2;
    color: #b91c1c;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.15);
}

.vd-offer-status {
    text-align: center;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.vd-offer-pending { color: #b45309; background: #fffbeb; }
.vd-offer-accepted { color: #059669; background: #ecfdf5; }
.vd-offer-rejected { color: #dc2626; background: #fef2f2; }
.vd-offer-countered { color: #0891b2; background: #ecfeff; }

/* â•â•â• Share Buttons â•â•â• */
.vd-share-grid {
    display: flex;
    gap: 8px;
}

.vd-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.vd-share-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.vd-share-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
}

.vd-share-whatsapp:hover { color: #fff; }

.vd-share-facebook {
    background: linear-gradient(135deg, #1877f2, #0d65d9);
    color: #fff;
}

.vd-share-facebook:hover { color: #fff; }

.vd-share-x {
    background: linear-gradient(135deg, #333, #000);
    color: #fff;
}

.vd-share-x:hover { color: #fff; }

.vd-share-copy {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    color: var(--gray-600);
}

.vd-share-copy:hover { color: var(--dark); }

/* â•â•â• Favorite Button â•â•â• */
.vd-fav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 2px solid #fecaca;
    background: #fff;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vd-fav-btn:hover {
    background: #fef2f2;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.15);
}

.vd-fav-btn.active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

/* â•â•â• Safety Tips Card â•â•â• */
.vd-safety-card {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.5), rgba(255, 251, 235, 0.7));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 18px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.vd-safety-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.12);
}

.vd-safety-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.vd-safety-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
    position: relative;
    z-index: 1;
}

.vd-safety-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vd-safety-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--gray-600);
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.vd-safety-list li:hover {
    background: rgba(255, 255, 255, 0.85);
}

.vd-safety-list li i {
    font-size: 0.8rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.vd-safety-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #b45309;
    text-decoration: none;
    transition: all 0.2s ease;
}

.vd-safety-link:hover {
    color: #92400e;
    gap: 8px;
}

/* Safety Tips card - dark theme monochrome override */
[data-bs-theme="dark"] .vd-safety-card {
    background: var(--ezi-surface-muted, #161625);
    border: 1px solid var(--ezi-border, rgba(255, 255, 255, 0.08));
    color: var(--ezi-ink-800, #e2e8f0);
}
[data-bs-theme="dark"] .vd-safety-card::before {
    background: rgba(255, 255, 255, 0.04);
}
[data-bs-theme="dark"] .vd-safety-header h6 {
    color: var(--ezi-ink-900, #f8fafc);
}
[data-bs-theme="dark"] .vd-safety-icon {
    background: rgba(255, 255, 255, 0.10);
    color: var(--ezi-ink-900, #f8fafc);
    box-shadow: none;
}
[data-bs-theme="dark"] .vd-safety-list li {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ezi-ink-700, #cbd5e1);
}
[data-bs-theme="dark"] .vd-safety-list li:hover {
    background: rgba(255, 255, 255, 0.08);
}
[data-bs-theme="dark"] .vd-safety-list li i {
    color: var(--ezi-ink-500, #94a3b8);
}
[data-bs-theme="dark"] .vd-safety-link {
    color: var(--ezi-ink-800, #e2e8f0);
}
[data-bs-theme="dark"] .vd-safety-link:hover {
    color: #ffffff;
}

/* â•â•â• Mobile Responsive for VD Cards â•â•â• */
@media (max-width: 767.98px) {
    .vd-glass-card {
        border-radius: 16px;
        padding: 1.25rem;
    }

    .vd-price-card {
        border-radius: 16px;
    }

    .vd-price-card-top {
        padding: 1.25rem 1.25rem 0.75rem;
    }

    .vd-price-actions {
        padding: 0 1.25rem 1.25rem;
    }

    .vd-price-display {
        font-size: 1.5rem;
    }

    .vd-specs-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }

    .vd-spec-chip {
        padding: 8px 10px;
    }

    .vd-spec-icon {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
    }

    .vd-action-btn {
        padding: 11px 16px;
        border-radius: 12px;
        font-size: 0.84rem;
    }
}

/* Legacy seller-card (kept for backwards compat) */
.seller-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* â”€â”€ Modern Seller Card â”€â”€ */
.seller-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
    transition: box-shadow .25s ease, transform .25s ease;
}
.seller-card-modern:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.10);
    transform: translateY(-2px);
}

/* Header gradient */
.seller-card-header {
    height: 72px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding: 12px 16px 0;
}
.seller-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 3px 10px;
    height: fit-content;
}
.seller-type-badge.seller-type-personal {
    background: rgba(255,255,255,.15);
}

/* Avatar */
.seller-card-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-top: -38px;
    position: relative;
    z-index: 2;
}
.seller-card-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    text-decoration: none;
    position: relative;
    transition: transform .2s ease;
}
.seller-card-avatar:hover {
    transform: scale(1.05);
}
.seller-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.seller-avatar-placeholder {
    font-size: 1.75rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}
.seller-verified-tick {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

/* Body */
.seller-card-body {
    padding: 12px 20px 20px;
}

/* Rating */
.seller-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.85rem;
    color: #f59e0b;
}
.seller-rating-stars.muted {
    color: #d1d5db;
}
.seller-rating-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f2937;
    margin-left: 6px;
}

/* Stats row */
.seller-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #f8f9fb;
    border-radius: 12px;
    padding: 14px 8px;
    margin-bottom: 16px;
}
.seller-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.seller-stat-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}
.seller-stat-label {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
    margin-top: 2px;
}
.seller-stat-divider {
    width: 1px;
    height: 32px;
    background: #e5e7eb;
    flex-shrink: 0;
}

/* Info list */
.seller-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.seller-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #4b5563;
}
.seller-info-item i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    color: #9ca3af;
    flex-shrink: 0;
}
.seller-info-item.text-success i {
    color: #10b981;
}

/* Action buttons */
.seller-card-actions {
    display: flex;
    gap: 8px;
}
.seller-card-actions .btn {
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 12px;
}

/* ---- Messages ---- */
.message-list .message-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.message-list .message-item:hover {
    background: var(--gray-50);
}

.message-list .message-item.unread {
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
}

.message-bubble {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    max-width: 75%;
    font-size: 0.9rem;
}

.message-bubble.sent {
    background: var(--primary);
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.message-bubble.received {
    background: var(--gray-100);
    color: var(--dark);
    border-bottom-left-radius: 4px;
}

/* ---- Footer ---- */
.site-footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray-800) 100%);
    color: rgba(255,255,255,0.8);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* â”€â”€ Mobile Bottom Navigation Bar â”€â”€ */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 60px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    padding: 6px 0;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.mbn-item i {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.2s ease;
}
.mbn-item.active {
    color: #6366f1;
}
.mbn-item.active i {
    transform: scale(1.1);
}

/* Sell button (center, prominent) */
.mbn-sell .mbn-sell-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(99,102,241,0.35);
    margin-top: -18px;
    transition: all 0.25s ease;
}
.mbn-sell:hover .mbn-sell-btn,
.mbn-sell:active .mbn-sell-btn {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(99,102,241,0.45);
}
.mbn-sell span:last-child {
    margin-top: 0;
}

/* Unread badge on Messages */
.mbn-badge {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(14px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 100px;
    background: #ef4444;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px #fff;
}

/* Dark mode */
[data-bs-theme="dark"] .mobile-bottom-nav {
    background: rgba(38,43,56,0.95);
    border-top-color: rgba(255,255,255,0.06);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.2);
}
[data-bs-theme="dark"] .mbn-item {
    color: #6b7589;
}
[data-bs-theme="dark"] .mbn-item.active {
    color: #818cf8;
}
[data-bs-theme="dark"] .mbn-badge {
    box-shadow: 0 0 0 2px #262b38;
}

/* Add bottom padding to body on mobile so content isn't hidden behind nav */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 64px;
    }
    .site-footer {
        margin-bottom: 0;
        padding-bottom: 10px;
    }
}

/* Hide bottom nav on desktop */
@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* ---- Badges ---- */
.badge-new { background: var(--success); color: #fff; }
.badge-like_new { background: #06b6d4; color: #fff; }
.badge-used { background: var(--gray-500); color: #fff; }
.badge-for_parts { background: var(--danger); color: #fff; }

/* ---- Utilities ---- */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-400);
}

.empty-state i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.empty-state h5 {
    color: var(--gray-600);
    font-weight: 600;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

/* ---- Dropdown fix ---- */
.dropdown-menu {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: var(--gray-50);
}

/* ---- Responsive ---- */
@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 460px;
        padding: 4.5rem 0 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        /* Compact pill on phones - sits comfortably on screens 360px and up */
        padding: 0.5rem 0.85rem;
        border-radius: 18px;
        max-width: 100%;
    }
    .hero-stats .fs-4 { font-size: 1.05rem !important; }
    .hero-stats small  { font-size: 0.66rem; opacity: 0.85; }
    
    .listing-card .card-img-top,
    .listing-card .placeholder-img {
        height: 160px;
    }
    
    .gallery-main {
        height: 280px;
    }

    .gal-stage, .gallery-modern-main {
        aspect-ratio: 16 / 10;
    }

    .gal-thumb, .gallery-modern-thumb {
        width: 60px;
        height: 44px;
    }

    .gal-arrow { width: 36px; height: 36px; font-size: .95rem; opacity: 1; }
    .gal-arrow-prev { left: 8px; }
    .gal-arrow-next { right: 8px; }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-content img {
        max-height: 70vh;
        border-radius: 4px;
    }

    .lightbox-thumbs-strip {
        bottom: 12px;
        padding: 6px 8px;
        gap: 4px;
    }

    .lightbox-thumb {
        width: 44px;
        height: 34px;
        border-radius: 6px;
    }
    
    .auth-card {
        padding: 1.75rem;
        margin: 0 1rem;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        display: none;
    }
}

/* ---- Image upload preview ---- */
.image-upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
}

.image-upload-area:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.image-preview-item {
    width: 100px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ---- Animations ---- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

/* ---- Pagination ---- */
.pagination .page-link {
    border-radius: var(--radius-sm);
    margin: 0 2px;
    border: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: #fff;
}

/* ---- Listing View: Price Trend, Offers, Callback ---- */
#priceChartContainer {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

#priceStats .fw-bold {
    font-size: 0.95rem;
}

#showContactBtn {
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.02em;
}

#showContactBtn:hover {
    transform: scale(1.02);
}

.offer-quick-btn {
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   REGIONS PAGE - Modern Colorful Glassmorphism
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.rgn-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #eef2ff 0%, #e0e7ff 25%, #f0f9ff 50%, #ede9fe 75%, #fdf2f8 100%);
    background-attachment: fixed;
    position: relative;
}

.rgn-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(700px circle at 15% 25%, rgba(99,102,241,0.08) 0%, transparent 60%),
        radial-gradient(500px circle at 80% 30%, rgba(236,72,153,0.06) 0%, transparent 60%),
        radial-gradient(600px circle at 50% 80%, rgba(6,182,212,0.06) 0%, transparent 60%),
        radial-gradient(400px circle at 90% 90%, rgba(245,158,11,0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.rgn-page > *:not(style) { position: relative; z-index: 1; }

/* â”€â”€ All-Regions Hero â”€â”€ */
.rgn-hero {
    position: relative;
    padding: 3rem 0 2rem;
    overflow: hidden;
}

.rgn-hero-bg {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.rgn-hero-content {
    text-align: center;
    position: relative;
}

.rgn-hero-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 8px 32px rgba(99,102,241,0.35);
}

.rgn-hero-ring {
    position: absolute;
    border-radius: 20px;
    border: 2px solid rgba(99,102,241,0.15);
    pointer-events: none;
}

.rgn-hero-ring-1 {
    inset: -10px;
    animation: rgnRingPulse 3s ease-in-out infinite;
}

.rgn-hero-ring-2 {
    inset: -22px;
    animation: rgnRingPulse 3s ease-in-out 0.5s infinite;
    opacity: 0.5;
}

@keyframes rgnRingPulse {
    0%,100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.04); }
}

.rgn-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.35rem;
    letter-spacing: -0.5px;
}

.rgn-hero-sub {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.rgn-hero-sub strong { color: #334155; }

.rgn-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    background: rgba(99,102,241,0.08);
    font-weight: 600;
    color: #4f46e5;
    font-size: 0.82rem;
}

.rgn-hero-flag { font-size: 1rem; }

/* â”€â”€ Region Cards Grid â”€â”€ */
.rgn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.rgn-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.7);
    text-decoration: none;
    color: #1e293b;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    animation: rgnCardIn 0.4s ease forwards;
    animation-delay: var(--rgn-delay, 0s);
    opacity: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

@keyframes rgnCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.rgn-card:hover {
    background: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.9);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 0 0 1px var(--rgn-c1, #6366f1) inset;
    color: #1e293b;
}

.rgn-card-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--rgn-c1), var(--rgn-c2));
    opacity: 0;
    transition: opacity 0.3s;
}

.rgn-card:hover .rgn-card-accent { opacity: 1; }

.rgn-card-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
}

.rgn-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--rgn-bg, rgba(99,102,241,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--rgn-c2, #818cf8);
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.rgn-card:hover .rgn-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 16px var(--rgn-bg, rgba(99,102,241,0.2));
}

.rgn-card-info { flex: 1; min-width: 0; }

.rgn-card-name {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.rgn-card-meta {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 2px;
}

.rgn-card-meta i { font-size: 0.6rem; margin-right: 2px; }

.rgn-card-right {
    text-align: center;
    min-width: 44px;
}

.rgn-card-count {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--rgn-c1), var(--rgn-c2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.rgn-card-count-label {
    font-size: 0.6rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.rgn-card-arrow {
    font-size: 1.2rem;
    color: #cbd5e1;
    transition: all 0.3s;
}

.rgn-card:hover .rgn-card-arrow {
    color: var(--rgn-c2, #818cf8);
    transform: translateX(3px);
}

.rgn-card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.rgn-card:hover .rgn-card-shimmer { left: 150%; }

/* â”€â”€ Single Region Hero â”€â”€ */
.rgn-region-hero {
    position: relative;
    padding: 2rem 0 1.5rem;
    overflow: hidden;
}

.rgn-region-hero-bg {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.rgn-region-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.rgn-region-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

.rgn-region-sub {
    color: #64748b;
    font-size: 0.82rem;
    margin: 0.5rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-wrap: wrap;
}

.rgn-region-divider {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
    margin: 0 0.5rem;
}

.rgn-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 20px rgba(59,130,246,0.25);
    transition: all 0.2s ease;
}

.rgn-btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(59,130,246,0.35);
    color: #fff;
}

.rgn-section-title {
    color: #334155;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rgn-section-title i {
    color: #6366f1;
}

/* â”€â”€ City Cards â”€â”€ */
/* â”€â”€ City Cards (desktop: horizontal row, mobile: stacked) â”€â”€ */
.rgn-city-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.8);
    text-decoration: none;
    color: #1e293b;
    transition: all 0.25s ease;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.6);
}

.rgn-city-card:hover {
    background: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,1);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
    color: #1e293b;
}

.rgn-city-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--city-bg, rgba(99,102,241,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--city-c1, #6366f1);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.25s;
}

.rgn-city-card:hover .rgn-city-icon-wrap {
    transform: scale(1.08);
}

.rgn-city-info { flex: 1; min-width: 0; }

.rgn-city-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    line-height: 1.3;
}

.rgn-city-count {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 1px;
}

.rgn-city-arrow {
    font-size: 1.2rem;
    color: #cbd5e1;
    transition: all 0.25s;
    flex-shrink: 0;
}

.rgn-city-card:hover .rgn-city-arrow {
    color: var(--city-c1, #6366f1);
    transform: translateX(3px);
}

.rgn-city-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.4s;
    pointer-events: none;
}

.rgn-city-card:hover .rgn-city-shimmer { left: 150%; }

/* Mobile: stack icon on top, full-width name */
@media (max-width: 575.98px) {
    .rgn-city-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.6rem 0.85rem;
        gap: 0.4rem;
        border-radius: 14px;
    }
    .rgn-city-icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 1.05rem;
    }
    .rgn-city-name {
        font-size: 0.82rem;
        white-space: normal;
        word-break: break-word;
        line-height: 1.25;
    }
    .rgn-city-count {
        font-size: 0.68rem;
    }
    .rgn-city-arrow {
        display: none;
    }
}

/* â”€â”€ Category Quick Links â”€â”€ */
.rgn-cat-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.75);
    text-decoration: none;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 6px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.5);
}

.rgn-cat-link i:first-child {
    color: var(--cat-c, #6366f1);
    font-size: 1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(99,102,241,0.08);
    flex-shrink: 0;
}

.rgn-cat-link i:last-child {
    font-size: 0.65rem;
    color: #cbd5e1;
}

.rgn-cat-link:hover {
    background: rgba(255,255,255,0.9);
    color: #1e293b;
    border-color: rgba(255,255,255,1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .rgn-cat-link {
        padding: 0.65rem 0.85rem;
        font-size: 0.8rem;
        border-radius: 10px;
    }
    .rgn-cat-link i:first-child {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }
}

.rgn-cat-link:hover i:last-child { color: var(--cat-c, #6366f1); }

/* â”€â”€ Responsive â”€â”€ */
@media (min-width: 768px) {
    .rgn-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .rgn-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .rgn-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767.98px) {
    .rgn-hero-title { font-size: 1.5rem; }
    .rgn-hero-icon { width: 56px; height: 56px; font-size: 1.4rem; }
    .rgn-grid { grid-template-columns: 1fr; }
    .rgn-region-title { font-size: 1.3rem; }
    .rgn-region-icon { width: 38px; height: 38px; font-size: 0.95rem; }
    .rgn-btn-glow { width: 100%; justify-content: center; }
}

/* Region section on homepage (Modern) */
.region-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.rgn-card-home {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #f0f0f5;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.2s ease;
}

.rgn-card-home:hover {
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--dark);
}

.rgn-card-home-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rgn-card-home-info {
    flex: 1;
    min-width: 0;
}

.rgn-card-home-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
}

.rgn-card-home-count {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.rgn-card-home-arrow {
    font-size: 0.75rem;
    color: #d1d5db;
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.rgn-card-home:hover .rgn-card-home-arrow {
    color: var(--primary);
    transform: translateX(2px);
}

@media (max-width: 991.98px) {
    .region-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 374px) {
    .region-grid { grid-template-columns: 1fr; }
}

/* Dark mode regions */
[data-bs-theme="dark"] .rgn-card-home {
    background: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .rgn-card-home:hover {
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
[data-bs-theme="dark"] .rgn-card-home-name { color: #f1f5f9; }
[data-bs-theme="dark"] .rgn-card-home-count { color: var(--text-secondary); }
[data-bs-theme="dark"] .rgn-card-home-arrow { color: var(--surface-3); }

/* ---- Notifications ---- */
.navbar .container { overflow: visible; }
.notif-dropdown {
    border-radius: 18px !important;
    background: rgba(255,255,255,.75) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    box-shadow: 0 12px 48px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06) !important;
    border: 1px solid rgba(255,255,255,.6) !important;
    padding: 0 !important;
    max-width: min(380px, calc(100vw - 24px)) !important;
    width: 380px;
    margin: 8px 0 !important;
    overflow: hidden;
}
.notif-dropdown.show {
    display: flex;
    flex-direction: column;
}
.notif-dropdown-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.notif-dropdown-heading {
    font-size: .88rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
}
.notif-dropdown-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.notif-dropdown-actions a {
    font-size: .72rem;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    transition: color .15s;
}
.notif-dropdown-actions a:hover { color: #4f46e5; }
.notif-dropdown-footer {
    flex-shrink: 0;
    text-align: center;
    padding: 12px;
    border-top: 1px solid rgba(0,0,0,.04);
}
.notif-dropdown-footer a {
    font-size: .78rem;
    font-weight: 700;
    color: #6366f1;
    text-decoration: none;
}
.notif-dropdown-footer a:hover { text-decoration: underline; }

.notif-dropdown-list {
    max-height: 360px;
    overflow-y: auto;
    scrollbar-width: none;
    position: relative;
}
.notif-dropdown-list::-webkit-scrollbar { display: none; }

.notif-dropdown-fade {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(to top, rgba(255,255,255,.85) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.notif-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    text-decoration: none;
    color: #1e293b;
    transition: background .15s;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,.03);
}

.notif-dropdown-item:hover {
    background: rgba(99,102,241,.04);
    color: #1e293b;
}

.notif-dropdown-item.unread {
    background: rgba(99,102,241,.05);
}

.notif-dropdown-text {
    flex: 1;
    min-width: 0;
}

.notif-dropdown-title {
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-dropdown-body {
    font-size: .75rem;
    color: #64748b;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-dropdown-time {
    font-size: .68rem;
    color: #94a3b8;
    margin-top: 3px;
    font-weight: 500;
}

/* Notification icons by type */
.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    background: var(--gray-100);
    color: var(--gray-500);
}

.notif-icon-listing_view { background: #dbeafe; color: #2563eb; }
.notif-icon-message_received { background: #d1fae5; color: #059669; }
.notif-icon-listing_favorited { background: #fce7f3; color: #db2777; }
.notif-icon-listing_sold { background: #fef3c7; color: #d97706; }
.notif-icon-system { background: var(--gray-100); color: var(--gray-600); }

.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 6px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NOTIFICATIONS PAGE - Modern Glassy Tiles
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.ntf-page {
    min-height: 80vh;
    background: linear-gradient(165deg, #f5f7fc 0%, #eef2f9 25%, #f0f4ff 50%, #f8f6fc 75%, #f5f9ff 100%);
    background-attachment: fixed;
}

/* â”€â”€ Hero Header (Glassy Tile) â”€â”€ */
.ntf-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.85);
    box-shadow: 0 8px 32px rgba(59,130,246,0.08), 0 2px 8px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
}

.ntf-hero-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ntf-hero-icon {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 20px rgba(99,102,241,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}

.ntf-hero-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    border-radius: 50px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid white;
    animation: ntfBadgePulse 2s ease-in-out infinite;
}

@keyframes ntfBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ntf-hero-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    letter-spacing: -0.5px;
}

.ntf-hero-sub {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin: 0.15rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ntf-unread-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: ntfDotPulse 1.5s ease-in-out infinite;
}

@keyframes ntfDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.ntf-hero-actions {
    display: flex;
    gap: 0.5rem;
}

/* Glass Buttons */
.ntf-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(59,130,246,0.25);
    background: rgba(59,130,246,0.08);
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ntf-btn-glass:hover {
    background: rgba(59,130,246,0.14);
    color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(59,130,246,0.15);
}

.ntf-btn-glass.ntf-btn-muted {
    background: rgba(107,114,128,0.06);
    color: var(--gray-500);
    border-color: rgba(107,114,128,0.15);
}

.ntf-btn-glass.ntf-btn-muted:hover {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
    border-color: rgba(239,68,68,0.2);
}

/* â”€â”€ Filter Pills (Colorful Tiles) â”€â”€ */
.ntf-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    overflow-x: auto;
    scrollbar-width: none;
}

.ntf-filters::-webkit-scrollbar { display: none; }

.ntf-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ntf-filter-pill:hover {
    color: #2563eb;
    background: rgba(59,130,246,0.08);
    border-color: rgba(59,130,246,0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.1);
}

.ntf-filter-pill.active {
    background: rgba(59,130,246,0.12);
    color: #1d4ed8;
    border-color: rgba(59,130,246,0.25);
    box-shadow: 0 4px 16px rgba(59,130,246,0.12), inset 0 1px 0 rgba(255,255,255,0.5);
}

.ntf-filter-pill i {
    font-size: 0.85rem;
    opacity: 0.9;
}

.ntf-filter-pill .bi-bell { color: #6366f1; }
.ntf-filter-pill .bi-circle-fill {
    font-size: 0.4rem;
    color: #ef4444;
    vertical-align: middle;
}
.ntf-filter-pill .bi-eye { color: #0ea5e9; }
.ntf-filter-pill .bi-chat-dots { color: #06b6d4; }
.ntf-filter-pill .bi-heart { color: #ec4899; }
.ntf-filter-pill .bi-check-circle { color: #10b981; }

.ntf-pill-badge {
    min-width: 18px;
    height: 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(239,68,68,0.35);
}

/* â”€â”€ Date Group Labels â”€â”€ */
.ntf-date-group {
    margin-bottom: 0.5rem;
}

.ntf-date-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ntf-date-label::before,
.ntf-date-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}

.ntf-date-label span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    white-space: nowrap;
}

/* â”€â”€ Notification List â”€â”€ */
.ntf-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.ntf-item {
    position: relative;
    border-radius: 16px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.75);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
}

.ntf-item:hover {
    background: rgba(255,255,255,0.7);
    box-shadow: 0 8px 28px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.95);
    transform: translateY(-2px);
}

.ntf-item.ntf-unread {
    background: rgba(255,255,255,0.65);
    border-color: rgba(99,102,241,0.12);
    box-shadow: 0 4px 20px rgba(99,102,241,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Left accent bar for unread */
.ntf-item-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.ntf-item-link {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    padding-right: 3rem;
    text-decoration: none;
    color: var(--dark);
}

.ntf-item.ntf-unread .ntf-item-link {
    padding-left: calc(1.15rem + 3px);
}

/* Icon */
.ntf-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.35);
}

/* Content */
.ntf-item-content {
    flex: 1;
    min-width: 0;
}

.ntf-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.ntf-item-title {
    font-weight: 600;
    font-size: 0.87rem;
    line-height: 1.35;
    color: var(--dark);
}

.ntf-item.ntf-unread .ntf-item-title {
    font-weight: 700;
}

.ntf-item-time {
    font-size: 0.7rem;
    color: var(--gray-400);
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.ntf-item-body {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.35;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ntf-item-actor {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.45rem;
    font-size: 0.72rem;
    color: var(--gray-500);
    font-weight: 500;
}

.ntf-actor-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.ntf-actor-default {
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: var(--gray-400);
}

/* Unread dot */
.ntf-unread-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
    box-shadow: 0 0 8px rgba(59,130,246,0.3);
}

/* Delete button */
.ntf-item-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0;
    transition: all 0.2s ease;
    background: rgba(255,255,255,0.6);
}

.ntf-item:hover .ntf-item-delete {
    opacity: 1;
}

.ntf-item-delete:hover {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
}

/* â”€â”€ Empty State â”€â”€ */
.ntf-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem 3rem;
    gap: 0;
}
.ntf-empty > * {
    max-width: 100%;
}
.ntf-empty h1, .ntf-empty h2, .ntf-empty h3, .ntf-empty h4,
.ntf-empty p, .ntf-empty a, .ntf-empty .btn {
    margin-left: auto;
    margin-right: auto;
}
.ntf-empty p {
    line-height: 1.55;
}

.ntf-empty-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 26px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
    font-size: 2.2rem;
    color: var(--gray-300);
}

.ntf-empty-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(26,86,219,0.08);
    animation: ntfRing 3s ease-in-out infinite;
}

.ntf-ring-1 { width: 120px; height: 120px; animation-delay: 0s; }
.ntf-ring-2 { width: 160px; height: 160px; animation-delay: 1.5s; }

@keyframes ntfRing {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.5; transform: scale(1); }
}

/* Keep old notif-icon classes for dropdown compatibility */
@keyframes notifPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 767.98px) {
    .ntf-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
        border-radius: 14px;
    }
    .ntf-hero-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
    .ntf-hero-title { font-size: 1.25rem; }
    .ntf-hero-actions { width: 100%; justify-content: flex-end; }
    .ntf-filters {
        border-radius: 12px;
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px;
        overflow-x: visible;
    }
    .ntf-filter-pill {
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 10px;
        flex: 0 0 auto;
        min-width: 0;
    }
    .ntf-item { border-radius: 12px; }
    .ntf-item-link { padding: 0.85rem 1rem; padding-right: 2rem; gap: 0.7rem; }
    .ntf-item-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 0.85rem; }
    .ntf-item-title { font-size: 0.82rem; }
    .ntf-item-body { font-size: 0.75rem; }
    .ntf-item-row { flex-direction: column; gap: 0; }
    .ntf-item-time { font-size: 0.65rem; }
    .ntf-item-actor { display: none; }
}

.notif-badge.pulse {
    animation: notifPulse 0.4s ease;
}

/* ---- Settings Page (Legacy compat) ---- */
.settings-sidebar {
    position: sticky;
    top: 80px;
    overflow: hidden;
}

.settings-nav {
    display: flex;
    flex-direction: column;
}

.settings-group {
    border-bottom: 6px solid var(--gray-50);
}

.settings-group:last-child {
    border-bottom: none;
}

.settings-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.settings-link:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.settings-link.active {
    color: var(--primary);
    background: var(--primary-light);
    border-left-color: var(--primary);
    font-weight: 600;
}

.settings-link i:first-child {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.settings-content {
    overflow: hidden;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.settings-header h4 {
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.settings-form .form-floating > .form-control,
.settings-form .form-floating > .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-200);
}

.settings-form .form-floating > .form-control:focus,
.settings-form .form-floating > .form-select:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.settings-form .form-floating > label {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* Avatar */
.settings-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: var(--gray-100);
}

.settings-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
}

.avatar-edit {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 30px;
    height: 30px;
    background: var(--dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid #fff;
}

.avatar-edit:hover {
    background: var(--primary);
}

/* Toggle rows */
.settings-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.settings-toggle-row .form-check-input {
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}

.settings-toggle-row .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Business badge */
.badge-business {
    background: linear-gradient(135deg, #1a56db, #7c3aed);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   â–ˆâ–ˆ VERIFICATION BADGES â€” Personal (Blue) vs Business (Gold) â–ˆâ–ˆ
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Inline badges (next to names) â”€â”€ */
.vb-inline {
    margin-left: 4px;
    vertical-align: middle;
    font-size: 0.85em;
}
.vb-inline-user {
    color: #3b82f6;
    filter: drop-shadow(0 1px 2px rgba(59,130,246,0.3));
}
.vb-inline-biz {
    color: #f59e0b;
    filter: drop-shadow(0 1px 2px rgba(245,158,11,0.3));
}

/* â”€â”€ Avatar overlay badges (positioned on avatars) â”€â”€ */
.vb-avatar {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    z-index: 3;
    border: 2px solid #fff;
    pointer-events: none;
}
.vb-avatar-user {
    background: #3b82f6;
    color: #fff;
}
.vb-avatar-user i { font-size: 0.5rem; }
.vb-avatar-biz {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}
.vb-avatar-biz i { font-size: 0.5rem; }

/* Larger avatar variant (profile pages) */
.vb-avatar-lg {
    width: 22px;
    height: 22px;
    bottom: 4px;
    right: 4px;
}
.vb-avatar-lg i { font-size: 0.65rem; }

/* Seller page variant */
.vb-avatar-xl {
    width: 24px;
    height: 24px;
    bottom: 2px;
    right: 2px;
}
.vb-avatar-xl i { font-size: 0.7rem; }

/* â”€â”€ Comment / Post badge with text â”€â”€ */
.cmt-badge-biz-verified {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

/* â”€â”€ Dark mode â”€â”€ */
[data-bs-theme="dark"] .vb-inline-user {
    color: #60a5fa;
    filter: drop-shadow(0 1px 2px rgba(96,165,250,0.3));
}
[data-bs-theme="dark"] .vb-inline-biz {
    color: #fbbf24;
    filter: drop-shadow(0 1px 2px rgba(251,191,36,0.3));
}
[data-bs-theme="dark"] .vb-avatar {
    border-color: var(--glass-border);
}
[data-bs-theme="dark"] .cmt-badge-biz-verified {
    background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(217,119,6,0.15));
    color: #fbbf24;
}
[data-bs-theme="dark"] .cmt-badge-verified {
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(99,102,241,0.15));
    color: #60a5fa;
}

/* Legacy compat */
.badge-verified {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .settings-sidebar {
        position: static;
        margin-bottom: 1rem;
    }
}

/* =============================================
   MODERN PROFILE PAGE (glassy, light background)
   ============================================= */

.prof-page {
    background: linear-gradient(160deg, #f5f3ff 0%, #f0f4ff 30%, #f8fafc 60%, #fdf2f8 100%);
    min-height: 100vh;
}

/* â”€â”€ Hero Section â€” Modern Glassy Light â”€â”€ */
.prof-hero {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 2rem;
    background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(139,92,246,0.05) 40%, rgba(236,72,153,0.04) 100%);
    border-bottom: 1px solid rgba(99,102,241,0.08);
}

.prof-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(99,102,241,0.1), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.prof-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 10%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(236,72,153,0.07), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* Corner link â€” View Public Profile */
.prof-hero-corner-link {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(99,102,241,0.12);
    color: #6366f1;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.prof-hero-corner-link:hover {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.25);
    color: #4f46e5;
    box-shadow: 0 4px 16px rgba(99,102,241,0.12);
}

.prof-hero-inner {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}

.prof-hero-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(99,102,241,0.2);
}

.prof-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    display: block;
}

.prof-hero-avatar-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    color: #6366f1;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
}

.prof-verified-tick {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    z-index: 3;
}

.prof-hero-info {
    flex: 1;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.prof-hero-name-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.prof-hero-name {
    color: #1e1b4b;
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.02em;
}

.prof-hero-badge-verified {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    border: 1px solid rgba(5,150,105,0.15);
}

.prof-hero-badge-biz {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.22rem 0.6rem;
    border-radius: 50px;
    border: 1px solid rgba(146,64,14,0.1);
}

.prof-hero-username {
    color: #64748b;
    font-size: 0.88rem;
    margin: 0.15rem 0 0;
}

.prof-hero-location {
    color: #94a3b8;
    font-size: 0.8rem;
    margin: 0.25rem 0 0;
}
.prof-hero-location i { color: #6366f1; }

.prof-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.prof-hero-stat {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.55rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}
.prof-hero-stat:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.prof-hero-stat-num {
    color: #1e293b;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}

.prof-hero-stat-label {
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

/* Remove old hero-actions styles */
.prof-hero-actions { display: none; }

/* â”€â”€ Sidebar (glassy) â”€â”€ */
.prof-sidebar {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.5);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.prof-sidebar-group {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.prof-sidebar-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-400);
    padding: 0.5rem 1.25rem 0.25rem;
}

.prof-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.prof-sidebar-link:hover {
    background: rgba(99,102,241,0.06);
    color: var(--primary);
}

.prof-sidebar-link.active {
    color: var(--primary);
    background: rgba(99,102,241,0.1);
    border-left-color: var(--primary);
    font-weight: 600;
}

.prof-sidebar-link.text-danger:hover {
    background: #fef2f2;
}

.prof-sidebar-link.text-danger.active {
    background: #fef2f2;
    border-left-color: var(--danger);
}

.prof-sidebar-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: inherit;
    transition: var(--transition);
    flex-shrink: 0;
}

.prof-sidebar-link.active .prof-sidebar-icon {
    background: var(--primary);
    color: #fff;
}

.prof-sidebar-badge {
    margin-left: auto;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
}

.prof-sidebar-toggle {
    border: 1px solid var(--gray-200);
    font-weight: 600;
}

/* â”€â”€ Cards (glassy) â”€â”€ */
/* â”€â”€ Profile Settings Hero Banner â”€â”€ */
.ps-hero {
    background: linear-gradient(135deg, var(--ps-c1) 0%, var(--ps-c2) 100%);
    border-radius: 18px;
    padding: 26px 30px;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}
.ps-hero::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; background: rgba(255,255,255,.08); border-radius: 50%; pointer-events: none; }
.ps-hero::after { content: ''; position: absolute; bottom: -60px; left: 30%; width: 200px; height: 200px; background: rgba(255,255,255,.05); border-radius: 50%; pointer-events: none; }
.ps-hero-inner { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.ps-hero-icon { width: 48px; height: 48px; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.ps-hero-title { font-size: 1.2rem; font-weight: 800; margin: 0 0 3px; }
.ps-hero-sub { font-size: .82rem; opacity: .8; margin: 0; }

.ps-hero-blue { --ps-c1: #3b82f6; --ps-c2: #6366f1; }
.ps-hero-indigo { --ps-c1: #6366f1; --ps-c2: #8b5cf6; }
.ps-hero-purple { --ps-c1: #667eea; --ps-c2: #764ba2; }
.ps-hero-green { --ps-c1: #10b981; --ps-c2: #059669; }
.ps-hero-teal { --ps-c1: #14b8a6; --ps-c2: #0d9488; }
.ps-hero-sky { --ps-c1: #0ea5e9; --ps-c2: #6366f1; }
.ps-hero-violet { --ps-c1: #8b5cf6; --ps-c2: #7c3aed; }
.ps-hero-amber { --ps-c1: #f59e0b; --ps-c2: #d97706; }
.ps-hero-rose { --ps-c1: #f43f5e; --ps-c2: #e11d48; }
.ps-hero-slate { --ps-c1: #475569; --ps-c2: #334155; }
.ps-hero-red { --ps-c1: #ef4444; --ps-c2: #dc2626; }

/* â”€â”€ Profile Form Card (replaces old prof-card header) â”€â”€ */
.ps-form-card {
    background: #fff;
    border: 1.5px solid #f0f2f5;
    border-radius: 16px;
    overflow: hidden;
}
.ps-form-body { padding: 24px; }
.ps-label { font-size: .78rem; font-weight: 600; color: #475569; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.ps-label i { color: var(--ps-c1, #6366f1); font-size: .85rem; }
.ps-input { width: 100%; padding: 11px 16px; border: 1.5px solid #e5e7eb; border-radius: 12px; font-size: .9rem; background: #fafbfc; transition: all .2s; color: #1e293b; }
.ps-input:focus { border-color: var(--ps-c1, #6366f1); box-shadow: 0 0 0 3px rgba(99,102,241,.1); outline: none; background: #fff; }
.ps-input::placeholder { color: #cbd5e1; }
.ps-input:disabled { background: #f8fafc; color: #94a3b8; cursor: not-allowed; }
.ps-submit-area { padding: 16px 24px; background: #f8fafc; border-top: 1px solid #f0f2f5; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.ps-submit-btn { background: linear-gradient(135deg, var(--ps-c1, #6366f1), var(--ps-c2, #8b5cf6)); color: #fff; border: none; padding: 11px 26px; border-radius: 12px; font-weight: 700; font-size: .86rem; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.ps-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(99,102,241,.3); color: #fff; }
.ps-submit-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.ps-submit-hint { font-size: .75rem; color: #94a3b8; display: flex; align-items: center; gap: 4px; margin: 0; }

.ps-info-box { background: linear-gradient(135deg, #f0f9ff, #eff6ff); border: 1.5px solid #bfdbfe; border-radius: 14px; padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; }
.ps-info-box-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--ps-c1, #3b82f6), var(--ps-c2, #6366f1)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .9rem; flex-shrink: 0; }
.ps-info-box h6 { font-size: .82rem; font-weight: 700; color: #1e40af; margin: 0 0 2px; }
.ps-info-box p { font-size: .78rem; color: #3b82f6; margin: 0; line-height: 1.5; }

.ps-current { background: #fff; border: 1.5px solid #f0f2f5; border-radius: 14px; padding: 16px 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.ps-current-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--ps-c1, #6366f1), var(--ps-c2, #8b5cf6)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; flex-shrink: 0; }
.ps-current-label { font-size: .72rem; color: #94a3b8; text-transform: uppercase; font-weight: 600; letter-spacing: .3px; }
.ps-current-value { font-size: 1rem; font-weight: 700; color: #1e293b; }

.ps-section-label { font-size: .78rem; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: .4px; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1.5px solid #f0f2f5; display: flex; align-items: center; gap: 6px; }
.ps-section-label i { color: var(--ps-c1, #6366f1); }

.ps-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.ps-toggle-row + .ps-toggle-row { border-top: 1px solid #f0f2f5; }
.ps-toggle-title { font-size: .88rem; font-weight: 600; color: #1e293b; }
.ps-toggle-desc { font-size: .78rem; color: #94a3b8; margin-top: 2px; }

.ps-danger-box { background: linear-gradient(135deg, #fef2f2, #fff1f2); border: 1.5px solid #fecaca; border-radius: 14px; padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.ps-danger-icon { width: 36px; height: 36px; background: linear-gradient(135deg, #f87171, #ef4444); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .9rem; flex-shrink: 0; }
.ps-danger-box h6 { font-size: .82rem; font-weight: 700; color: #991b1b; margin: 0 0 2px; }
.ps-danger-box p { font-size: .78rem; color: #b91c1c; margin: 0; line-height: 1.5; }

.ps-delete-btn { width: 100%; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; border: none; font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ps-delete-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(239,68,68,.35); }

[data-bs-theme="dark"] .ps-hero { border: 1px solid rgba(99,102,241,.15); }
[data-bs-theme="dark"] .ps-form-card { background: rgba(30,27,75,.4); border-color: rgba(99,102,241,.12); }
[data-bs-theme="dark"] .ps-input { background: rgba(30,27,75,.3); border-color: rgba(99,102,241,.15); color: #e0e7ff; }
[data-bs-theme="dark"] .ps-input:focus { background: rgba(30,27,75,.5); border-color: #6366f1; }
[data-bs-theme="dark"] .ps-input:disabled { background: rgba(15,23,42,.3); color: #64748b; }
[data-bs-theme="dark"] .ps-submit-area { background: rgba(15,23,42,.3); border-color: rgba(99,102,241,.1); }
[data-bs-theme="dark"] .ps-current { background: rgba(30,27,75,.3); border-color: rgba(99,102,241,.12); }
[data-bs-theme="dark"] .ps-current-value { color: #e0e7ff; }
[data-bs-theme="dark"] .ps-section-label { color: #94a3b8; border-color: rgba(99,102,241,.1); }
[data-bs-theme="dark"] .ps-label { color: #94a3b8; }
[data-bs-theme="dark"] .ps-toggle-title { color: #e0e7ff; }
[data-bs-theme="dark"] .ps-info-box { background: rgba(30,27,75,.3); border-color: rgba(99,102,241,.15); }
[data-bs-theme="dark"] .ps-info-box h6 { color: #818cf8; }
[data-bs-theme="dark"] .ps-info-box p { color: #a5b4fc; }
[data-bs-theme="dark"] .ps-danger-box { background: rgba(127,29,29,.15); border-color: rgba(239,68,68,.2); }

@media (max-width: 767.98px) {
    .ps-hero { padding: 20px 18px; border-radius: 14px; }
    .ps-hero-icon { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; }
    .ps-hero-title { font-size: 1.05rem; }
    .ps-hero-sub { font-size: .76rem; }
    .ps-form-body { padding: 18px 16px; }
    .ps-submit-area { padding: 14px 16px; justify-content: center; }
    .ps-submit-btn { width: 100%; justify-content: center; }
    .ps-current { padding: 14px 16px; }
    .ps-toggle-row { gap: 12px; }
}

.prof-card {
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05), 0 0 0 1px rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.5);
    overflow: hidden;
}

.prof-card-danger {
    border-color: rgba(254,202,202,0.8);
    background: rgba(255,255,255,0.85);
}

.prof-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.prof-card-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 0.15rem;
    color: var(--dark);
}

.prof-card-subtitle {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin: 0;
}

.prof-card-body {
    padding: 1.5rem 1.75rem;
}

.prof-card-section {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.prof-card-section:last-of-type {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.prof-card-footer {
    padding: 1.25rem 1.75rem;
    background: rgba(248,250,252,0.8);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,0.04);
    display: flex;
    justify-content: flex-end;
}

.prof-section-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.prof-field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.35rem;
}

.prof-input {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.prof-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.prof-input:disabled {
    background: var(--gray-50);
    color: var(--gray-500);
}

.prof-form-narrow {
    max-width: 460px;
}

/* â”€â”€ Avatar upload â”€â”€ */
.prof-avatar-upload {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.prof-avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
}

.prof-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prof-avatar-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

/* â”€â”€ Toggle rows â”€â”€ */
.prof-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 0;
}

.prof-toggle-title {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark);
}

.prof-toggle-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.15rem;
}

.prof-toggle-row .form-check-input {
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
    border-radius: 50px;
}

.prof-toggle-row .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* â”€â”€ Verification â”€â”€ */
.prof-verify-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
}

.prof-verify-icon.verified {
    background: #d1fae5;
    color: var(--success);
}

.prof-verify-icon.pending {
    background: #fef3c7;
    color: var(--accent);
}

.prof-perk-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.35rem;
    color: var(--primary);
}

.prof-benefit-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.prof-benefit-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.prof-benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.prof-benefit-card h6 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* â”€â”€ Timeline â”€â”€ */
.prof-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 380px;
    margin: 0 auto;
    text-align: left;
}

.prof-timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    position: relative;
}

.prof-timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 2.5rem;
    bottom: -0.75rem;
    width: 2px;
    background: var(--gray-200);
}

.prof-timeline-step.completed::after {
    background: var(--success);
}

.prof-timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-200);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--gray-200);
    flex-shrink: 0;
    margin-top: 2px;
}

.prof-timeline-step.completed .prof-timeline-dot {
    background: var(--success);
    box-shadow: 0 0 0 2px var(--success);
}

.prof-timeline-step.active .prof-timeline-dot {
    background: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
    animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% { box-shadow: 0 0 0 2px var(--primary); }
    50% { box-shadow: 0 0 0 6px rgba(26,86,219,0.2); }
}

/* â”€â”€ Document type grid â”€â”€ */
.prof-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.prof-doc-option input { display: none; }

.prof-doc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
}

.prof-doc-card i {
    font-size: 1.5rem;
    color: var(--gray-500);
}

.prof-doc-option input:checked + .prof-doc-card {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.prof-doc-option input:checked + .prof-doc-card i {
    color: var(--primary);
}

/* â”€â”€ Upload zones â”€â”€ */
.prof-upload-zone {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    text-align: center;
    padding: 2rem 1rem;
    transition: var(--transition);
    background: var(--gray-50);
    cursor: pointer;
}

.prof-upload-zone:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.prof-upload-zone.has-file {
    border-color: var(--success);
    border-style: solid;
    background: #f0fdf4;
}

.prof-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.prof-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.prof-upload-content > i {
    font-size: 2rem;
    color: var(--gray-400);
}

.prof-upload-preview-img {
    max-height: 100px;
    max-width: 100%;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.prof-upload-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-600);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Settings toggle button (mobile) */
.prof-sidebar-toggle {
    border-radius: 14px !important;
    background: rgba(255,255,255,0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(99,102,241,0.1) !important;
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.7rem 1rem !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.prof-sidebar-toggle:hover {
    border-color: rgba(99,102,241,0.2) !important;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 991.98px) {
    .prof-sidebar {
        position: static;
    }
    .prof-hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .prof-hero-name-row {
        justify-content: center;
    }
    .prof-hero-stats {
        justify-content: center;
    }
    .prof-hero-corner-link {
        position: relative;
        top: auto;
        right: auto;
        display: inline-flex;
        margin-bottom: 1rem;
    }
    .prof-card-footer {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .prof-hero {
        padding: 1.25rem 0 1.15rem;
    }
    .prof-hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .prof-hero-corner-link {
        margin-bottom: 0.75rem;
        font-size: 0.7rem;
        padding: 5px 12px;
    }
    .prof-hero-avatar {
        width: 80px;
        height: 80px;
    }
    .prof-hero-avatar-ph {
        font-size: 1.6rem;
    }
    .prof-hero-name {
        font-size: 1.2rem;
    }
    .prof-hero-name-row {
        gap: 0.4rem;
    }
    .prof-hero-badge-verified {
        font-size: 0.62rem;
        padding: 0.2rem 0.55rem;
    }
    .prof-hero-badge-biz {
        font-size: 0.6rem;
        padding: 0.18rem 0.5rem;
    }
    .prof-hero-username {
        font-size: 0.8rem;
    }
    .prof-hero-location {
        font-size: 0.75rem;
    }
    .prof-hero-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.45rem;
        margin-top: 0.75rem;
        width: 100%;
    }
    .prof-hero-stat {
        padding: 0.45rem 0.3rem;
        border-radius: 12px;
        align-items: center;
        text-align: center;
        min-width: 0;
    }
    .prof-hero-stat-num {
        font-size: 0.95rem;
    }
    .prof-hero-stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.3px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }
    .prof-card-header,
    .prof-card-section,
    .prof-card-body,
    .prof-card-footer {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }
    .prof-sidebar-toggle {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* =============================================
   CONTACT PAGE
   ============================================= */

/* â”€â”€ Hero â”€â”€ */
.ct-hero {
    background: linear-gradient(135deg, #111827 0%, #1e293b 50%, #0f3460 100%);
    padding: 7rem 0 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.ct-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,24,39,0.95) 0%, rgba(15,20,40,0.7) 100%);
    z-index: 1;
}

.ct-hero-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.ct-hero-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    max-width: 550px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.ct-breadcrumb {
    margin-bottom: 0;
}

.ct-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s;
}

.ct-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.ct-breadcrumb .breadcrumb-item.active {
    color: var(--accent);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.ct-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: rgba(255,255,255,0.25);
    font-weight: 300;
}

/* â”€â”€ Section label â”€â”€ */
.ct-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--danger);
}

.ct-label-line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--danger);
}

/* â”€â”€ Form card â”€â”€ */
.ct-form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    border: 1px solid var(--gray-100);
}

.ct-field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.35rem;
}

.ct-input {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.ct-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.ct-submit-btn {
    background: var(--danger);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.ct-submit-btn:hover {
    background: #dc2626;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.ct-submit-btn:disabled {
    opacity: 0.7;
    transform: none;
}

.ct-btn-success {
    background: var(--success) !important;
}

/* â”€â”€ Department tabs â”€â”€ */
.ct-dept-tabs {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
}

.ct-dept-tab {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ct-dept-tab.active {
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
}

.ct-dept-tab:hover:not(.active) {
    color: var(--primary);
}

/* â”€â”€ Info panel â”€â”€ */
.ct-info-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ct-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: flex-start;
}
.ct-info-item > div:last-child {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ct-info-item:last-child {
    border-bottom: none;
}

.ct-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--danger);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ct-info-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 0.2rem;
}

.ct-info-value {
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.6;
}

.ct-info-value a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.ct-info-value a:hover {
    text-decoration: underline;
}

/* â”€â”€ Social â”€â”€ */
.ct-social-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
}

.ct-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.ct-social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* â”€â”€ Map â”€â”€ */
.ct-map-section {
    padding: 0 0 3rem;
}

.ct-map-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.ct-map-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
}

.ct-map-frame {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.ct-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 991.98px) {
    .ct-hero {
        padding: 6rem 0 1.75rem;
    }
    .ct-hero-title {
        font-size: 1.6rem;
    }
    .ct-form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .ct-hero {
        padding: 5.5rem 0 1.25rem;
    }
    .ct-hero-title {
        font-size: 1.35rem;
        letter-spacing: 0.5px;
    }
    .ct-dept-tabs {
        flex-direction: column;
    }
    .ct-dept-tab.active {
        border-radius: var(--radius-sm);
    }
    .ct-map-frame {
        height: 280px;
    }
}

/* ---- Wizard ---- */

/* Step indicator track */
.wizard-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 1.25rem 0;
    position: relative;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: default;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.wizard-step-label {
    font-size: 0.72rem;
    color: var(--gray-400);
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.wizard-step-icon { display: none; }

.wizard-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--gray-400);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid var(--gray-200);
    position: relative;
}

.wizard-step.active .wizard-step-num {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.18), 0 4px 16px rgba(99, 102, 241, 0.25);
    transform: scale(1.1);
}

.wizard-step.active .wizard-step-label {
    color: #6366f1;
    font-weight: 700;
}

.wizard-step.completed .wizard-step-num {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.wizard-step.completed .wizard-step-label {
    color: #10b981;
    font-weight: 600;
}

.wizard-step-line {
    flex: 1;
    height: 3px;
    background: var(--gray-200);
    margin: 0 0.3rem;
    margin-top: 19px;
    max-width: 60px;
    border-radius: 3px;
    transition: background 0.4s ease;
    position: relative;
    z-index: 1;
}

.wizard-step.completed + .wizard-step-line {
    background: linear-gradient(90deg, #10b981, #34d399);
}

/* Glassmorphism wizard panels */
.wizard-panel {
    animation: wizPanelIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes wizPanelIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.wiz-glass {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    padding: 1.75rem;
}

.wiz-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.wiz-header-icon.wiz-icon-purple { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.wiz-header-icon.wiz-icon-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.wiz-header-icon.wiz-icon-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.wiz-header-icon.wiz-icon-amber { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.wiz-header-icon.wiz-icon-green { background: linear-gradient(135deg, #10b981, #34d399); }
.wiz-header-icon.wiz-icon-cyan { background: linear-gradient(135deg, #06b6d4, #22d3ee); }

/* Wizard Category Cards â€” Colorful */
.wizard-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.wizard-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cat-gradient, linear-gradient(135deg, #6366f1, #8b5cf6));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.wizard-cat-card:hover::before { opacity: 0.06; }
.wizard-cat-card.selected::before { opacity: 0.1; }

.wizard-cat-card:hover {
    border-color: var(--cat-color, #6366f1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.wizard-cat-card.selected {
    border-color: var(--cat-color, #6366f1);
    box-shadow: 0 0 0 3px var(--cat-glow, rgba(99, 102, 241, 0.18)), 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.wizard-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: var(--cat-gradient, linear-gradient(135deg, #6366f1, #8b5cf6));
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.wizard-cat-card:hover .wizard-cat-icon,
.wizard-cat-card.selected .wizard-cat-icon { transform: scale(1.08); }

.wizard-cat-card span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

/* Subcategory cards â€” pill/chip style */
.wizard-subcat-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    border-left: 3px solid var(--bs-primary, #6366f1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wizard-subcat-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    border-left-color: #6366f1;
    background: rgba(99, 102, 241, 0.06);
    transform: translateX(3px);
}

.wizard-subcat-card.selected {
    border-color: rgba(99, 102, 241, 0.4);
    border-left-color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.1);
}

.wizard-subcat-card i {
    font-size: 1.1rem;
    color: #6366f1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.08);
    flex-shrink: 0;
}

.wizard-subcat-card span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
}

.wizard-subcat-other {
    border-style: dashed;
    border-left-style: dashed;
    border-left-color: var(--gray-300);
}
.wizard-subcat-other i { background: rgba(0,0,0,0.04); color: var(--gray-400); }
.wizard-subcat-other span { color: var(--gray-500); }
.wizard-subcat-other:hover,
.wizard-subcat-other.selected {
    border-left-color: #8b5cf6;
}
.wizard-subcat-other:hover i,
.wizard-subcat-other.selected i { color: #8b5cf6; background: rgba(139, 92, 246, 0.08); }
.wizard-subcat-other:hover span,
.wizard-subcat-other.selected span { color: var(--dark); }

.attr-other-input {
    border-style: dashed;
    font-size: 0.9rem;
    border-radius: 10px;
}
.attr-other-input:focus { border-style: solid; }

/* Wizard Upload Zone */
.wizard-upload-zone {
    border: 2px dashed var(--gray-300);
    border-radius: 16px;
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.wizard-upload-zone i.bi-cloud-arrow-up {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: transform 0.4s ease;
}

.wizard-upload-zone:hover i.bi-cloud-arrow-up,
.wizard-upload-zone.dragover i.bi-cloud-arrow-up {
    transform: translateY(-4px);
}

.wizard-upload-zone:hover, .wizard-upload-zone.dragover {
    border-color: #6366f1;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.04);
    border-image: linear-gradient(135deg, #6366f1, #8b5cf6) 1;
    border-image: none;
    border-color: #8b5cf6;
}

.wizard-photo-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6366f1;
    margin-top: 8px;
}

/* Wizard Photo Grid */
.wizard-photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.wizard-photo-item {
    width: 120px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: grab;
    border: 2px solid rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.wizard-photo-item:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
}

.wizard-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wizard-photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(239,68,68,0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.wizard-photo-rotate {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: rgba(99,102,241,0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}
.wizard-photo-rotate:hover { background: rgba(79,70,229,1); }

.wizard-photo-item:hover .wizard-photo-remove,
.wizard-photo-item:hover .wizard-photo-rotate { opacity: 1; }

.wizard-photo-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a1a2e;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sortable-ghost {
    opacity: 0.35;
    border: 2px dashed #6366f1;
    border-radius: 12px;
}
.sortable-chosen {
    box-shadow: 0 8px 24px rgba(99,102,241,0.25);
    transform: scale(1.05);
    z-index: 10;
}
.sortable-drag { opacity: 0.9; }

.wizard-photo-drag {
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    opacity: 0.7;
    transition: all 0.2s;
    touch-action: none;
}
.wizard-photo-drag:active { cursor: grabbing; }
.wizard-photo-item:hover .wizard-photo-drag {
    opacity: 1;
    background: rgba(99,102,241,0.85);
}

/* Upload progress card */
.upload-progress-card {
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.12);
    border-radius: 14px;
    padding: 14px 16px;
}
.upload-progress-label { font-size: 0.82rem; font-weight: 600; color: #334155; }
.upload-progress-pct { font-size: 0.78rem; font-weight: 700; color: #6366f1; }
.upload-progress-bar {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    border-radius: 100px;
    background-size: 200% 100%;
    animation: uploadBarShimmer 1.5s ease infinite;
}
@keyframes uploadBarShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.upload-progress-bar.bg-success {
    background: linear-gradient(90deg, #10b981, #34d399) !important;
    animation: none;
}

.upload-success-toast {
    margin-top: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 12px;
    color: #065f46;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: toastSlideIn 0.35s ease;
}
.upload-success-toast i { font-size: 1.15rem; color: #10b981; }
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.drag-reorder-hint {
    font-size: 0.78rem;
    color: #6366f1;
    font-weight: 600;
    padding: 8px 14px;
    background: rgba(99,102,241,0.06);
    border-radius: 10px;
    border: 1px dashed rgba(99,102,241,0.2);
    animation: toastSlideIn 0.3s ease;
}

/* Tag chips for auto-suggestions */
.wiz-tag-area {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.wiz-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.wiz-tag-chip.suggested {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    border-color: rgba(99, 102, 241, 0.15);
}

.wiz-tag-chip.suggested:hover {
    background: rgba(99, 102, 241, 0.15);
}

.wiz-tag-chip.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
}

.wiz-tag-chip .tag-remove {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 2px;
}
.wiz-tag-chip .tag-remove:hover { opacity: 1; }

.wiz-tag-input {
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 4px 10px;
    font-size: 0.78rem;
    outline: none;
    min-width: 100px;
    background: transparent;
    color: var(--dark);
}
.wiz-tag-input:focus {
    border-color: #6366f1;
    border-style: solid;
}

/* Navigation buttons */
.wiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    gap: 0.75rem;
}

.wiz-nav .btn {
    border-radius: 14px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.wiz-nav .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.2);
}
.wiz-nav .btn-primary:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}

/* Dark mode wizard */
[data-bs-theme="dark"] .wiz-glass {
    background: rgba(47, 53, 69, 0.88);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-color: rgba(62, 69, 87, 0.5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
[data-bs-theme="dark"] .wizard-step-num {
    background: rgba(47, 53, 69, 0.88);
    border-color: rgba(62, 69, 87, 0.5);
}
[data-bs-theme="dark"] .wizard-step-line { background: rgba(62, 69, 87, 0.5); }
[data-bs-theme="dark"] .wizard-cat-card {
    background: rgba(47, 53, 69, 0.6);
    border-color: rgba(62, 69, 87, 0.4);
}
[data-bs-theme="dark"] .wizard-cat-card:hover,
[data-bs-theme="dark"] .wizard-cat-card.selected {
    border-color: var(--cat-color, #818cf8);
}
[data-bs-theme="dark"] .wizard-cat-card span { color: #e5e5f0; }
[data-bs-theme="dark"] .wizard-subcat-card {
    background: rgba(47, 53, 69, 0.6);
    border-color: rgba(62, 69, 87, 0.4);
    border-left-color: #818cf8;
}
[data-bs-theme="dark"] .wizard-subcat-card:hover,
[data-bs-theme="dark"] .wizard-subcat-card.selected {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
    border-left-color: #818cf8;
}
[data-bs-theme="dark"] .wizard-subcat-card span { color: #e5e5f0; }
[data-bs-theme="dark"] .wizard-upload-zone {
    background: rgba(47, 53, 69, 0.4);
    border-color: rgba(62, 69, 87, 0.5);
}
[data-bs-theme="dark"] .wizard-upload-zone:hover,
[data-bs-theme="dark"] .wizard-upload-zone.dragover {
    background: rgba(99, 102, 241, 0.08);
    border-color: #818cf8;
}
[data-bs-theme="dark"] .wizard-photo-item { border-color: rgba(62, 69, 87, 0.5); }
[data-bs-theme="dark"] .wizard-photo-count { background: rgba(99, 102, 241, 0.15); color: #a78bfa; }
[data-bs-theme="dark"] .upload-progress-card {
    background: rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.2);
}
[data-bs-theme="dark"] .upload-progress-label { color: var(--text-secondary); }
[data-bs-theme="dark"] .upload-success-toast {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.2);
    color: #6ee7b7;
}
[data-bs-theme="dark"] .upload-success-toast i { color: #34d399; }
[data-bs-theme="dark"] .drag-reorder-hint {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.15);
    color: #a78bfa;
}
[data-bs-theme="dark"] .wiz-tag-chip.suggested {
    background: rgba(99, 102, 241, 0.15);
    color: #a78bfa;
    border-color: rgba(99, 102, 241, 0.25);
}
[data-bs-theme="dark"] .wiz-tag-input {
    border-color: rgba(255, 255, 255, 0.08);
    color: #e5e5f0;
}

/* Mobile responsive wizard */
@media (max-width: 575.98px) {
    .wizard-steps { gap: 0; }
    .wizard-step-label { display: none; }
    .wizard-step-icon { display: block; font-size: 0.7rem; color: var(--gray-400); font-weight: 600; }
    .wizard-step.active .wizard-step-icon { color: #6366f1; }
    .wizard-step.completed .wizard-step-icon { color: #10b981; }
    .wizard-step-num { width: 34px; height: 34px; font-size: 0.8rem; }
    .wizard-step-line { max-width: 24px; margin-top: 16px; }
    .wiz-glass { padding: 1.15rem; border-radius: 16px; }
    .wiz-header-icon { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }
    .wizard-cat-card { padding: 0.9rem 0.5rem; border-radius: 12px; }
    .wizard-cat-icon { width: 40px; height: 40px; font-size: 1.25rem; border-radius: 10px; }
    .wizard-cat-card span { font-size: 0.7rem; }
    .wizard-subcat-card { padding: 0.6rem 0.75rem; border-radius: 10px; }
    .wizard-subcat-card i { width: 28px; height: 28px; font-size: 0.95rem; border-radius: 6px; }
    .wizard-subcat-card span { font-size: 0.8rem; }
    .wizard-photo-item { width: 90px; height: 75px; border-radius: 8px; }
    .wizard-photo-remove,
    .wizard-photo-rotate { width: 20px; height: 20px; font-size: 0.65rem; opacity: 1; }
    .wizard-photo-drag { opacity: 1; width: 20px; height: 20px; font-size: 0.65rem; }
    .wiz-nav { flex-direction: column-reverse; }
    .wiz-nav .btn { width: 100%; justify-content: center; }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .wizard-step-line { max-width: 40px; }
    .wizard-step-label { font-size: 0.65rem; }
    .wiz-glass { padding: 1.35rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADMIN REVIEW QUEUE  (rq-*)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.rq-page { min-height: 100vh; padding-bottom: 60px; }
.rq-hero { background: linear-gradient(135deg, #f59e0b 0%, #d97706 40%, #b45309 100%); padding: 26px 0; border-radius: 0 0 24px 24px; margin-bottom: 24px; }
.rq-hero-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
.rq-hero-icon { width: 50px; height: 50px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; flex-shrink: 0; }
.rq-hero h2 { color: #fff; font-weight: 800; font-size: 1.4rem; margin: 0; }
.rq-hero p { color: rgba(255,255,255,.75); font-size: .85rem; margin: 0; }
.rq-hero-actions { display: flex; gap: 8px; }
.rq-hero-btn { display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; border-radius: 10px; background: rgba(255,255,255,.18); color: #fff; font-size: .78rem; font-weight: 600; text-decoration: none; transition: all .2s; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); }
.rq-hero-btn:hover { background: rgba(255,255,255,.3); color: #fff; }

/* Empty state */
.rq-empty { max-width: 500px; margin: 40px auto; text-align: center; padding: 60px 24px; background: var(--card-bg, #fff); border-radius: 18px; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.rq-empty-icon { font-size: 3rem; color: #10b981; margin-bottom: 12px; }
.rq-empty h5 { font-weight: 700; color: var(--text-primary, #1e293b); margin-bottom: 4px; }
.rq-empty p { color: var(--text-muted, #94a3b8); font-size: .88rem; }

/* Bulk bar */
.rq-bulk-bar { max-width: 1100px; margin: 0 auto 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--card-bg, #fff); border: 1px solid var(--border-color, #f0f2f5); border-radius: 14px; padding: 12px 20px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.rq-check-wrap { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--text-secondary, #475569); cursor: pointer; }
.rq-bulk-actions { display: flex; gap: 8px; }
.rq-btn-approve-bulk { display: inline-flex; align-items: center; gap: 4px; padding: 7px 16px; border-radius: 10px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: none; font-size: .78rem; font-weight: 700; cursor: pointer; transition: all .2s; }
.rq-btn-approve-bulk:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,.3); }
.rq-btn-reject-bulk { display: inline-flex; align-items: center; gap: 4px; padding: 7px 16px; border-radius: 10px; background: transparent; color: #ef4444; border: 1.5px solid #fca5a5; font-size: .78rem; font-weight: 700; cursor: pointer; transition: all .2s; }
.rq-btn-reject-bulk:hover { background: #fef2f2; border-color: #ef4444; }
.rq-sel-count { font-size: .78rem; color: var(--text-muted, #94a3b8); font-weight: 600; margin-left: auto; }

/* Listing card */
.rq-card { max-width: 1100px; margin: 0 auto 14px; background: var(--card-bg, #fff); border: 1px solid var(--border-color, #f0f2f5); border-radius: 16px; padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; transition: all .2s; box-shadow: 0 1px 4px rgba(0,0,0,.03); }
.rq-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); border-color: #e2e8f0; }
.rq-card-check { flex-shrink: 0; padding-top: 4px; }
.rq-card-img { flex-shrink: 0; width: 130px; height: 96px; border-radius: 12px; overflow: hidden; }
.rq-card-img img { width: 100%; height: 100%; object-fit: cover; }
.rq-card-img-empty { width: 100%; height: 100%; background: var(--surface-2, #f1f5f9); display: flex; align-items: center; justify-content: center; color: var(--text-muted, #cbd5e1); font-size: 1.5rem; }
.rq-card-body { flex: 1; min-width: 0; }
.rq-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.rq-card-title { font-size: .95rem; font-weight: 700; color: var(--text-primary, #1e293b); text-decoration: none; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rq-card-title:hover { color: #4f46e5; }

/* Card action buttons */
.rq-card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.rq-btn-approve { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 10px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: none; font-size: .78rem; font-weight: 700; cursor: pointer; transition: all .2s; }
.rq-btn-approve:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(16,185,129,.3); }
.rq-btn-edit { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 10px; background: var(--surface-2, #f1f5f9); color: var(--text-secondary, #475569); border: 1.5px solid var(--border-color, #e2e8f0); font-size: .78rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all .2s; }
.rq-btn-edit:hover { background: #eef2ff; border-color: #6366f1; color: #4f46e5; }
.rq-btn-reject { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: transparent; color: #ef4444; border: 1.5px solid #fecaca; font-size: .82rem; cursor: pointer; transition: all .2s; }
.rq-btn-reject:hover { background: #fef2f2; border-color: #ef4444; }

/* Card meta / tags */
.rq-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.rq-badge-cat { display: inline-block; padding: 2px 10px; border-radius: 8px; font-size: .7rem; font-weight: 700; background: linear-gradient(135deg, #eef2ff, #e0e7ff); color: #4338ca; }
.rq-badge-sub { display: inline-block; padding: 2px 10px; border-radius: 8px; font-size: .7rem; font-weight: 600; background: var(--surface-2, #f1f5f9); color: var(--text-secondary, #64748b); }
.rq-price { font-size: .82rem; font-weight: 700; color: #059669; }
.rq-location { font-size: .75rem; color: var(--text-muted, #94a3b8); }
.rq-location i { font-size: .7rem; }
.rq-card-seller { font-size: .75rem; color: var(--text-muted, #94a3b8); margin-bottom: 6px; }
.rq-card-seller strong { color: var(--text-secondary, #475569); }
.rq-approved-count { color: #10b981; font-weight: 600; }
.rq-card-desc { font-size: .78rem; color: var(--text-muted, #94a3b8); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.rq-card-attrs { display: flex; flex-wrap: wrap; gap: 6px; }
.rq-attr { display: inline-flex; align-items: center; gap: 3px; font-size: .7rem; color: var(--text-secondary, #64748b); background: var(--surface-2, #f8fafc); border: 1px solid var(--border-color, #f0f2f5); padding: 2px 8px; border-radius: 6px; }
.rq-attr i { font-size: .65rem; color: var(--text-muted, #94a3b8); }

/* Dark mode */
[data-bs-theme="dark"] .rq-card { background: #1e293b; border-color: #334155; }
[data-bs-theme="dark"] .rq-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.2); }
[data-bs-theme="dark"] .rq-card-title { color: #e2e8f0; }
[data-bs-theme="dark"] .rq-card-title:hover { color: #818cf8; }
[data-bs-theme="dark"] .rq-bulk-bar { background: #1e293b; border-color: #334155; }
[data-bs-theme="dark"] .rq-empty { background: #1e293b; }
[data-bs-theme="dark"] .rq-btn-edit { background: #0f172a; border-color: #334155; color: #94a3b8; }
[data-bs-theme="dark"] .rq-badge-cat { background: #312e81; color: #a5b4fc; }
[data-bs-theme="dark"] .rq-badge-sub { background: #334155; color: #94a3b8; }
[data-bs-theme="dark"] .rq-attr { background: #0f172a; border-color: #334155; }

/* Reject modal theming */
.rq-quick-reasons { display: flex; flex-wrap: wrap; gap: 6px; }
.rq-quick-reason { padding: 5px 12px; border-radius: 8px; border: 1.5px solid var(--border-color, #e2e8f0); background: var(--surface-2, #f8fafc); color: var(--text-secondary, #475569); font-size: .75rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.rq-quick-reason:hover { border-color: #6366f1; background: #eef2ff; color: #4338ca; }

/* â”€â”€â”€ Mobile responsive â”€â”€â”€ */
@media (max-width: 768px) {
    .rq-hero-inner { flex-wrap: wrap; padding: 0 16px; }
    .rq-hero-actions { width: 100%; justify-content: flex-start; margin-top: 8px; }
    .rq-hero h2 { font-size: 1.15rem; }
    .rq-bulk-bar { padding: 10px 14px; gap: 10px; }
    .rq-bulk-actions { width: 100%; }
    .rq-btn-approve-bulk, .rq-btn-reject-bulk { flex: 1; justify-content: center; }
    .rq-card { flex-direction: column; padding: 14px; gap: 12px; }
    .rq-card-check { position: absolute; top: 14px; left: 14px; z-index: 2; }
    .rq-card { position: relative; padding-left: 40px; }
    .rq-card-img { width: 100%; height: 180px; }
    .rq-card-top { flex-direction: column; gap: 8px; }
    .rq-card-actions { width: 100%; }
    .rq-btn-approve, .rq-btn-edit { flex: 1; justify-content: center; padding: 8px 10px; }
    .rq-btn-reject { flex-shrink: 0; }
    .rq-card-meta { gap: 6px; }
    .rq-sel-count { margin-left: 0; }
}
@media (max-width: 480px) {
    .rq-hero-inner { flex-direction: column; text-align: center; }
    .rq-hero-actions { justify-content: center; }
    .rq-card-img { height: 150px; }
}

/* ---- Super Admin / User Sidebar ---- */
.sa-sidebar {
    width: 280px !important;
    border-right: none !important;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.75) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 8px 0 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(255,255,255,0.3) inset;
}

.sa-sidebar .offcanvas-header,
.sa-sidebar .offcanvas-body {
    padding: 0;
}

.sa-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.sa-sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-light);
}

.sa-sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sa-sidebar-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.sa-sidebar-role-badge {
    display: inline-block;
    margin-top: 2px;
}

.sa-sidebar-role-badge .badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.45rem;
}

.sa-sidebar-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-200) transparent;
}

.sa-sidebar-body::-webkit-scrollbar {
    width: 4px;
}

.sa-sidebar-body::-webkit-scrollbar-track {
    background: transparent;
}

.sa-sidebar-body::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 2px;
}

.sa-sidebar-body::-webkit-scrollbar-thumb:hover {
    background: var(--gray-300);
}

.sa-sidebar-group {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.sa-sidebar-group:last-child {
    border-bottom: none;
}

.sa-sidebar-group-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    padding: 0.75rem 1.25rem 0.35rem;
}

.sa-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.sa-sidebar-link:hover {
    background: rgba(99,102,241,0.06);
    color: var(--primary);
    border-left-color: transparent;
}

.sa-sidebar-link.active {
    color: var(--primary);
    background: rgba(99,102,241,0.1);
    border-left-color: var(--primary);
    font-weight: 600;
}

.sa-sidebar-link i:first-child {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sa-sidebar-link .badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.45rem;
    font-weight: 600;
}

.sa-sidebar-footer {
    flex-shrink: 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 0.5rem 0;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sa-sidebar-logout {
    color: var(--danger) !important;
}

.sa-sidebar-logout:hover {
    background: #fef2f2 !important;
    color: var(--danger) !important;
}

.sa-sidebar-link-sm {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1.25rem;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.sa-sidebar-link-sm:hover {
    color: var(--gray-600);
    background: var(--gray-100);
}

.sa-sidebar ~ .offcanvas-backdrop,
.sa-sidebar + .offcanvas-backdrop {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background-color: rgba(0,0,0,0.2) !important;
}

@media (max-width: 575.98px) {
    .sa-sidebar {
        width: 100% !important;
    }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }


/* =======================================================
   MODERN MESSAGING HUB
   ======================================================= */

/* â”€â”€ Hub Layout â”€â”€ */
.msg-hub {
    display: flex;
    height: calc(100vh - 64px);
    background: #fff;
    overflow: hidden;
    border-top: 1px solid var(--gray-200);
}

.msg-sidebar {
    width: 380px;
    min-width: 320px;
    max-width: 420px;
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    background: #fcfcfd;
}

.msg-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f8f9fb;
}

/* â”€â”€ Quick Nav Bar (inside messages) â”€â”€ */
.msg-quick-nav {
    display: flex;
    gap: 2px;
    margin: -1.25rem -1.25rem 0.85rem;
    padding: 6px 8px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.msg-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    flex: 1;
    padding: 8px 4px 6px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}
.msg-nav-btn i {
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}
.msg-nav-btn:hover {
    background: rgba(99,102,241,0.08);
    color: #6366f1;
}
.msg-nav-btn:hover i {
    transform: translateY(-1px);
}

[data-bs-theme="dark"] .msg-quick-nav {
    background: linear-gradient(135deg, var(--surface-1) 0%, var(--surface-2) 100%);
    border-bottom-color: var(--border-color);
}
[data-bs-theme="dark"] .msg-nav-btn {
    color: var(--text-muted);
}
[data-bs-theme="dark"] .msg-nav-btn:hover {
    background: rgba(99,102,241,0.12);
    color: #818cf8;
}

/* â”€â”€ Sidebar Header â”€â”€ */
.msg-sidebar-header {
    padding: 1.25rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--gray-100);
    background: #fff;
}

.msg-search-wrap {
    position: relative;
}

.msg-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.85rem;
}

.msg-search {
    padding-left: 2.25rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.msg-search:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

/* â”€â”€ Conversation List â”€â”€ */
.msg-conv-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.msg-conv-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-50);
    transition: all 0.15s;
    position: relative;
}

.msg-conv-item:hover {
    background: var(--gray-50);
}

.msg-conv-item.active {
    background: #eef2ff;
    border-right: 3px solid var(--primary);
}

.msg-conv-item.unread {
    background: #fefce8;
}

.msg-conv-item.unread .msg-conv-name {
    font-weight: 700;
}

.msg-conv-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.msg-conv-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msg-conv-avatar i {
    font-size: 1.3rem;
    color: var(--gray-400);
}

.msg-conv-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #fff;
}

.msg-conv-body {
    flex: 1;
    min-width: 0;
}

.msg-conv-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.msg-conv-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.msg-conv-time {
    font-size: 0.72rem;
    color: var(--gray-400);
    flex-shrink: 0;
    white-space: nowrap;
}

.msg-conv-listing {
    font-size: 0.72rem;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-conv-preview {
    font-size: 0.8rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-conv-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 5px;
}

/* â”€â”€ Empty State â”€â”€ */
.msg-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.msg-empty-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.msg-empty-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.msg-empty-state h4 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

/* â”€â”€ Chat Container â”€â”€ */
.msg-chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* â”€â”€ Chat Header â”€â”€ */
.msg-chat-header {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    gap: 0.5rem;
    min-height: 64px;
}

.msg-chat-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.msg-avatar-md {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.msg-avatar-md img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msg-avatar-md i {
    font-size: 1.2rem;
    color: var(--gray-400);
}

.msg-chat-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-ghost {
    background: none;
    border: none;
    color: var(--gray-500);
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    transition: all 0.15s;
    cursor: pointer;
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* â”€â”€ Listing Banner â”€â”€ */
.msg-listing-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
}

.msg-listing-thumb {
    width: 50px;
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* â”€â”€ Messages Area â”€â”€ */
.msg-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.msg-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.msg-date-sep {
    text-align: center;
    padding: 0.75rem 0;
}

.msg-date-sep span {
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* â”€â”€ Message Bubbles â”€â”€ */
.msg-bubble-wrap {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    max-width: 72%;
    position: relative;
    transition: background 0.3s;
}

.msg-bubble-wrap.mine {
    margin-left: auto;
    flex-direction: row-reverse;
}

.msg-bubble-wrap.theirs {
    margin-right: auto;
}

.msg-bubble-wrap.msg-highlight {
    animation: msgHighlight 1.5s ease;
}

@keyframes msgHighlight {
    0%, 100% { background: transparent; }
    30% { background: rgba(79, 70, 229, 0.08); border-radius: 12px; }
}

.msg-bubble-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.msg-bubble-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msg-bubble-avatar i {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.msg-bubble {
    padding: 0.65rem 0.95rem;
    border-radius: 16px;
    position: relative;
    word-break: break-word;
    line-height: 1.5;
    font-size: 0.9rem;
}

.msg-bubble-wrap.mine .msg-bubble {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.msg-bubble-wrap.theirs .msg-bubble {
    background: #fff;
    color: var(--gray-800);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.msg-bubble.deleted {
    background: var(--gray-50) !important;
    color: var(--gray-400) !important;
    border: 1px dashed var(--gray-200) !important;
    font-style: italic;
}

.msg-bubble-body {
    margin-bottom: 0.25rem;
}

.msg-bubble-body b, .msg-bubble-body strong {
    font-weight: 700;
}

.msg-bubble-body a {
    color: inherit;
    text-decoration: underline;
}

.msg-bubble-wrap.theirs .msg-bubble-body a {
    color: var(--primary);
}

.msg-bubble-meta {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    opacity: 0.7;
    justify-content: flex-end;
}

.msg-edited {
    font-style: italic;
    font-size: 0.65rem;
}

/* â”€â”€ Bubble Actions â”€â”€ */
.msg-bubble-actions {
    position: absolute;
    top: -4px;
    display: flex;
    gap: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    padding: 2px;
    z-index: 10;
}

.msg-bubble-wrap.mine .msg-bubble-actions {
    left: -8px;
    transform: translateX(-100%);
}

.msg-bubble-wrap.theirs .msg-bubble-actions {
    right: -8px;
    transform: translateX(100%);
}

.msg-bubble-wrap:hover .msg-bubble-actions {
    opacity: 1;
    pointer-events: auto;
}

.msg-action-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-500);
    font-size: 0.8rem;
    transition: all 0.15s;
}

.msg-action-btn:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.msg-action-btn.text-danger:hover {
    background: #fef2f2;
    color: var(--danger);
}

/* â”€â”€ Reply Reference â”€â”€ */
.msg-reply-ref {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    margin-bottom: 0.35rem;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-bubble-wrap.mine .msg-reply-ref {
    background: rgba(255,255,255,0.15);
    border-left: 2px solid rgba(255,255,255,0.5);
}

.msg-bubble-wrap.theirs .msg-reply-ref {
    background: var(--gray-50);
    border-left: 2px solid var(--primary);
}

/* â”€â”€ Attachment â”€â”€ */
.msg-attachment {
    margin-bottom: 0.35rem;
}

.msg-attach-img {
    max-width: 220px;
    max-height: 180px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s;
    object-fit: cover;
}

.msg-attach-img:hover {
    transform: scale(1.02);
}

/* â”€â”€ Reply Preview â”€â”€ */
.msg-reply-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: #eef2ff;
    border-left: 3px solid var(--primary);
}

.msg-reply-content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* â”€â”€ AI Suggestion Bar â”€â”€ */
.msg-ai-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-top: 1px solid #fde68a;
    overflow-x: auto;
}

.msg-ai-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.msg-ai-chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    flex: 1;
    padding: 0.15rem 0;
}

.msg-ai-chip {
    background: #fff;
    border: 1px solid #fcd34d;
    border-radius: 20px;
    padding: 0.3rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s;
    color: var(--gray-700);
}

.msg-ai-chip:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    transform: translateY(-1px);
}

/* â”€â”€ Templates Panel â”€â”€ */
.msg-templates-panel {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    max-height: 250px;
    overflow-y: auto;
}

.msg-templates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
    position: sticky;
    top: 0;
}

.msg-tpl-group {
    padding: 0.5rem 0;
}

.msg-tpl-group-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-400);
    padding: 0.25rem 1rem;
}

.msg-tpl-btn {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    transition: background 0.15s;
}

.msg-tpl-btn:hover {
    background: var(--gray-50);
}

.msg-tpl-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-800);
}

.msg-tpl-body {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* â”€â”€ Rich Editor â”€â”€ */
.msg-editor-wrap {
    background: #fff;
    border-top: 1px solid var(--gray-200);
}

.msg-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0.35rem 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}

.msg-tb-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--gray-500);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.15s;
}

.msg-tb-btn:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.msg-tb-ai {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 700;
    width: auto;
    padding: 0 0.6rem;
    gap: 0.25rem;
    border-radius: 16px;
}

.msg-tb-ai:hover {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
    transform: translateY(-1px);
}

.msg-tb-sep {
    width: 1px;
    height: 18px;
    background: var(--gray-200);
    margin: 0 4px;
}

.msg-editor-body {
    padding: 0.5rem 1rem;
}

.msg-editor {
    min-height: 52px;
    max-height: 140px;
    overflow-y: auto;
    outline: none;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-800);
    word-break: break-word;
}

.msg-editor:empty::before {
    content: attr(placeholder);
    color: var(--gray-400);
    pointer-events: none;
}

.msg-editor b, .msg-editor strong { font-weight: 700; }
.msg-editor i, .msg-editor em { font-style: italic; }
.msg-editor u { text-decoration: underline; }

.msg-editor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 1rem 0.65rem;
}

.msg-char-count {
    font-size: 0.72rem;
}

/* â”€â”€ Attachment Preview â”€â”€ */
.msg-attach-preview {
    display: flex;
    align-items: center;
    position: relative;
}

.msg-attach-preview img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.msg-attach-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--danger);
    color: #fff;
    border: none;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* â”€â”€ Edit Overlay â”€â”€ */
.msg-edit-overlay {
    display: flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
}

.msg-edit-bar {
    display: flex;
    align-items: center;
    width: 100%;
}

/* â”€â”€ Toast Notifications â”€â”€ */
.msg-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.msg-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.msg-toast-info { background: var(--primary); }
.msg-toast-danger { background: var(--danger); }
.msg-toast-warning { background: #f59e0b; color: #000; }

/* â”€â”€ Mobile Responsive â”€â”€ */
@media (max-width: 991.98px) {
    .msg-hub {
        position: relative;
        height: calc(100vh - 64px - 60px);
    }

    .msg-sidebar {
        width: 100%;
        max-width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        z-index: 10;
        transition: transform 0.3s ease;
    }

    .msg-main {
        width: 100%;
    }

    .msg-hub.show-chat .msg-sidebar {
        transform: translateX(-100%);
    }

    .msg-bubble-wrap {
        max-width: 85%;
    }

    .msg-bubble-actions {
        opacity: 1;
        position: static;
        transform: none;
        margin-top: 4px;
        background: transparent;
        box-shadow: none;
    }

    .msg-bubble-wrap.mine .msg-bubble-actions,
    .msg-bubble-wrap.theirs .msg-bubble-actions {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .msg-conv-item {
        padding: 0.75rem 1rem;
    }

    .msg-chat-header {
        padding: 0.75rem 0.75rem;
    }

    .msg-messages {
        padding: 0.75rem;
    }

    .msg-editor-body {
        padding: 0.35rem 0.75rem;
    }

    .msg-editor-footer {
        padding: 0.25rem 0.75rem 0.5rem;
    }

    .msg-bubble {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* â”€â”€ Dark scroll in message area â”€â”€ */
.msg-messages::-webkit-scrollbar { width: 5px; }
.msg-messages::-webkit-scrollbar-track { background: transparent; }
.msg-messages::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
.msg-messages::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

.msg-conv-list::-webkit-scrollbar { width: 5px; }
.msg-conv-list::-webkit-scrollbar-track { background: transparent; }
.msg-conv-list::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

/* =======================================================
   SELLER PROFILE â€“ MODERN NAME CARD
   ======================================================= */

/* â”€â”€ Hero banner background â”€â”€ */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Seller Profile â€“ Modern, Glassy, Light Background
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.nc-hero {
    position: relative;
    padding: 2rem 0 0;
    overflow: hidden;
}

.nc-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #f5f3ff 0%, #eef2ff 30%, #f0f4ff 60%, #fdf2f8 100%);
    z-index: 0;
}

.nc-hero-bg::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -30px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(99,102,241,0.1), transparent 65%);
    border-radius: 50%;
}
.nc-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 15%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(236,72,153,0.06), transparent 65%);
    border-radius: 50%;
}

/* â”€â”€ The floating card â”€â”€ */
.nc-card {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 22px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.7);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform: translateY(24px);
}

.nc-card-top {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    flex-wrap: wrap;
}

/* â”€â”€ Avatar with gradient ring â”€â”€ */
.nc-avatar {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    position: relative;
    padding: 3px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(99,102,241,0.2);
}

.nc-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}

.nc-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    color: #6366f1;
    font-size: 2.2rem;
    font-weight: 800;
    border: 3px solid #fff;
}

.nc-verified {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    z-index: 3;
}

.nc-verified i {
    color: #6366f1;
    font-size: 0.85rem;
}

/* â”€â”€ Identity â”€â”€ */
.nc-identity {
    flex: 1;
    min-width: 180px;
}

.nc-name-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.15rem;
}

.nc-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    color: #1e1b4b;
    line-height: 1.2;
}

.nc-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.nc-badge-biz {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.nc-handle {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.nc-bio {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0.5rem;
    max-width: 480px;
}

.nc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

.nc-meta i {
    margin-right: 0.2rem;
    font-size: 0.78rem;
    color: #6366f1;
}

.nc-meta-link {
    color: #6366f1 !important;
    text-decoration: none;
    font-weight: 600;
}

.nc-meta-link:hover { text-decoration: underline; }

/* â”€â”€ Action Buttons â”€â”€ */
.nc-actions-wrap {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: center;
}

.nc-btn-follow {
    border-radius: 100px;
    padding: 0.5rem 1.3rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s;
}
.nc-btn-follow.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(99,102,241,0.3);
}
.nc-btn-follow.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99,102,241,0.4);
    transform: translateY(-1px);
}
.nc-btn-follow.btn-outline-primary {
    border: 2px solid #6366f1 !important;
    color: #6366f1 !important;
}
.nc-btn-follow.btn-outline-primary:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.nc-btn-msg {
    border-radius: 100px;
    padding: 0.5rem 1.3rem;
    font-weight: 600;
    font-size: 0.85rem;
    border-color: #e2e8f0;
    color: #475569;
}
.nc-btn-msg:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* â”€â”€ Stats Row (Glassmorphism) â”€â”€ */
.nc-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.85rem 1.5rem 1rem;
    background: rgba(248,250,252,0.6);
    border-top: 1px solid rgba(0,0,0,0.04);
}

.nc-stat {
    flex: 1;
    text-align: center;
    padding: 0.3rem 0.4rem;
}

.nc-stat-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.nc-stat-lbl {
    display: block;
    font-size: 0.6rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-top: 0.1rem;
}

.nc-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(0,0,0,0.06);
    flex-shrink: 0;
}

/* Rating */
.nc-stat-rating {
    flex: 1.3;
}

.nc-rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.nc-rating-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
}

.nc-rating-stars {
    display: flex;
    gap: 1px;
    font-size: 0.75rem;
    color: #f59e0b;
}

.nc-rating-stars .bi-star {
    color: #e2e8f0;
}

/* â”€â”€ Tabs (Modern pill-style) â”€â”€ */
.nc-tabs-bar {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 56px;
    z-index: 100;
    margin-top: 24px;
}

.nc-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px 0;
}
.nc-tabs::-webkit-scrollbar { display: none; }

.nc-tab {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-bottom: none;
    border-radius: 12px;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.nc-tab i {
    font-size: 0.85rem;
}

.nc-tab:hover {
    color: #6366f1;
    background: rgba(99,102,241,0.06);
}

.nc-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 3px 12px rgba(99,102,241,0.25);
}

.nc-tab-count {
    background: rgba(0,0,0,0.06);
    color: #64748b;
    font-size: 0.65rem;
    padding: 0.1rem 0.45rem;
    border-radius: 50px;
    font-weight: 700;
}

.nc-tab.active .nc-tab-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* â”€â”€ Mobile: Seller Profile â”€â”€ */
@media (max-width: 767.98px) {
    .nc-card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1.25rem 1rem;
        gap: 0.75rem;
    }
    .nc-avatar { width: 80px; height: 80px; }
    .nc-identity { min-width: 0; width: 100%; }
    .nc-name-line { justify-content: center; }
    .nc-name { font-size: 1.2rem; }
    .nc-handle { font-size: 0.78rem; }
    .nc-bio { font-size: 0.8rem; margin-left: auto; margin-right: auto; }
    .nc-meta { justify-content: center; font-size: 0.72rem; gap: 0.6rem; }
    .nc-actions-wrap {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .nc-btn-follow, .nc-btn-msg {
        flex: 1;
        min-width: 0;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        text-align: center;
        justify-content: center;
    }
    .nc-stats-row {
        padding: 0.7rem 0.75rem 0.8rem;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .nc-stat { padding: 0.2rem 0.3rem; }
    .nc-stat-val { font-size: 1rem; }
    .nc-stat-lbl { font-size: 0.52rem; }
    .nc-stat-divider { height: 24px; }
    .nc-rating-num { font-size: 1.05rem; }
    .nc-rating-stars { font-size: 0.65rem; }

    .nc-tabs-bar { margin-top: 24px; }
    .nc-tabs { padding: 6px 8px; gap: 4px; }
    .nc-tab { padding: 0.5rem 0.8rem; font-size: 0.75rem; border-radius: 10px; }
    .nc-tab i { font-size: 0.75rem; }
    .nc-tab-count { font-size: 0.58rem; padding: 0.05rem 0.35rem; }
}

/* â”€â”€ Dark Mode â”€â”€ */
[data-bs-theme="dark"] .nc-hero-bg {
    background: linear-gradient(160deg, var(--body-bg) 0%, var(--surface-1) 50%, var(--body-bg) 100%);
}
[data-bs-theme="dark"] .nc-hero-bg::before,
[data-bs-theme="dark"] .nc-hero-bg::after { opacity: 0.5; }
[data-bs-theme="dark"] .nc-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .nc-name { color: var(--text-primary); }
[data-bs-theme="dark"] .nc-handle { color: var(--text-muted); }
[data-bs-theme="dark"] .nc-bio { color: var(--text-secondary); }
[data-bs-theme="dark"] .nc-meta { color: var(--text-muted); }
[data-bs-theme="dark"] .nc-stats-row { background: var(--surface-1); border-top-color: var(--border-color); }
[data-bs-theme="dark"] .nc-stat-val { color: var(--text-primary); }
[data-bs-theme="dark"] .nc-stat-lbl { color: var(--text-muted); }
[data-bs-theme="dark"] .nc-stat-divider { background: var(--border-color); }
[data-bs-theme="dark"] .nc-tabs-bar { background: var(--card-bg); border-bottom-color: var(--border-color); }
[data-bs-theme="dark"] .nc-tab { color: var(--text-muted); }
[data-bs-theme="dark"] .nc-tab:hover { color: #a78bfa; background: rgba(167,139,250,0.08); }
[data-bs-theme="dark"] .nc-tab-count { background: var(--surface-3); color: var(--text-muted); }
[data-bs-theme="dark"] .nc-btn-msg { border-color: var(--border-color); color: var(--text-secondary); }

/* â”€â”€ Rating Card â”€â”€ */
.sp-rating-card {
    text-align: center;
}

.sp-rating-big {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.sp-rating-stars {
    font-size: 1.25rem;
    color: var(--accent);
}

.sp-rating-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.sp-rating-bar-label {
    width: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-500);
    text-align: right;
}

.sp-rating-bar-count {
    width: 24px;
    font-size: 0.75rem;
    color: var(--gray-400);
    text-align: right;
}

/* â”€â”€ Star Input â”€â”€ */
.sp-star-input {
    display: flex;
    gap: 0.25rem;
}

.sp-star-input i {
    font-size: 1.75rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.15s;
}

.sp-star-input i.bi-star-fill {
    color: var(--accent);
}

.sp-star-input i:hover {
    transform: scale(1.15);
}

/* â”€â”€ Reviews List â”€â”€ */
.sp-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sp-review-item {
    padding: 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    background: #fff;
    border-radius: 0;
    transition: background 0.2s;
}

.sp-review-item:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}

.sp-review-item:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
    border-bottom: none;
}

.sp-review-item:only-child {
    border-radius: var(--radius);
}

.sp-review-item:hover {
    background: var(--gray-50);
}

.sp-review-item.sp-review-hidden {
    opacity: 0.5;
    background: #fef2f2;
}

.sp-review-hidden-banner {
    font-size: 0.75rem;
    color: var(--danger);
    background: #fef2f2;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.sp-review-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.sp-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-review-avatar i {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.sp-review-meta {
    flex: 1;
    min-width: 0;
}

.sp-review-author {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.sp-review-date {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.sp-review-stars {
    color: var(--accent);
    font-size: 0.8rem;
}

.sp-review-text {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* â”€â”€ Review Actions â”€â”€ */
.sp-review-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sp-review-action-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.sp-review-action-btn:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.sp-review-action-btn.active {
    color: var(--primary);
}

.sp-review-action-btn.text-danger:hover {
    background: #fef2f2;
    color: var(--danger);
}

/* â”€â”€ Reply Form â”€â”€ */
.sp-reply-form {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

/* â”€â”€ Seller Reply â”€â”€ */
.sp-seller-reply {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.sp-reply-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.sp-reply-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-reply-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-reply-avatar span {
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
}

.sp-reply-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.5;
}

/* â”€â”€ Name Card Responsive â”€â”€ */
@media (max-width: 767.98px) {
    .nc-card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1.25rem 1rem;
    }

    .nc-identity { text-align: center; }
    .nc-name-line { justify-content: center; }
    .nc-bio { max-width: 100%; }
    .nc-meta { justify-content: center; }
    .nc-actions-wrap { justify-content: center; flex-wrap: wrap; }

    .nc-name { font-size: 1.35rem; }

    .nc-avatar, .nc-avatar img, .nc-avatar-placeholder {
        width: 84px;
        height: 84px;
    }

    .nc-avatar-placeholder { font-size: 2rem; }

    .nc-stats-row {
        padding: 0.75rem 1rem 1rem;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .nc-stat { flex: 0 0 auto; min-width: 70px; }
    .nc-stat-val { font-size: 1.15rem; }
    .nc-stat-divider { display: none; }

    .nc-rating-display { gap: 0.35rem; }
    .nc-rating-num { font-size: 1.25rem; }
}

@media (max-width: 575.98px) {
    .nc-card { border-radius: 16px; }
    .nc-card-top { padding: 1.25rem 1rem 0.75rem; gap: 1rem; }
    .nc-tab { padding: 0.75rem 1rem; font-size: 0.82rem; }
}

/* â”€â”€ Breadcrumb (pill chips) â”€â”€ */
.vd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0;
}

.vd-crumb {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6366f1;
    background: rgba(99,102,241,0.06);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vd-crumb i {
    font-size: 0.72rem;
    flex-shrink: 0;
}

.vd-crumb:hover {
    background: rgba(99,102,241,0.12);
    color: #4f46e5;
}

.vd-crumb-active {
    background: rgba(0,0,0,0.04);
    color: #475569;
    font-weight: 700;
    cursor: default;
    max-width: 280px;
}

.vd-crumb-active:hover {
    background: rgba(0,0,0,0.04);
    color: #475569;
}

.vd-crumb-sep {
    font-size: 0.55rem;
    color: #cbd5e1;
    flex-shrink: 0;
}

[data-bs-theme="dark"] .vd-crumb {
    background: rgba(99,102,241,0.1);
    color: #818cf8;
}

[data-bs-theme="dark"] .vd-crumb:hover {
    background: rgba(99,102,241,0.18);
    color: #a5b4fc;
}

[data-bs-theme="dark"] .vd-crumb-active {
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
}

[data-bs-theme="dark"] .vd-crumb-active:hover {
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
}

[data-bs-theme="dark"] .vd-crumb-sep {
    color: #475569;
}

@media (max-width: 767.98px) {
    .vd-breadcrumb {
        gap: 4px;
    }
    .vd-crumb {
        padding: 4px 10px;
        font-size: 0.72rem;
        max-width: 140px;
        border-radius: 6px;
    }
    .vd-crumb-active {
        max-width: 160px;
    }
    .vd-crumb-sep {
        font-size: 0.5rem;
    }
    .vd-crumb span {
        display: none;
    }
    .vd-crumb i {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .vd-crumb {
        max-width: 100px;
    }
    .vd-crumb-active {
        max-width: 120px;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Verification System
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Verification success icon */
.verification-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 8px 24px rgba(16,185,129,.25);
}
.verification-pending-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 8px 24px rgba(245,158,11,.25);
    animation: pulse-soft 2s infinite;
}
@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 8px 24px rgba(245,158,11,.25); }
    50% { box-shadow: 0 8px 32px rgba(245,158,11,.40); }
}

/* Verification timeline */
.verification-timeline {
    position: relative;
    padding-left: 32px;
    max-width: 360px;
    margin: 0 auto;
}
.verification-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: #e5e7eb;
}
.vt-step {
    position: relative;
    padding-bottom: 24px;
    text-align: left;
}
.vt-step:last-child { padding-bottom: 0; }
.vt-dot {
    position: absolute;
    left: -32px;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e5e7eb;
    z-index: 1;
}
.vt-step.completed .vt-dot {
    background: #10b981;
    box-shadow: 0 0 0 2px #10b981;
}
.vt-step.active .vt-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 2px #f59e0b;
    animation: pulse-soft 2s infinite;
}

/* Verification benefits cards */
.vb-card {
    text-align: center;
    padding: 20px 12px;
    background: #f8f9fb;
    border-radius: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.vb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.vb-card i {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}
.vb-card h6 {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

/* Document type selector */
.doc-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.doc-type-option input[type="radio"] {
    display: none;
}
.doc-type-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 0.85rem;
    font-weight: 600;
}
.doc-type-card i {
    font-size: 1.3rem;
    color: #6b7280;
    flex-shrink: 0;
}
.doc-type-option input:checked + .doc-type-card {
    border-color: var(--primary);
    background: rgba(59,130,246,.04);
    box-shadow: 0 0 0 1px var(--primary);
}
.doc-type-option input:checked + .doc-type-card i {
    color: var(--primary);
}

/* Document upload zone */
.doc-upload-zone {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease;
    background: #fafbfc;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.doc-upload-zone:hover {
    border-color: var(--primary);
    background: rgba(59,130,246,.02);
}
.doc-upload-zone.has-file {
    border-color: #10b981;
    border-style: solid;
    background: rgba(16,185,129,.02);
}
.doc-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.doc-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}
.doc-upload-content i {
    font-size: 2rem;
    color: #9ca3af;
}
.doc-preview-img {
    max-height: 120px;
    max-width: 100%;
    border-radius: 8px;
    object-fit: contain;
}
.doc-preview-name {
    font-size: 0.75rem;
    color: #6b7280;
    word-break: break-all;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.selfie-zone {
    min-height: 120px;
}

/* Admin verification checklist */
.verification-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vcheck-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
}
.vcheck-item.pass {
    background: rgba(16,185,129,.06);
    color: #065f46;
}
.vcheck-item.pass i { color: #10b981; }
.vcheck-item.warn {
    background: rgba(245,158,11,.06);
    color: #92400e;
}
.vcheck-item.warn i { color: #f59e0b; }
.vcheck-item.fail {
    background: rgba(239,68,68,.06);
    color: #991b1b;
}
.vcheck-item.fail i { color: #ef4444; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FAVORITES PAGE - Glassmorphism Redesign
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.fav-page {
    min-height: 80vh;
    background: linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 25%, #eff6ff 50%, #f5f3ff 75%, #fef3c7 100%);
    background-attachment: fixed;
}

/* â”€â”€ Hero Header â”€â”€ */
.fav-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.fav-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,86,219,0.08) 0%, rgba(236,72,153,0.06) 50%, rgba(245,158,11,0.06) 100%);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.5);
}

.fav-hero-content {
    position: relative;
    padding: 2rem 2rem 1.75rem;
}

.fav-hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fav-heart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4444, #ec4899);
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(239,68,68,0.3);
    animation: fav-pulse 2s ease-in-out infinite;
}

@keyframes fav-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fav-hero-sub {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
}

/* â”€â”€ Glass Buttons â”€â”€ */
.fav-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--gray-700);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.fav-btn-glass:hover {
    background: rgba(255,255,255,0.8);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.fav-btn-glass.fav-btn-danger {
    color: #ef4444;
    border-color: rgba(239,68,68,0.15);
}

.fav-btn-glass.fav-btn-danger:hover {
    background: rgba(239,68,68,0.08);
}

.fav-btn-glass.fav-btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
}

/* â”€â”€ Stats Strip â”€â”€ */
.fav-stats-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 0.875rem 1.25rem;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.7);
    overflow-x: auto;
    scrollbar-width: none;
}

.fav-stats-strip::-webkit-scrollbar { display: none; }

.fav-stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.fav-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(239,68,68,0.08);
    color: #ef4444;
    flex-shrink: 0;
}

.fav-stat-icon.active { background: rgba(16,185,129,0.08); color: #10b981; }
.fav-stat-icon.sold { background: rgba(59,130,246,0.08); color: #3b82f6; }
.fav-stat-icon.drop { background: rgba(245,158,11,0.08); color: #f59e0b; }
.fav-stat-icon.value { background: rgba(139,92,246,0.08); color: #8b5cf6; }

.fav-stat-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
}

.fav-stat-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fav-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(0,0,0,0.06);
    flex-shrink: 0;
}

/* â”€â”€ Collections Bar â”€â”€ */
.fav-collections-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.5);
    overflow-x: auto;
    scrollbar-width: none;
}

.fav-collections-bar::-webkit-scrollbar { display: none; }

.fav-collection-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
    position: relative;
}

.fav-collection-tab:hover {
    background: rgba(255,255,255,0.6);
    color: var(--gray-800);
}

.fav-collection-tab.active {
    background: white;
    color: var(--tab-color, var(--primary));
    border-color: rgba(0,0,0,0.04);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.fav-tab-count {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    border-radius: 50px;
    background: rgba(0,0,0,0.05);
    color: var(--gray-500);
    font-weight: 700;
}

.fav-collection-tab.active .fav-tab-count {
    background: rgba(26,86,219,0.08);
    color: var(--primary);
}

.fav-tab-delete {
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background: rgba(239,68,68,0.08);
    color: #ef4444;
    font-size: 0.65rem;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.fav-collection-tab:hover .fav-tab-delete { display: inline-flex; }

.fav-tab-add {
    border: 1px dashed var(--gray-300);
    color: var(--gray-400);
    padding: 0.45rem 0.65rem;
}

.fav-tab-add:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(26,86,219,0.04);
}

/* â”€â”€ Favorite Cards â”€â”€ */
.fav-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    height: 100%;
}

.fav-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
    border-color: rgba(26,86,219,0.15);
}

.fav-card-inactive { opacity: 0.7; }
.fav-card-sold .fav-card-img-wrap img { filter: grayscale(0.5); }

.fav-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: 16px;
}

.fav-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
}

.fav-status-badge.sold { background: rgba(59,130,246,0.15); color: #1d4ed8; }
.fav-status-badge.expired { background: rgba(107,114,128,0.15); color: #4b5563; }

/* Card actions */
.fav-card-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 6;
    display: flex;
    gap: 4px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.25s ease;
}

.fav-card:hover .fav-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.fav-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--gray-600);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.fav-action-btn:hover { background: white; transform: scale(1.08); }
.fav-remove-btn { color: #ef4444; }
.fav-remove-btn:hover { background: rgba(239,68,68,0.1); }

.fav-action-dropdown { position: relative; }

.fav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 160px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.2s ease;
    z-index: 20;
}

.fav-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.fav-dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.45rem 0.65rem;
    border: none;
    background: none;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: background 0.15s;
}

.fav-dropdown-menu button:hover {
    background: rgba(0,0,0,0.04);
}

.fav-dropdown-menu hr {
    margin: 0.25rem 0;
    border-color: rgba(0,0,0,0.06);
}

/* Price change badge */
.fav-price-change {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.fav-price-change.drop {
    background: rgba(16,185,129,0.15);
    color: #059669;
    border: 1px solid rgba(16,185,129,0.2);
}

.fav-price-change.rise {
    background: rgba(239,68,68,0.12);
    color: #dc2626;
    border: 1px solid rgba(239,68,68,0.15);
}

/* Card image */
.fav-card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fav-card-img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--gray-100);
}

.fav-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fav-card:hover .fav-card-img-wrap img {
    transform: scale(1.05);
}

.fav-card-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    color: var(--gray-400);
    font-size: 2.5rem;
}

.fav-photo-count,
.fav-saves-badge {
    position: absolute;
    bottom: 8px;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.fav-photo-count {
    left: 8px;
    background: rgba(0,0,0,0.5);
    color: white;
}

.fav-saves-badge {
    right: 8px;
    background: rgba(239,68,68,0.85);
    color: white;
}

/* Card body */
.fav-card-body {
    padding: 0.875rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fav-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.15rem;
}

.fav-card-old-price {
    font-size: 0.7rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-bottom: 0.2rem;
}

.fav-card-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.fav-card-meta {
    font-size: 0.72rem;
    color: var(--gray-500);
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
}

.fav-card-note {
    font-size: 0.7rem;
    color: var(--accent);
    background: rgba(245,158,11,0.06);
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    margin-top: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fav-card-seller {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.fav-seller-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fav-seller-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fav-seller-avatar i { font-size: 0.6rem; color: var(--gray-400); }

.fav-seller-name {
    font-size: 0.72rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-seller-name .bi-patch-check-fill { font-size: 0.6rem; }

/* â”€â”€ AI Recommendations Section â”€â”€ */
.fav-ai-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.fav-ai-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.fav-ai-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.fav-ai-title .bi-stars {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fav-ai-sub {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0.15rem 0 0;
}

.fav-rec-card {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.fav-rec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    border-color: rgba(245,158,11,0.2);
}

.fav-rec-img {
    height: 150px;
    overflow: hidden;
    position: relative;
    background: var(--gray-100);
}

.fav-rec-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fav-rec-card:hover .fav-rec-img img { transform: scale(1.05); }

.fav-rec-ai-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(245,158,11,0.9), rgba(236,72,153,0.9));
    color: white;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.fav-rec-body {
    padding: 0.75rem 0.85rem;
}

/* â”€â”€ Empty State â”€â”€ */
.fav-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
}
.fav-empty > p { margin-left: auto; margin-right: auto; }

.fav-empty-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    font-size: 2.5rem;
    color: var(--gray-300);
}

.fav-empty-sparkle {
    position: absolute;
    font-size: 0.85rem;
    animation: fav-sparkle 3s ease-in-out infinite;
}

.fav-sparkle-1 { top: -8px; right: -8px; color: #f59e0b; animation-delay: 0s; }
.fav-sparkle-2 { bottom: -4px; left: -12px; color: #ec4899; animation-delay: 1s; }
.fav-sparkle-3 { top: 4px; left: -16px; color: #8b5cf6; animation-delay: 2s; }

@keyframes fav-sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.1) rotate(15deg); }
}

/* â”€â”€ Modals â”€â”€ */
.fav-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.fav-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.fav-modal {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    width: 90%;
    max-width: 440px;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.25s ease;
}

.fav-modal-backdrop.show .fav-modal {
    transform: translateY(0) scale(1);
}

.fav-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.25rem 0.75rem;
}

.fav-modal-close {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(0,0,0,0.04);
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.fav-modal-close:hover { background: rgba(0,0,0,0.08); }

.fav-modal-body { padding: 0.75rem 1.25rem; }
.fav-modal-footer { padding: 0.75rem 1.25rem 1.25rem; display: flex; justify-content: flex-end; gap: 0.5rem; }

/* Color & icon pickers */
.fav-color-pick {
    cursor: pointer;
    display: inline-block;
}

.fav-color-pick input { display: none; }

.fav-color-pick span {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.fav-color-pick input:checked + span {
    border-color: var(--dark);
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.fav-icon-pick {
    cursor: pointer;
    display: inline-flex;
}

.fav-icon-pick input { display: none; }

.fav-icon-pick i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0,0,0,0.04);
    color: var(--gray-500);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.fav-icon-pick input:checked + i {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(26,86,219,0.3);
}

/* Move collection options */
.fav-move-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.5);
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fav-move-option:hover {
    background: rgba(255,255,255,0.8);
    border-color: var(--opt-color, var(--primary));
    color: var(--opt-color, var(--primary));
}

.fav-move-option i { color: var(--opt-color, var(--gray-400)); }

/* â”€â”€ Toast â”€â”€ */
.fav-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    padding: 0.6rem 1.25rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    z-index: 9999;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.fav-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.fav-toast.success { background: rgba(16,185,129,0.9); color: white; }
.fav-toast.info { background: rgba(59,130,246,0.9); color: white; }

/* â”€â”€ Spin animation â”€â”€ */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.spin { animation: spin 0.6s linear infinite; }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 991.98px) {
    .fav-hero-content { padding: 1.5rem; }
    .fav-hero-title { font-size: 1.4rem; }
    .fav-stats-strip { gap: 0.6rem; }
    .fav-stat-val { font-size: 0.9rem; }
}

@media (max-width: 767.98px) {
    .fav-hero-content { padding: 1.25rem; }
    .fav-hero-title { font-size: 1.2rem; }
    .fav-heart-icon { width: 34px; height: 34px; font-size: 0.9rem; }
    .fav-stats-strip { padding: 0.65rem 0.85rem; gap: 0.5rem; }
    .fav-stat-icon { width: 28px; height: 28px; font-size: 0.75rem; }
    .fav-stat-val { font-size: 0.82rem; }
    .fav-stat-label { font-size: 0.6rem; }
    .fav-stat-divider { height: 20px; }
    .fav-card-img-wrap { height: 140px; }
    .fav-card-body { padding: 0.7rem 0.8rem; }
    .fav-card-price { font-size: 0.95rem; }
    .fav-card-title { font-size: 0.8rem; }
    .fav-rec-img { height: 120px; }
    .fav-card-actions { opacity: 1; transform: none; }
    .fav-ai-header { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 575.98px) {
    .fav-hero { border-radius: 14px; }
    .fav-collections-bar { border-radius: 10px; padding: 0.35rem; }
    .fav-card { border-radius: 12px; }
    .fav-card-seller { display: none; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   My Listings â€“ Modern Glassmorphism
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Hero area */
.ml-hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}
.ml-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    z-index: 0;
}
.ml-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0%, transparent 40%);
}
.ml-hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}
.ml-hero-sub {
    color: rgba(255,255,255,.7);
    font-size: 0.9rem;
    margin: 4px 0 0;
}

/* Create button */
.ml-btn-create {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
}
.ml-btn-create:hover {
    background: rgba(255,255,255,.25);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.ml-btn-create i {
    font-size: 1.1rem;
}

/* Glass stat cards grid */
.ml-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding-bottom: 0;
}
.ml-stat-card {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    padding: 18px 12px;
    text-align: center;
    transition: all .25s ease;
}
.ml-stat-card:hover {
    background: rgba(255,255,255,.20);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.ml-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 1rem;
    color: #fff;
}
.ml-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.ml-stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-top: 2px;
}

/* Pending banner */
.ml-pending-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245,158,11,.25);
    border-left: 4px solid #f59e0b;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #92400e;
    box-shadow: 0 4px 16px rgba(245,158,11,.08);
    position: relative;
}
.ml-pending-pulse {
    position: absolute;
    top: 12px;
    left: 16px;
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    animation: ml-pulse 2s infinite;
}
@keyframes ml-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,.5); }
    50% { box-shadow: 0 0 0 6px rgba(245,158,11,0); }
}
.ml-pending-banner > i {
    font-size: 1.2rem;
    color: #f59e0b;
}

/* Filter pills */
.ml-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.ml-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    transition: all .2s ease;
}
.ml-filter-pill:hover {
    background: rgba(255,255,255,.95);
    color: #1f2937;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.ml-filter-pill.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(102,126,234,.3);
}
.ml-filter-pill.active .ml-filter-count {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.ml-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50px;
    background: rgba(99,102,241,.1);
    color: #6366f1;
    font-size: 0.7rem;
    font-weight: 700;
}

/* â”€â”€ Listing card â”€â”€ */
.ml-listing-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: all .3s ease;
}
.ml-listing-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
    transform: translateY(-4px);
}
.ml-listing-card.ml-card-inactive {
    opacity: .75;
}
.ml-listing-card.ml-card-inactive:hover {
    opacity: 1;
}

/* Card image */
.ml-card-img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f3f4f6;
}
.ml-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.ml-listing-card:hover .ml-card-img {
    transform: scale(1.05);
}
.ml-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #d1d5db;
}

/* Status badge */
.ml-card-status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ml-status-active {
    background: rgba(16,185,129,.15);
    color: #065f46;
    border: 1px solid rgba(16,185,129,.2);
}
.ml-status-pending {
    background: rgba(245,158,11,.15);
    color: #92400e;
    border: 1px solid rgba(245,158,11,.2);
}
.ml-status-sold {
    background: rgba(59,130,246,.15);
    color: #1e40af;
    border: 1px solid rgba(59,130,246,.2);
}
.ml-status-expired {
    background: rgba(107,114,128,.15);
    color: #374151;
    border: 1px solid rgba(107,114,128,.2);
}
.ml-status-rejected, .ml-status-removed {
    background: rgba(239,68,68,.15);
    color: #991b1b;
    border: 1px solid rgba(239,68,68,.2);
}
.ml-rejection-banner {
    display: flex;
    gap: 0.5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    margin-top: 0.5rem;
    align-items: flex-start;
}
.ml-rejection-icon {
    color: #ef4444;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.ml-rejection-text {
    font-size: 0.72rem;
    color: #7f1d1d;
    line-height: 1.4;
}

/* Featured badge */
.ml-card-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245,158,11,.35);
}

/* Overlay stats (on image hover) */
.ml-card-overlay-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(100%);
    transition: all .3s ease;
}
.ml-listing-card:hover .ml-card-overlay-stats {
    opacity: 1;
    transform: translateY(0);
}
.ml-card-overlay-stats i {
    font-size: 0.7rem;
}

/* Card body */
.ml-card-body {
    padding: 16px;
}
.ml-card-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: -0.3px;
}
.ml-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.85rem;
    color: #4b5563;
    text-decoration: none;
    line-height: 1.4;
    margin: 4px 0;
    transition: color .2s;
}
.ml-card-title:hover {
    color: #6366f1;
}
.ml-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #9ca3af;
    margin-bottom: 12px;
}

/* â”€â”€ Glass action buttons â”€â”€ */
.ml-card-actions {
    display: flex;
    gap: 6px;
}
.ml-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ml-action-btn i {
    font-size: 0.82rem;
}

/* Edit - primary glass */
.ml-act-edit {
    flex: 1;
    background: rgba(99,102,241,.08);
    color: #6366f1;
    border: 1px solid rgba(99,102,241,.15);
    padding: 0 14px;
}
.ml-act-edit:hover {
    background: rgba(99,102,241,.18);
    color: #4f46e5;
    box-shadow: 0 4px 14px rgba(99,102,241,.15);
    transform: translateY(-1px);
}

/* Boost */
.ml-act-boost {
    width: 36px;
    background: rgba(245,158,11,.08);
    color: #f59e0b;
    border: 1px solid rgba(245,158,11,.15);
}
.ml-act-boost:hover {
    background: rgba(245,158,11,.18);
    color: #d97706;
    box-shadow: 0 4px 14px rgba(245,158,11,.15);
    transform: translateY(-1px);
}

/* View */
.ml-act-view {
    width: 36px;
    background: rgba(59,130,246,.08);
    color: #3b82f6;
    border: 1px solid rgba(59,130,246,.15);
}
.ml-act-view:hover {
    background: rgba(59,130,246,.18);
    color: #2563eb;
    box-shadow: 0 4px 14px rgba(59,130,246,.15);
    transform: translateY(-1px);
}

/* Mark Sold */
.ml-act-sold {
    width: 36px;
    background: rgba(16,185,129,.08);
    color: #10b981;
    border: 1px solid rgba(16,185,129,.15);
}
.ml-act-sold:hover {
    background: rgba(16,185,129,.18);
    color: #059669;
    box-shadow: 0 4px 14px rgba(16,185,129,.15);
    transform: translateY(-1px);
}

/* Relist */
.ml-act-relist {
    width: 36px;
    background: rgba(99,102,241,.08);
    color: #6366f1;
    border: 1px solid rgba(99,102,241,.15);
}
.ml-act-relist:hover {
    background: rgba(99,102,241,.18);
    color: #4f46e5;
    box-shadow: 0 4px 14px rgba(99,102,241,.15);
    transform: translateY(-1px);
}

/* Delete */
.ml-act-delete {
    width: 36px;
    background: rgba(239,68,68,.06);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,.12);
}
.ml-act-delete:hover {
    background: rgba(239,68,68,.15);
    color: #dc2626;
    box-shadow: 0 4px 14px rgba(239,68,68,.12);
    transform: translateY(-1px);
}

/* Sold modal icon */
.ml-sold-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(16,185,129,.25);
}

/* Empty state */
.ml-empty-state {
    text-align: center;
    padding: 60px 20px 80px;
}
.ml-empty-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(118,75,162,.1));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 20px;
}
.ml-empty-state h4 {
    font-weight: 700;
    color: #1f2937;
}
.ml-empty-state p {
    color: #6b7280;
    max-width: 360px;
    margin: 8px auto 24px;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 991.98px) {
    .ml-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ml-hero-title { font-size: 1.5rem; }
}
@media (max-width: 575.98px) {
    .ml-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .ml-stat-card { padding: 14px 8px; }
    .ml-stat-num { font-size: 1.2rem; }
    .ml-hero {
        padding-bottom: 40px;
    }
    .ml-hero-title { font-size: 1.3rem; }
    .ml-btn-create span { display: none; }
    .ml-btn-create { padding: 12px 14px; border-radius: 12px; }
    .ml-card-actions { flex-wrap: wrap; }
    .ml-act-edit { flex: 1 1 100%; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LISTING COMMENTS â€“ Modern Glassy Comment System
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cmt-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(245,243,255,0.75) 50%, rgba(255,255,255,0.85) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: 0 8px 40px rgba(99,102,241,0.06), 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}
.cmt-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(139,92,246,0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.cmt-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.cmt-section > * { position: relative; z-index: 1; }

.cmt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px 18px;
    border-bottom: none;
    background: linear-gradient(135deg, rgba(238,242,255,0.5), rgba(250,245,255,0.4));
    user-select: none;
    transition: opacity 0.2s;
}
.cmt-header:hover { opacity: 0.85; }
.cmt-sort-row {
    display: flex;
    justify-content: flex-end;
    padding: 0 28px 12px;
    border-bottom: 1px solid rgba(99,102,241,0.08);
}
.cmt-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cmt-header-icon {
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(99,102,241,0.25);
}
.cmt-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    color: #1e1b4b;
    letter-spacing: -0.01em;
}
.cmt-count-badge {
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    min-width: 26px;
    height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 20px;
    padding: 0 8px;
    box-shadow: 0 2px 8px rgba(99,102,241,0.2);
}
.cmt-sort {
    display: flex;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 3px;
    gap: 2px;
    border: 1px solid rgba(99,102,241,0.08);
}
.cmt-sort-btn {
    border: none;
    background: transparent;
    padding: 6px 16px;
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 10px;
    cursor: pointer;
    transition: all .25s ease;
}
.cmt-sort-btn:hover { color: #6366f1; }
.cmt-sort-btn.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.25);
}

/* â”€â”€ Compose â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cmt-compose {
    display: flex;
    gap: 14px;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(99,102,241,0.06);
}
.cmt-compose-avatar {
    flex-shrink: 0;
}
.cmt-avatar-img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid transparent;
    background-image: linear-gradient(#fff,#fff), linear-gradient(135deg, #6366f1, #ec4899, #f59e0b);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 2px 8px rgba(99,102,241,0.12);
}
.cmt-compose-body {
    flex: 1;
    position: relative;
}
.cmt-textarea {
    width: 100%;
    border: 2px solid rgba(99,102,241,0.15);
    border-radius: 16px;
    padding: 12px 18px;
    font-size: .9rem;
    line-height: 1.5;
    resize: none;
    outline: none;
    transition: border-color .25s, box-shadow .25s, background .25s;
    font-family: inherit;
    min-height: 46px;
    overflow: hidden;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.cmt-textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1), 0 4px 16px rgba(99,102,241,0.08);
    background: rgba(255,255,255,0.9);
}
.cmt-textarea::placeholder {
    color: #94a3b8;
}
.cmt-compose-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 0 4px;
}
.cmt-emoji-trigger {
    cursor: pointer;
    font-size: 1.25rem;
    color: #a5b4fc;
    transition: all .2s;
    display: flex;
    align-items: center;
}
.cmt-emoji-trigger:hover { color: #6366f1; transform: scale(1.1); }
.cmt-char-count {
    font-size: .72rem;
    color: #a5b4fc;
    flex: 1;
    text-align: right;
    font-weight: 500;
}
.cmt-submit-btn {
    border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 9px 22px;
    border-radius: 12px;
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    align-items: center;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(99,102,241,0.25);
}
.cmt-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.35);
}
.cmt-submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* â”€â”€ Login prompt â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cmt-login-prompt {
    text-align: center;
    padding: 22px;
    margin: 20px 28px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 2px dashed rgba(99,102,241,0.2);
    color: #64748b;
    font-size: .9rem;
}
.cmt-login-prompt a {
    color: #6366f1;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cmt-login-prompt a:hover { text-decoration: underline; -webkit-text-fill-color: #4f46e5; }

/* â”€â”€ Emoji Picker (composer) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cmt-emoji-picker {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99,102,241,0.1);
    border-radius: 18px;
    padding: 16px;
    margin: 0 28px 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
    position: relative;
    z-index: 10;
}
.cmt-emoji-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.cmt-emoji-item {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    width: 40px; height: 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: background .15s, transform .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cmt-emoji-item:hover {
    background: rgba(99,102,241,0.08);
    transform: scale(1.25);
}

/* â”€â”€ Reply Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cmt-reply-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(238,242,255,0.8), rgba(250,245,255,0.7));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 18px;
    border-radius: 14px;
    margin: 0 28px 16px;
    font-size: .84rem;
    font-weight: 600;
    color: #6366f1;
    border-left: 4px solid #6366f1;
    box-shadow: 0 2px 12px rgba(99,102,241,0.08);
}
.cmt-reply-cancel {
    border: none;
    background: rgba(99,102,241,0.08);
    font-size: 1.1rem;
    color: #6366f1;
    cursor: pointer;
    line-height: 1;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.cmt-reply-cancel:hover { background: #ef4444; color: #fff; }

/* â”€â”€ Comment Items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cmt-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 16px;
}
.cmt-item {
    display: flex;
    gap: 14px;
    padding: 18px 14px;
    border-radius: 18px;
    transition: all .25s ease;
    position: relative;
    border: 1px solid transparent;
}
.cmt-item:hover {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(99,102,241,0.06);
    box-shadow: 0 2px 12px rgba(99,102,241,0.04);
}
@keyframes cmtHighlight {
    0% { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.2); }
    100% { background: transparent; border-color: transparent; }
}
.cmt-highlight {
    animation: cmtHighlight 2.5s ease-out;
}
.cmt-reply {
    margin-left: 56px;
    padding-left: 18px;
    border-left: 3px solid rgba(99,102,241,0.12) !important;
    border-radius: 0 18px 18px 0;
}
.cmt-pinned {
    background: linear-gradient(135deg, rgba(254,252,232,0.8), rgba(254,249,195,0.6)) !important;
    border: 1px solid rgba(253,230,138,0.6) !important;
    box-shadow: 0 2px 12px rgba(234,179,8,0.08);
}
.cmt-item-avatar { flex-shrink: 0; padding-top: 2px; }
.cmt-item-body { flex: 1; min-width: 0; }
.cmt-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.cmt-author {
    font-weight: 700;
    font-size: .88rem;
    color: #1e1b4b;
    letter-spacing: -0.01em;
}
.cmt-badge {
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.cmt-badge-owner {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #15803d;
}
.cmt-badge-verified {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
}
.cmt-badge-pinned {
    background: linear-gradient(135deg, #fef9c3, #fde68a);
    color: #92400e;
}
.cmt-time {
    font-size: .73rem;
    color: #a5b4fc;
    margin-left: auto;
    font-weight: 500;
}
.cmt-edited {
    font-size: .68rem;
    color: #a5b4fc;
    font-style: italic;
}
.cmt-text {
    font-size: .88rem;
    line-height: 1.65;
    color: #334155;
    word-wrap: break-word;
    margin-bottom: 10px;
}
.cmt-text a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(99,102,241,0.3);
    transition: border-color .2s;
}
.cmt-text a:hover { border-color: #6366f1; }

/* â”€â”€ Reactions â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cmt-reactions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    position: relative;
}
.cmt-reaction-chip {
    border: 1.5px solid rgba(99,102,241,0.1);
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 11px;
    border-radius: 20px;
    font-size: .8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all .2s;
}
.cmt-reaction-chip span {
    font-size: .72rem;
    font-weight: 700;
    color: #64748b;
}
.cmt-reaction-chip:hover {
    border-color: rgba(99,102,241,0.3);
    background: rgba(238,242,255,0.7);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99,102,241,0.1);
}
.cmt-reaction-chip.reacted {
    border-color: #6366f1;
    background: linear-gradient(135deg, rgba(238,242,255,0.9), rgba(224,231,255,0.8));
    box-shadow: 0 2px 8px rgba(99,102,241,0.12);
}
.cmt-reaction-chip.reacted span { color: #6366f1; }
.cmt-reaction-add {
    border: 1.5px dashed rgba(99,102,241,0.2);
    background: rgba(255,255,255,0.4);
    width: 32px; height: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #a5b4fc;
    font-size: .75rem;
    gap: 1px;
    transition: all .2s;
}
.cmt-reaction-add:hover {
    border-color: #6366f1;
    color: #6366f1;
    background: rgba(238,242,255,0.5);
    transform: scale(1.08);
}

/* Reaction picker popup (inline) */
.cmt-reaction-picker-popup {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99,102,241,0.1);
    border-radius: 16px;
    padding: 10px;
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    box-shadow: 0 12px 40px rgba(0,0,0,.1), 0 0 0 1px rgba(99,102,241,0.05);
    z-index: 50;
    max-width: 300px;
    animation: cmtPopIn .2s cubic-bezier(.34,1.56,.64,1);
}
@keyframes cmtPopIn {
    from { opacity: 0; transform: translateY(8px) scale(.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.cmt-reaction-picker-popup button {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    width: 38px; height: 38px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cmt-reaction-picker-popup button:hover {
    background: rgba(99,102,241,0.08);
    transform: scale(1.3);
}

/* â”€â”€ Actions Dropdown â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cmt-actions-dropdown {
    position: relative;
    margin-left: auto;
}
.cmt-actions-btn {
    border: none;
    background: transparent;
    color: #c7d2fe;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 10px;
    transition: all .2s;
}
.cmt-actions-btn:hover {
    background: rgba(99,102,241,0.08);
    color: #6366f1;
}
.cmt-actions-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99,102,241,0.08);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
    min-width: 180px;
    padding: 6px;
    z-index: 40;
    animation: cmtPopIn .2s cubic-bezier(.34,1.56,.64,1);
}
.cmt-actions-menu.show { display: block; }
.cmt-actions-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    border: none;
    background: transparent;
    padding: 9px 14px;
    font-size: .82rem;
    font-weight: 500;
    color: #334155;
    border-radius: 10px;
    cursor: pointer;
    transition: all .15s;
}
.cmt-actions-menu button:hover { background: rgba(99,102,241,0.06); color: #6366f1; }
.cmt-actions-menu button.text-danger { color: #ef4444 !important; }
.cmt-actions-menu button.text-danger:hover { background: rgba(239,68,68,0.06); }

/* â”€â”€ Edit inline â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cmt-edit-textarea {
    width: 100%;
    border: 2px solid #6366f1;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: .87rem;
    font-family: inherit;
    outline: none;
    resize: vertical;
    min-height: 60px;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
}
.cmt-edit-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.cmt-edit-save {
    border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 7px 18px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(99,102,241,0.2);
    transition: all .2s;
}
.cmt-edit-save:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(99,102,241,0.3); }
.cmt-edit-cancel {
    border: 1px solid rgba(99,102,241,0.15);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 7px 18px;
    border-radius: 10px;
    font-size: .8rem;
    color: #64748b;
    cursor: pointer;
    transition: all .2s;
}
.cmt-edit-cancel:hover { background: rgba(255,255,255,0.9); border-color: rgba(99,102,241,0.3); }

/* â”€â”€ Load More & Empty â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cmt-load-more {
    display: flex;
    justify-content: center;
    padding: 16px 28px 24px;
}
.cmt-load-more-btn {
    border: 2px solid rgba(99,102,241,0.15);
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 30px;
    border-radius: 14px;
    font-size: .84rem;
    font-weight: 700;
    color: #6366f1;
    cursor: pointer;
    transition: all .25s;
}
.cmt-load-more-btn:hover {
    background: linear-gradient(135deg, rgba(238,242,255,0.8), rgba(250,245,255,0.7));
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99,102,241,0.12);
}
.cmt-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    color: #a5b4fc;
}
.cmt-empty-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cmt-empty-text {
    font-size: .82rem;
    margin: 0;
    color: #94a3b8;
    font-weight: 500;
}
.cmt-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #6366f1;
    font-size: .85rem;
    font-weight: 500;
}

/* â”€â”€ Comment Mobile Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 767.98px) {
    .cmt-section { border-radius: 18px; }
    .cmt-header { padding: 14px 16px 12px; flex-wrap: nowrap; gap: 8px; }
    .cmt-header-icon { width: 34px; height: 34px; font-size: 1rem; border-radius: 10px; }
    .cmt-title { font-size: .95rem; }
    .cmt-sort-row { padding: 0 16px 10px; }
    .cmt-compose { padding: 16px 18px; gap: 10px; }
    .cmt-avatar-img { width: 36px; height: 36px; }
    .cmt-textarea { padding: 10px 14px; font-size: .85rem; border-radius: 14px; }
    .cmt-submit-btn { padding: 8px 16px; font-size: .8rem; }
    .cmt-list { padding: 4px 10px; }
    .cmt-item { padding: 14px 10px; gap: 10px; border-radius: 14px; }
    .cmt-reply { margin-left: 36px; padding-left: 12px; }
    .cmt-emoji-picker { margin: 0 18px 12px; padding: 12px; }
    .cmt-emoji-item { width: 36px; height: 36px; font-size: 1.2rem; }
    .cmt-reply-bar { margin: 0 18px 12px; padding: 10px 14px; font-size: .8rem; }
    .cmt-load-more { padding: 12px 18px 20px; }
    .cmt-actions-menu { min-width: 160px; }
    .cmt-sort-btn { padding: 5px 12px; font-size: .74rem; }
    .cmt-reaction-picker-popup { max-width: 260px; }
}

/* â”€â”€ Comment Dark Mode â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-bs-theme="dark"] .cmt-section {
    background: linear-gradient(135deg, rgba(30,27,75,0.5) 0%, rgba(49,46,129,0.35) 50%, rgba(30,27,75,0.5) 100%);
    border-color: rgba(99,102,241,0.15);
    box-shadow: 0 8px 40px rgba(0,0,0,.2);
}
[data-bs-theme="dark"] .cmt-section::before { background: radial-gradient(circle, rgba(139,92,246,0.12), transparent 70%); }
[data-bs-theme="dark"] .cmt-section::after { background: radial-gradient(circle, rgba(99,102,241,0.1), transparent 70%); }
[data-bs-theme="dark"] .cmt-header { background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.06)); border-color: rgba(99,102,241,0.1); }
[data-bs-theme="dark"] .cmt-sort-row { border-color: rgba(99,102,241,0.1); }
[data-bs-theme="dark"] .cmt-title { color: #e0e7ff; }
[data-bs-theme="dark"] .cmt-sort { background: rgba(30,27,75,0.5); border-color: rgba(99,102,241,0.15); }
[data-bs-theme="dark"] .cmt-sort-btn { color: #94a3b8; }
[data-bs-theme="dark"] .cmt-sort-btn.active { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; }
[data-bs-theme="dark"] .cmt-textarea { background: rgba(30,27,75,0.4); border-color: rgba(99,102,241,0.2); color: #e0e7ff; }
[data-bs-theme="dark"] .cmt-textarea:focus { border-color: #6366f1; background: rgba(30,27,75,0.6); }
[data-bs-theme="dark"] .cmt-textarea::placeholder { color: #64748b; }
[data-bs-theme="dark"] .cmt-login-prompt { background: rgba(30,27,75,0.3); border-color: rgba(99,102,241,0.2); color: #94a3b8; }
[data-bs-theme="dark"] .cmt-emoji-picker { background: rgba(30,27,75,0.9); border-color: rgba(99,102,241,0.15); }
[data-bs-theme="dark"] .cmt-emoji-item:hover { background: rgba(99,102,241,0.15); }
[data-bs-theme="dark"] .cmt-reply-bar { background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08)); }
[data-bs-theme="dark"] .cmt-item:hover { background: rgba(99,102,241,0.06); border-color: rgba(99,102,241,0.1); }
[data-bs-theme="dark"] .cmt-reply { border-left-color: rgba(99,102,241,0.2) !important; }
[data-bs-theme="dark"] .cmt-pinned { background: linear-gradient(135deg, rgba(234,179,8,0.1), rgba(253,224,71,0.06)) !important; border-color: rgba(234,179,8,0.2) !important; }
[data-bs-theme="dark"] .cmt-author { color: #e0e7ff; }
[data-bs-theme="dark"] .cmt-text { color: #cbd5e1; }
[data-bs-theme="dark"] .cmt-time, [data-bs-theme="dark"] .cmt-edited { color: #64748b; }
[data-bs-theme="dark"] .cmt-reaction-chip { background: rgba(30,27,75,0.4); border-color: rgba(99,102,241,0.15); }
[data-bs-theme="dark"] .cmt-reaction-chip span { color: #94a3b8; }
[data-bs-theme="dark"] .cmt-reaction-chip:hover { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.3); }
[data-bs-theme="dark"] .cmt-reaction-chip.reacted { background: rgba(99,102,241,0.15); border-color: #6366f1; }
[data-bs-theme="dark"] .cmt-reaction-add { border-color: rgba(99,102,241,0.2); color: #64748b; background: rgba(30,27,75,0.3); }
[data-bs-theme="dark"] .cmt-reaction-add:hover { border-color: #6366f1; color: #a5b4fc; }
[data-bs-theme="dark"] .cmt-reaction-picker-popup { background: rgba(30,27,75,0.95); border-color: rgba(99,102,241,0.15); }
[data-bs-theme="dark"] .cmt-reaction-picker-popup button:hover { background: rgba(99,102,241,0.15); }
[data-bs-theme="dark"] .cmt-actions-btn { color: #64748b; }
[data-bs-theme="dark"] .cmt-actions-btn:hover { background: rgba(99,102,241,0.1); color: #a5b4fc; }
[data-bs-theme="dark"] .cmt-actions-menu { background: rgba(30,27,75,0.95); border-color: rgba(99,102,241,0.15); }
[data-bs-theme="dark"] .cmt-actions-menu button { color: #cbd5e1; }
[data-bs-theme="dark"] .cmt-actions-menu button:hover { background: rgba(99,102,241,0.1); color: #a5b4fc; }
[data-bs-theme="dark"] .cmt-edit-textarea { background: rgba(30,27,75,0.5); color: #e0e7ff; }
[data-bs-theme="dark"] .cmt-edit-cancel { background: rgba(30,27,75,0.4); border-color: rgba(99,102,241,0.2); color: #94a3b8; }
[data-bs-theme="dark"] .cmt-load-more-btn { background: rgba(30,27,75,0.4); border-color: rgba(99,102,241,0.2); }
[data-bs-theme="dark"] .cmt-load-more-btn:hover { background: rgba(99,102,241,0.1); border-color: #6366f1; }
[data-bs-theme="dark"] .cmt-empty { color: #64748b; }
[data-bs-theme="dark"] .cmt-empty-text { color: #64748b; }
[data-bs-theme="dark"] .cmt-avatar-img { background-image: linear-gradient(#1e1b4b,#1e1b4b), linear-gradient(135deg, #6366f1, #ec4899, #f59e0b); }

/* â”€â”€ Admin Comments Page (Modern) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cm-page { background: #f8fafc; min-height: 100vh; padding-bottom: 3rem; }

/* Header */
.cm-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 40%, #a78bfa 100%);
    padding: 2rem 0 2.5rem;
    margin-bottom: -1.5rem;
    position: relative;
    overflow: hidden;
}
.cm-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(255,255,255,.08) 0%, transparent 50%);
}
.cm-header-pill {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
    color: #fff; padding: 6px 14px; border-radius: 20px;
    font-size: .78rem; font-weight: 600;
}
.cm-header-pill-alert {
    background: rgba(239,68,68,.35); animation: cmPulse 2s infinite;
}
@keyframes cmPulse { 0%,100%{opacity:1} 50%{opacity:.7} }

/* Stat Cards Grid */
.cm-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px; margin-bottom: 1.5rem;
    position: relative; z-index: 2;
}
.cm-card {
    display: flex; align-items: center; gap: 12px;
    background: var(--card-bg); border: 1.5px solid var(--card-bg2);
    border-radius: 16px; padding: 16px 18px;
    text-decoration: none; color: inherit;
    transition: all .2s ease; position: relative; overflow: hidden;
}
.cm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--card-accent) 20%, transparent);
    border-color: var(--card-accent);
    color: inherit; text-decoration: none;
}
.cm-card-active {
    border-color: var(--card-accent);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--card-accent) 18%, transparent);
}
.cm-card-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--card-bg2); color: var(--card-accent);
    font-size: 1.15rem; flex-shrink: 0;
}
.cm-card-num { font-size: 1.35rem; font-weight: 800; color: var(--card-accent); line-height: 1.1; }
.cm-card-label { font-size: .72rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.cm-card-check {
    position: absolute; top: 8px; right: 8px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--card-accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem;
}

/* Toolbar */
.cm-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px; margin-bottom: 1rem;
}
.cm-filters-row { display: flex; gap: 6px; flex-wrap: wrap; }
.cm-filter-pill {
    display: inline-flex; align-items: center; gap: 2px;
    padding: 7px 16px; border-radius: 20px;
    font-size: .8rem; font-weight: 600;
    background: #fff; color: #64748b;
    border: 1.5px solid #e2e8f0;
    text-decoration: none; transition: all .15s;
}
.cm-filter-pill:hover { border-color: #6366f1; color: #6366f1; background: #eef2ff; text-decoration: none; }
.cm-filter-pill.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; border-color: transparent;
    box-shadow: 0 3px 10px rgba(99,102,241,.25);
}
.cm-filter-pill.active:hover { color: #fff; }
.cm-filter-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: 10px; font-size: .68rem; font-weight: 700;
    background: rgba(0,0,0,.08); margin-left: 4px;
}
.cm-filter-pill.active .cm-filter-count { background: rgba(255,255,255,.25); }

/* Search */
.cm-search-form { flex-shrink: 0; }
.cm-search-wrap {
    position: relative; display: flex; align-items: center;
}
.cm-search-icon {
    position: absolute; left: 14px; color: #94a3b8; font-size: .85rem;
}
.cm-search-input {
    padding: 8px 38px 8px 38px; border-radius: 12px;
    border: 1.5px solid #e2e8f0; background: #fff;
    font-size: .82rem; width: 260px; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.cm-search-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.cm-search-clear {
    position: absolute; right: 10px;
    width: 22px; height: 22px; border-radius: 50%;
    background: #f1f5f9; display: flex; align-items: center; justify-content: center;
    color: #94a3b8; font-size: .65rem; text-decoration: none;
    transition: all .15s;
}
.cm-search-clear:hover { background: #ef4444; color: #fff; }

/* Filter Tags */
.cm-filter-tags {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap; margin-bottom: 1rem;
}
.cm-filter-tags-label { font-size: .78rem; color: #94a3b8; font-weight: 600; }
.cm-filter-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 4px 10px; font-size: .75rem; font-weight: 600; color: #475569;
}
.cm-tag-x {
    width: 16px; height: 16px; border-radius: 50%; background: #f1f5f9;
    display: inline-flex; align-items: center; justify-content: center;
    color: #94a3b8; font-size: .55rem; text-decoration: none; transition: all .15s;
}
.cm-tag-x:hover { background: #ef4444; color: #fff; }
.cm-clear-all {
    font-size: .75rem; color: #ef4444; text-decoration: none; font-weight: 600;
}
.cm-clear-all:hover { text-decoration: underline; }

/* Alerts */
.cm-alert {
    border: none; border-radius: 14px; font-size: .85rem; font-weight: 600;
    padding: 12px 20px; margin-bottom: 1rem;
    display: flex; align-items: center;
}
.cm-alert-success { background: #ecfdf5; color: #065f46; }
.cm-alert-danger { background: #fef2f2; color: #991b1b; }

/* Bulk Actions Bar */
.cm-bulk-bar {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 14px; padding: 12px 20px;
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px; color: #fff;
}
.cm-bulk-info { font-size: .85rem; font-weight: 600; }
.cm-bulk-count {
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.2); min-width: 26px; height: 26px;
    border-radius: 8px; font-weight: 800; padding: 0 6px; margin-right: 4px;
}
.cm-bulk-btn {
    display: inline-flex; align-items: center;
    padding: 6px 16px; border-radius: 10px;
    font-size: .78rem; font-weight: 700; border: none; cursor: pointer;
    transition: all .15s;
}
.cm-bulk-warn { background: rgba(245,158,11,.2); color: #fbbf24; }
.cm-bulk-warn:hover { background: #f59e0b; color: #fff; }
.cm-bulk-danger { background: rgba(239,68,68,.2); color: #fca5a5; }
.cm-bulk-danger:hover { background: #ef4444; color: #fff; }

/* Table Card */
.cm-table-card {
    background: #fff; border-radius: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
    overflow: hidden; border: 1px solid #f1f5f9;
}
.cm-table { border-collapse: collapse; }
.cm-table thead th {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .6px; color: #94a3b8;
    background: #fafbfd; padding: 14px 16px;
    border-bottom: 1.5px solid #f1f5f9;
}
.cm-table tbody td {
    padding: 14px 16px; vertical-align: middle;
    font-size: .84rem; border-bottom: 1px solid #f8fafc;
}
.cm-table tbody tr { transition: background .12s; }
.cm-table tbody tr:hover { background: #fafbfe; }
.cm-row-hidden { opacity: .6; }
.cm-row-reported { background: #fffbeb !important; }

/* Checkbox */
.cm-checkbox {
    width: 16px; height: 16px; border-radius: 4px;
    accent-color: #6366f1; cursor: pointer;
}

/* Comment Cell */
.cm-comment-cell { max-width: 320px; }
.cm-tag-pinned {
    display: inline-block; background: #fffbeb; color: #b45309;
    font-size: .65rem; font-weight: 700; padding: 2px 8px;
    border-radius: 6px; margin-bottom: 4px;
}
.cm-tag-reply {
    display: inline-block; background: #f1f5f9; color: #64748b;
    font-size: .65rem; font-weight: 600; padding: 2px 8px;
    border-radius: 6px; margin-bottom: 4px;
}
.cm-comment-text {
    font-size: .84rem; color: #334155; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.cm-hidden-reason {
    font-size: .72rem; color: #ef4444; margin-top: 4px;
    background: #fef2f2; padding: 3px 8px; border-radius: 6px;
    display: inline-block;
}

/* User Cell */
.cm-user-cell { display: flex; align-items: center; gap: 10px; }
.cm-user-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    object-fit: cover; border: 2px solid #f1f5f9;
}
.cm-user-name { font-size: .82rem; font-weight: 700; color: #1e293b; white-space: nowrap; }
.cm-verified-tick { color: #6366f1; font-size: .7rem; margin-left: 2px; }

/* Listing Link */
.cm-listing-link {
    font-size: .8rem; color: #6366f1; text-decoration: none;
    font-weight: 600; display: inline-flex; align-items: center; gap: 4px;
    transition: color .15s;
}
.cm-listing-link i { font-size: .6rem; opacity: .5; }
.cm-listing-link:hover { color: #4f46e5; text-decoration: underline; }

/* Status Pill */
.cm-status {
    display: inline-block; font-size: .7rem; font-weight: 700;
    padding: 3px 12px; border-radius: 20px;
}
.cm-status-visible { background: #ecfdf5; color: #059669; }
.cm-status-hidden  { background: #fef2f2; color: #dc2626; }
.cm-status-reported { background: #fffbeb; color: #d97706; }

/* Reactions Badge */
.cm-reactions-badge {
    display: inline-flex; align-items: center;
    background: #fdf2f8; color: #db2777; font-weight: 700;
    font-size: .75rem; padding: 3px 10px; border-radius: 10px;
}
.cm-reactions-zero { color: #d1d5db; font-size: .8rem; }

/* Date Cell */
.cm-date-cell { display: flex; flex-direction: column; }
.cm-date-ago { font-size: .8rem; color: #475569; font-weight: 600; }
.cm-date-exact { font-size: .68rem; color: #94a3b8; }

/* Action Buttons */
.cm-actions { display: flex; gap: 6px; justify-content: flex-end; }
.cm-act-btn {
    width: 34px; height: 34px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; font-size: .82rem;
    transition: all .18s; position: relative;
}
.cm-act-view { background: #eef2ff; color: #6366f1; }
.cm-act-view:hover { background: #6366f1; color: #fff; box-shadow: 0 4px 12px rgba(99,102,241,.3); }
.cm-act-hide { background: #fffbeb; color: #f59e0b; }
.cm-act-hide:hover { background: #f59e0b; color: #fff; box-shadow: 0 4px 12px rgba(245,158,11,.3); }
.cm-act-restore { background: #ecfdf5; color: #10b981; }
.cm-act-restore:hover { background: #10b981; color: #fff; box-shadow: 0 4px 12px rgba(16,185,129,.3); }
.cm-act-delete { background: #fef2f2; color: #ef4444; }
.cm-act-delete:hover { background: #ef4444; color: #fff; box-shadow: 0 4px 12px rgba(239,68,68,.3); }

/* Empty State */
.cm-empty { padding: 2rem 0; }
.cm-empty-icon {
    width: 64px; height: 64px; margin: 0 auto;
    border-radius: 20px; background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #cbd5e1;
}

/* Pagination */
.cm-pagination {
    display: flex; justify-content: center; margin-top: 1.5rem;
}
.cm-page-link {
    border-radius: 10px !important; margin: 0 3px;
    border: 1.5px solid #e2e8f0 !important; color: #64748b;
    font-weight: 600; font-size: .82rem;
    min-width: 38px; text-align: center;
    transition: all .15s;
}
.cm-page-link:hover { border-color: #6366f1 !important; color: #6366f1; background: #eef2ff; }
.page-item.active .cm-page-link {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    border-color: transparent !important; color: #fff;
}

/* Modal */
.cm-modal { border: none; border-radius: 20px !important; overflow: hidden; }
.cm-modal-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 1.2rem 1.5rem; display: flex; align-items: center;
    justify-content: space-between;
}
.cm-modal-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem;
}
.cm-modal-author {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 1rem;
}
.cm-modal-avatar {
    width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
    border: 3px solid #eef2ff;
}
.cm-modal-body {
    background: #f8fafc; border-radius: 14px; padding: 1rem 1.2rem;
    white-space: pre-line; line-height: 1.7; font-size: .88rem;
    color: #334155; margin-bottom: 1.2rem;
    border-left: 4px solid #6366f1;
}
.cm-modal-meta {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 1rem;
}
.cm-meta-item {
    display: flex; align-items: center; gap: 10px;
    background: #fafbfd; border-radius: 12px; padding: 10px 14px;
}
.cm-meta-icon {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--m-bg); color: var(--m-color);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; flex-shrink: 0;
}
.cm-meta-label { font-size: .68rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }

/* Reports in Modal */
.cm-reports-section {
    background: #fef2f2; border-radius: 14px;
    padding: 1rem; margin-top: .5rem;
}
.cm-reports-title {
    color: #dc2626; font-size: .85rem; font-weight: 800; margin-bottom: .75rem;
}
.cm-report-item {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; border-radius: 10px; padding: 10px 14px;
    margin-bottom: 8px; font-size: .82rem;
}
.cm-report-body { flex: 1; }
.cm-report-body strong { color: #1e293b; }
.cm-report-body p { color: #475569; margin: 2px 0; font-size: .8rem; }
.cm-report-actions { display: flex; gap: 6px; }

/* Responsive */
@media (max-width: 767.98px) {
    .cm-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .cm-toolbar { flex-direction: column; }
    .cm-search-input { width: 100%; }
    .cm-modal-meta { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .cm-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .cm-card { padding: 12px; }
    .cm-card-icon { width: 36px; height: 36px; font-size: 1rem; }
    .cm-card-num { font-size: 1.1rem; }
}

/* Legacy compat */
.cmt-admin-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.cmt-admin-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.cmt-admin-filter-btn {
    border: 1.5px solid #e5e7eb;
    background: #fff;
    padding: 7px 18px;
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all .15s;
}
.cmt-admin-filter-btn.active,
.cmt-admin-filter-btn:hover {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}
.cmt-admin-table th {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #64748b;
    border-bottom: 2px solid #f0f0f0;
    padding: 12px 16px;
}
.cmt-admin-table td {
    padding: 12px 16px;
    vertical-align: middle;
    font-size: .85rem;
}
.cmt-admin-status {
    font-size: .72rem;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
}
.cmt-admin-status.visible { background: #dcfce7; color: #15803d; }
.cmt-admin-status.hidden { background: #fee2e2; color: #b91c1c; }
.cmt-admin-status.reported { background: #fef3c7; color: #92400e; }

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 767.98px) {
    .cmt-section { padding: 0; border-radius: 16px; }
    .cmt-header { flex-direction: row; gap: 8px; align-items: center; padding: 12px 14px 10px; }
    .cmt-reply { margin-left: 20px; }
    .cmt-item { padding: 12px 8px; gap: 8px; }
    .cmt-reaction-picker-popup { max-width: 240px; }
    .cmt-emoji-grid { gap: 2px; }
    .cmt-emoji-item { width: 34px; height: 34px; font-size: 1.2rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* ENTERPRISE FOLLOW SYSTEM                                       */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Follow User List â”€â”€ */
.follow-user-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.follow-user-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    transition: all 0.2s ease;
}

.follow-user-card:first-child {
    border-radius: 12px 12px 0 0;
}

.follow-user-card:last-child {
    border-radius: 0 0 12px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.follow-user-card:only-child {
    border-radius: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.follow-user-card:hover {
    background: #f8f9ff;
    border-color: var(--bs-primary, #3b82f6);
    z-index: 1;
    position: relative;
}

.follow-user-card-link {
    cursor: pointer;
}

.follow-user-card-link:hover {
    background: #f0f4ff;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}

/* â”€â”€ Follow Avatar â”€â”€ */
.follow-user-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.follow-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.follow-avatar-placeholder {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bs-primary, #3b82f6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-radius: 50%;
    overflow: hidden;
}

.follow-verified {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--bs-primary, #3b82f6);
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    z-index: 3;
}

/* â”€â”€ Follow User Info â”€â”€ */
.follow-user-info {
    flex: 1;
    min-width: 0;
}

.follow-user-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.follow-user-name:hover {
    color: var(--bs-primary, #3b82f6);
}

.follow-user-handle {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 1px;
}

.follow-user-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #6b7280;
}

.follow-user-stats strong {
    color: #374151;
    font-weight: 600;
}

/* â”€â”€ Mutual Badge â”€â”€ */
.follow-mutual-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    color: var(--bs-primary, #3b82f6);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* â”€â”€ Business Badge in Follow Cards â”€â”€ */
.badge-business {
    display: inline-block;
    padding: 1px 8px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* â”€â”€ Follow Action Button â”€â”€ */
.follow-user-action {
    flex-shrink: 0;
}

.follow-toggle-btn {
    border-radius: 100px !important;
    padding: 6px 18px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    min-width: 110px;
}

.follow-toggle-btn:hover {
    transform: scale(1.03);
}

/* Following button hover to show "Unfollow" */
.follow-toggle-btn.btn-primary:hover {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* â”€â”€ Admin: Follow Trend Chart â”€â”€ */
.follow-trend-chart {
    position: relative;
}

.follow-trend-bar {
    background: linear-gradient(180deg, var(--bs-primary, #3b82f6), #93c5fd);
    border-radius: 4px 4px 0 0;
    position: relative;
    min-height: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.follow-trend-bar:hover {
    background: linear-gradient(180deg, #1d4ed8, #3b82f6);
    transform: scaleY(1.08);
    transform-origin: bottom;
}

.follow-trend-tooltip {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.follow-trend-bar:hover .follow-trend-tooltip {
    opacity: 1;
}

/* â”€â”€ Admin: Follow Activity Feed â”€â”€ */
.follow-activity-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.follow-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}

.follow-activity-item:last-child {
    border-bottom: none;
}

.follow-activity-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.follow-activity-content {
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* â”€â”€ Responsive Follow System â”€â”€ */
@media (max-width: 767.98px) {
    .follow-user-card {
        padding: 12px 14px;
        gap: 12px;
    }

    .follow-user-avatar {
        width: 42px;
        height: 42px;
    }

    .follow-user-stats {
        flex-wrap: wrap;
        gap: 8px;
    }

    .follow-toggle-btn {
        min-width: 90px;
        padding: 5px 12px !important;
        font-size: 0.75rem !important;
    }

    .follow-user-name {
        font-size: 0.88rem;
    }
}

@media (max-width: 575.98px) {
    .follow-user-card {
        flex-wrap: wrap;
    }

    .follow-user-action {
        width: 100%;
        margin-top: 4px;
    }

    .follow-toggle-btn {
        width: 100%;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADMIN LISTINGS PAGE - Light Modern Theme
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.alp-page {
    min-height: 100vh;
    background: #f4f6fb;
    position: relative;
}

.alp-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(600px circle at 20% 10%, rgba(99,102,241,0.05) 0%, transparent 60%),
        radial-gradient(500px circle at 85% 50%, rgba(236,72,153,0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.alp-page > .container-fluid {
    position: relative;
    z-index: 1;
}

/* â”€â”€ Hero â”€â”€ */
.alp-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #4f46e5, #6366f1 40%, #818cf8);
    box-shadow: 0 4px 24px rgba(79,70,229,0.15);
}

.alp-hero-pattern {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg, transparent, transparent 60px,
        rgba(255,255,255,0.04) 60px, rgba(255,255,255,0.04) 61px
    );
    pointer-events: none;
}

.alp-hero-content {
    position: relative;
    padding: 1.75rem 2rem;
}

.alp-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.alp-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 1.1rem;
}

.alp-hero-sub {
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    margin: 0.35rem 0 0;
}

/* Buttons */
.alp-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.alp-btn-glass:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.alp-btn-glass.alp-btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
}

.alp-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border: none;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(245,158,11,0.25);
    position: relative;
}

.alp-btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.35);
    color: #fff;
}

.alp-btn-badge {
    min-width: 20px;
    height: 20px;
    border-radius: 50px;
    background: #fff;
    color: #f97316;
    font-size: 0.65rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* â”€â”€ Stat Tiles â”€â”€ */
.alp-stats-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.alp-stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 0.75rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: var(--gray-800);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.alp-stat-card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow: 0 8px 24px rgba(79,70,229,0.1);
    color: var(--gray-800);
}

.alp-stat-card.alp-stat-active {
    border-color: #a5b4fc;
    box-shadow: 0 4px 16px rgba(79,70,229,0.12);
}

.alp-stat-ring {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--stat-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.6rem;
    box-shadow: 0 3px 10px var(--stat-glow, rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.alp-stat-card:hover .alp-stat-ring {
    transform: scale(1.1) rotate(3deg);
}

.alp-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    color: var(--gray-800);
}

.alp-stat-label {
    font-size: 0.7rem;
    color: var(--gray-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.alp-stat-pulse {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    animation: alpPulse 1.5s infinite;
}

@keyframes alpPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

.alp-stat-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79,70,229,0.03), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.alp-stat-card:hover .alp-stat-shimmer {
    left: 150%;
}

/* â”€â”€ Filter Bar â”€â”€ */
.alp-filter-bar {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.alp-search-wrap {
    position: relative;
    flex: 1;
    max-width: 360px;
}

.alp-search-wrap > i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.85rem;
    pointer-events: none;
}

.alp-search-wrap input {
    padding-left: 2.4rem;
    padding-right: 2rem;
    border-radius: 10px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    font-size: 0.84rem;
}

.alp-search-wrap input::placeholder { color: var(--gray-400); }
.alp-search-wrap input:focus {
    background: #fff;
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
    color: var(--gray-800);
}

.alp-search-clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: none;
    background: var(--gray-100);
    color: var(--gray-400);
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alp-search-clear:hover { background: #fef2f2; color: #ef4444; }

.alp-select {
    max-width: 170px;
    border-radius: 10px;
    font-size: 0.82rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    padding: 0.4rem 2rem 0.4rem 0.75rem;
}

.alp-select:focus {
    background: #fff;
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
    color: var(--gray-800);
}

.alp-select option { background: #fff; color: var(--gray-800); }

.alp-results-count {
    font-size: 0.78rem;
    color: var(--gray-400);
    white-space: nowrap;
}

/* â”€â”€ Table â”€â”€ */
.alp-table-wrap {
    border-radius: 16px;
    overflow: visible;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.alp-table-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: var(--gray-50);
    border-bottom: 1px solid #e5e7eb;
}

.alp-th {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
}

.alp-th-grow { flex: 1; min-width: 0; }
.alp-th-price { min-width: 110px; text-align: right; }
.alp-th-stats { min-width: 110px; display: flex; }
.alp-th-actions { min-width: 155px; text-align: right; }

/* Rows */
.alp-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    animation: alpRowIn 0.3s ease forwards;
    animation-delay: var(--row-delay, 0s);
    opacity: 0;
}

@keyframes alpRowIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.alp-row:hover {
    background: #f8faff;
}

.alp-row:last-child { border-bottom: none; }

/* Thumbnail */
.alp-row-thumb {
    width: 56px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
}

.alp-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alp-thumb-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    font-size: 1rem;
}

/* Info */
.alp-row-info {
    flex: 1;
    min-width: 0;
}

.alp-row-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-800);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color 0.2s;
}

.alp-row-title:hover { color: #4f46e5; }

.alp-row-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3px;
    flex-wrap: wrap;
}

.alp-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
}

.alp-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.alp-meta-tag {
    font-size: 0.72rem;
    color: var(--gray-400);
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.alp-meta-tag i { font-size: 0.65rem; }

.alp-featured-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #f59e0b;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

/* Price */
.alp-row-price {
    min-width: 110px;
    text-align: right;
}

.alp-price-main {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--gray-800);
}

.alp-price-neg {
    font-size: 0.6rem;
    color: var(--gray-400);
    font-weight: 500;
}

.alp-price-contact {
    font-size: 0.78rem;
    color: var(--gray-400);
}

/* Stats */
.alp-row-stats {
    min-width: 110px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.alp-mini-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    color: var(--gray-400);
}

.alp-mini-stat i { font-size: 0.75rem; }

/* Actions */
.alp-row-actions {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 155px;
    justify-content: flex-end;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.alp-row:hover .alp-row-actions {
    opacity: 1;
}

.alp-act-btn {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    background: var(--gray-100);
    color: var(--gray-500);
}

.alp-act-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
    transform: scale(1.08);
}

.alp-act-approve {
    background: #dcfce7;
    color: #16a34a;
}
.alp-act-approve:hover { background: #bbf7d0; color: #16a34a; box-shadow: 0 0 8px rgba(22,163,74,0.15); }

.alp-act-edit { color: #6366f1; }
.alp-act-edit:hover { background: #eef2ff; color: #4f46e5; }

.alp-act-star { color: var(--gray-300); }
.alp-act-star:hover { background: #fffbeb; color: #f59e0b; }

.alp-act-starred {
    background: #fffbeb;
    color: #f59e0b;
}
.alp-act-starred:hover { background: #fef3c7; }

.alp-act-more { color: var(--gray-400); }

/* Dropdown - ensure it pops above rows */
.alp-row-actions .dropdown { position: static; }
.alp-row-actions .dropdown-menu { position: absolute; z-index: 1050; }
.alp-row { position: relative; }

.alp-dropdown {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
    padding: 0.4rem !important;
}

.alp-dropdown .dropdown-item {
    color: var(--gray-700) !important;
    font-size: 0.8rem;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
}

.alp-dropdown .dropdown-item:hover {
    background: var(--gray-50) !important;
    color: var(--gray-900) !important;
}

.alp-dropdown .dropdown-item.text-danger { color: #ef4444 !important; }
.alp-dropdown .dropdown-divider { border-color: #f3f4f6 !important; }

/* Empty */
.alp-empty {
    text-align: center;
    padding: 4rem 1rem;
}

.alp-empty-icon {
    font-size: 3rem;
    color: var(--gray-300);
}

.alp-empty h5 { color: var(--gray-600); }
.alp-empty p { color: var(--gray-400); }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1199.98px) {
    .alp-stats-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
    .alp-hero-content { padding: 1.25rem; }
    .alp-hero-title { font-size: 1.25rem; }
    .alp-title-icon { width: 36px; height: 36px; font-size: 0.95rem; }
    .alp-stats-row { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .alp-stat-card { padding: 0.85rem 0.5rem; }
    .alp-stat-ring { width: 36px; height: 36px; font-size: 0.9rem; }
    .alp-stat-num { font-size: 1.2rem; }
    .alp-filter-bar { padding: 0.6rem 0.75rem; }
    .alp-search-wrap { max-width: none; width: 100%; }
    .alp-select { max-width: none; flex: 1; min-width: 0; }
    .alp-table-head { display: none; }
    .alp-row { flex-wrap: wrap; gap: 0.5rem; padding: 0.85rem; }
    .alp-row-info { width: calc(100% - 70px); }
    .alp-row-actions { width: 100%; justify-content: flex-end; opacity: 1; }
}

@media (max-width: 575.98px) {
    .alp-stats-row { grid-template-columns: repeat(2, 1fr); }
    .alp-stat-card { padding: 0.75rem 0.5rem; }
    .alp-stat-num { font-size: 1.1rem; }
    .alp-stat-ring { width: 32px; height: 32px; font-size: 0.8rem; margin-bottom: 0.4rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Admin Users â€“ Modern Redesign
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.au-page {
    background: #f8fafc;
    min-height: 100vh;
}

/* Header */
.au-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 24px 0;
    margin-bottom: 24px;
}
.au-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}
.au-subtitle {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 2px 0 0;
}

/* Stat filter cards */
.au-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.au-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 14px;
    text-decoration: none;
    transition: all .2s ease;
    position: relative;
    overflow: hidden;
}
.au-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--card-accent);
    opacity: 0;
    transition: opacity .2s;
}
.au-card:hover {
    border-color: var(--card-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.au-card:hover::before {
    opacity: 1;
}
.au-card-active {
    border-color: var(--card-accent);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--card-accent) 15%, transparent);
}
.au-card-active::before {
    opacity: 1;
}
.au-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--card-accent) 12%, transparent);
    color: var(--card-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.au-card-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}
.au-card-label {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* Toolbar */
.au-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}
.au-search-form {
    display: flex;
    gap: 8px;
    flex: 1;
}
.au-search-wrap {
    position: relative;
    flex: 1;
}
.au-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}
.au-search-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.88rem;
    background: #fff;
    transition: all .2s;
    outline: none;
}
.au-search-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
.au-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.8rem;
}
.au-search-clear:hover { color: #ef4444; }
.au-search-btn {
    padding: 10px 24px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}
.au-search-btn:hover { background: #4f46e5; }

.au-sort-select {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.85rem;
    background: #fff;
    cursor: pointer;
    outline: none;
}

/* Active filter tags */
.au-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.au-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #eef2ff;
    color: #6366f1;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}
.au-filter-tag a {
    color: #6366f1;
    opacity: .6;
    transition: opacity .2s;
}
.au-filter-tag a:hover { opacity: 1; }

/* Table */
.au-table-wrap {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.au-table {
    width: 100%;
    border-collapse: collapse;
}
.au-table thead th {
    padding: 14px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}
.au-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background .15s;
}
.au-table tbody tr:last-child { border-bottom: none; }
.au-table tbody tr:hover { background: #f8fafc; }
.au-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
}
.au-row-locked { background: #fef2f2 !important; }
.au-row-locked:hover { background: #fee2e2 !important; }

/* User cell */
.au-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.au-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.au-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.au-avatar-letter {
    font-size: 1rem;
    font-weight: 700;
    color: #94a3b8;
}
.au-avatar-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #14b8a6;
    color: #fff;
    font-size: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
    z-index: 2;
}
.au-user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}
.au-user-sub {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Contact cell */
.au-contact-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.au-email {
    font-size: 0.82rem;
    color: #475569;
    text-decoration: none;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.au-email:hover { color: #6366f1; }
.au-phone {
    font-size: 0.72rem;
    color: #94a3b8;
}

/* Location */
.au-location {
    font-size: 0.82rem;
    color: #64748b;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Listing count */
.au-listing-count {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
}
.au-listing-active {
    display: block;
    font-size: 0.65rem;
    color: #10b981;
    font-weight: 600;
}

/* Views */
.au-views {
    font-size: 0.82rem;
    color: #64748b;
}

/* Badges */
.au-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--b-color);
    background: var(--b-bg);
    white-space: nowrap;
}

/* Date */
.au-date {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    color: #475569;
    white-space: nowrap;
}
.au-last-seen {
    font-size: 0.68rem;
    color: #94a3b8;
}

/* Actions */
.au-actions {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}
.au-act-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}
.au-act-view {
    background: rgba(59,130,246,.08);
    color: #3b82f6;
}
.au-act-view:hover {
    background: rgba(59,130,246,.18);
    color: #2563eb;
}
.au-act-security {
    background: rgba(99,102,241,.08);
    color: #6366f1;
}
.au-act-security:hover {
    background: rgba(99,102,241,.18);
    color: #4f46e5;
}
.au-act-more {
    background: rgba(107,114,128,.08);
    color: #6b7280;
}
.au-act-more:hover {
    background: rgba(107,114,128,.18);
    color: #374151;
}

/* Dropdown */
.au-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 6px;
    min-width: 190px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    z-index: 50;
    display: none;
}
.au-dropdown.show { display: block; }
.au-dropdown a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: background .15s;
}
.au-dropdown a:hover { background: #f8fafc; }
.au-dropdown a.text-danger { color: #ef4444 !important; }
.au-dropdown a.text-danger:hover { background: #fef2f2; }
.au-dropdown hr {
    margin: 4px 0;
    border-color: #f1f5f9;
}

/* You badge */
.au-you-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #6366f1;
    background: #eef2ff;
}

/* Responsive */
@media (max-width: 991.98px) {
    .au-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .au-toolbar { flex-wrap: wrap; }
    .au-sort { width: 100%; }
    .au-sort-select { width: 100%; }
}
@media (max-width: 767.98px) {
    .au-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .au-card { padding: 12px; }
    .au-card-icon { width: 34px; height: 34px; font-size: 0.9rem; }
    .au-card-num { font-size: 1.1rem; }
    .au-table-wrap { overflow-x: auto; }
    .au-table { min-width: 800px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADMIN REVIEWS PAGE - Modern Colorful Light
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.arv-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #f0f4ff 0%, #e8ecff 20%, #fdf2f8 45%, #ecfdf5 70%, #eff6ff 100%);
    background-attachment: fixed;
    position: relative;
}

.arv-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(600px circle at 10% 20%, rgba(99,102,241,0.06) 0%, transparent 60%),
        radial-gradient(500px circle at 85% 30%, rgba(236,72,153,0.05) 0%, transparent 60%),
        radial-gradient(450px circle at 50% 85%, rgba(16,185,129,0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.arv-page > .container-fluid { position: relative; z-index: 1; }

/* â”€â”€ Hero â”€â”€ */
.arv-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
}

.arv-hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.arv-hero-deco-1 {
    width: 200px; height: 200px;
    top: -60px; right: -40px;
    background: radial-gradient(circle, rgba(99,102,241,0.08), transparent 70%);
}

.arv-hero-deco-2 {
    width: 160px; height: 160px;
    bottom: -50px; left: 20%;
    background: radial-gradient(circle, rgba(236,72,153,0.06), transparent 70%);
}

.arv-hero-content {
    position: relative;
    padding: 1.75rem 2rem;
}

.arv-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.5px;
}

.arv-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(99,102,241,0.25);
}

.arv-subtitle {
    color: #64748b;
    font-size: 0.82rem;
    margin: 0.35rem 0 0;
}

.arv-total-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(99,102,241,0.2);
}

.arv-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.6);
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.arv-btn-glass:hover {
    background: rgba(255,255,255,0.8);
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* â”€â”€ Stat Cards â”€â”€ */
.arv-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.arv-stat-card {
    text-align: center;
    padding: 1.15rem 0.75rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}

.arv-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px var(--sc-glow, rgba(0,0,0,0.05));
    background: rgba(255,255,255,0.8);
}

.arv-stat-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--sc-grad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    margin: 0 auto 0.5rem;
    box-shadow: 0 4px 14px var(--sc-glow, rgba(0,0,0,0.1));
    transition: transform 0.25s;
}

.arv-stat-card:hover .arv-stat-icon {
    transform: scale(1.1) rotate(3deg);
}

.arv-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
    line-height: 1;
}

.arv-stat-label {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

/* â”€â”€ Rating Distribution Bar â”€â”€ */
.arv-dist-bar {
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.7);
}

.arv-dist-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.5rem;
}

.arv-dist-label i { color: #6366f1; }

.arv-dist-track {
    display: flex;
    height: 28px;
    border-radius: 8px;
    overflow: hidden;
    gap: 2px;
    background: #f1f5f9;
}

.arv-dist-seg {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    transition: width 0.5s ease;
    min-width: 0;
}

.arv-dist-legend {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.arv-dist-legend span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}

.arv-dist-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* â”€â”€ Filter Bar â”€â”€ */
.arv-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.65);
    flex-wrap: wrap;
}

.arv-filters {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.arv-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: #64748b;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.2s;
}

.arv-filter-pill i { font-size: 0.7rem; }

.arv-filter-pill:hover {
    background: rgba(255,255,255,0.8);
    color: var(--pill-c, #6366f1);
    border-color: var(--pill-c, #6366f1);
}

.arv-filter-pill.arv-pill-active {
    background: var(--pill-c, #6366f1);
    color: #fff;
    border-color: var(--pill-c, #6366f1);
    box-shadow: 0 3px 12px color-mix(in srgb, var(--pill-c, #6366f1) 25%, transparent);
}

.arv-search-form { display: flex; }

.arv-search-wrap {
    position: relative;
    min-width: 220px;
}

.arv-search-wrap > i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.8rem;
    pointer-events: none;
}

.arv-search-wrap input {
    width: 100%;
    padding: 0.4rem 2rem 0.4rem 2.2rem;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
}

.arv-search-wrap input::placeholder { color: #94a3b8; }

.arv-search-wrap input:focus {
    background: #fff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.arv-search-clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-decoration: none;
    transition: all 0.15s;
}

.arv-search-clear:hover { background: #fee2e2; color: #ef4444; }

/* â”€â”€ Review Cards â”€â”€ */
.arv-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.arv-review {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
    animation: arvRowIn 0.35s ease forwards;
    animation-delay: var(--row-delay, 0s);
    opacity: 0;
}

@keyframes arvRowIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.arv-review:hover {
    background: rgba(255,255,255,0.85);
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.arv-review.arv-review-hidden {
    border-color: rgba(239,68,68,0.15);
}

.arv-hidden-banner {
    padding: 0.35rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #ef4444;
    background: rgba(239,68,68,0.06);
    border-bottom: 1px solid rgba(239,68,68,0.08);
}

.arv-review-body {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
}

/* People section */
.arv-review-people {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 260px;
    flex-shrink: 0;
}

.arv-person {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.arv-avatar {
    width: 36px; height: 36px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    color: #6366f1;
    font-weight: 700;
    font-size: 0.85rem;
}

.arv-avatar-seller {
    background: linear-gradient(135deg, #fce7f3, #fdf2f8);
    color: #ec4899;
}

.arv-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.arv-person-info { min-width: 0; }

.arv-person-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: #1e293b;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.arv-person-name:hover { color: #6366f1; }

.arv-person-role {
    font-size: 0.62rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.arv-review-arrow {
    color: #cbd5e1;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Content section */
.arv-review-content {
    flex: 1;
    min-width: 0;
}

.arv-stars {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    color: #f59e0b;
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
}

.arv-rating-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    margin-left: 0.35rem;
}

.arv-review-text {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.45;
    margin: 0 0 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arv-no-text { color: #94a3b8; font-style: italic; }

.arv-reply-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #3b82f6;
    background: rgba(59,130,246,0.06);
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    margin-bottom: 0.25rem;
}

.arv-review-time {
    font-size: 0.68rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.arv-helpful {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    color: #10b981;
    font-weight: 600;
}

/* Actions */
.arv-review-actions {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
    opacity: 0.35;
    transition: opacity 0.2s;
}

.arv-review:hover .arv-review-actions { opacity: 1; }

.arv-act-btn {
    width: 34px; height: 34px;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    background: rgba(0,0,0,0.03);
    color: #64748b;
}

.arv-act-btn:hover {
    transform: scale(1.08);
}

.arv-act-view:hover { background: rgba(59,130,246,0.1); color: #3b82f6; }
.arv-act-show { color: #10b981; }
.arv-act-show:hover { background: rgba(16,185,129,0.1); color: #10b981; }
.arv-act-hide:hover { background: rgba(239,68,68,0.08); color: #ef4444; }
.arv-act-delete { color: #ef4444; }
.arv-act-delete:hover { background: rgba(239,68,68,0.1); color: #ef4444; }

/* â”€â”€ Empty State â”€â”€ */
.arv-empty {
    text-align: center;
    padding: 4rem 1rem;
}

.arv-empty-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px; height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    color: #6366f1;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.arv-empty-ring {
    position: absolute;
    border-radius: 20px;
    border: 2px solid rgba(99,102,241,0.1);
    pointer-events: none;
}

.arv-empty-ring-1 { inset: -8px; animation: rgnRingPulse 3s ease-in-out infinite; }
.arv-empty-ring-2 { inset: -18px; animation: rgnRingPulse 3s ease-in-out 0.5s infinite; opacity: 0.5; }

.arv-empty h5 { color: #334155; font-weight: 700; }
.arv-empty p { color: #94a3b8; font-size: 0.88rem; margin-bottom: 1rem; }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1199.98px) {
    .arv-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991.98px) {
    .arv-review-body { flex-wrap: wrap; gap: 0.75rem; }
    .arv-review-people { min-width: auto; width: 100%; }
    .arv-review-actions { width: 100%; justify-content: flex-end; opacity: 1; }
}

@media (max-width: 767.98px) {
    .arv-hero-content { padding: 1.25rem; }
    .arv-title { font-size: 1.25rem; }
    .arv-title-icon { width: 36px; height: 36px; font-size: 0.95rem; }
    .arv-stats { grid-template-columns: repeat(2, 1fr); }
    .arv-stat-card { padding: 0.85rem 0.5rem; }
    .arv-stat-num { font-size: 1.2rem; }
    .arv-filter-bar { flex-direction: column; align-items: stretch; }
    .arv-search-wrap { min-width: auto; width: 100%; }
    .arv-review-people { flex-wrap: wrap; }
    .arv-person-name { max-width: 80px; }
}

@media (max-width: 575.98px) {
    .arv-stats { grid-template-columns: repeat(2, 1fr); }
    .arv-stat-card:last-child { grid-column: span 2; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADMIN MESSAGES PAGE - Modern Colorful Light
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.amsg-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #eef2ff 0%, #f0fdf4 25%, #eff6ff 50%, #fdf4ff 75%, #f0f9ff 100%);
    background-attachment: fixed;
}

.amsg-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(600px circle at 15% 25%, rgba(99,102,241,0.06) 0%, transparent 55%),
        radial-gradient(500px circle at 80% 50%, rgba(16,185,129,0.05) 0%, transparent 55%),
        radial-gradient(450px circle at 50% 85%, rgba(236,72,153,0.04) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.amsg-page > .container-fluid { position: relative; z-index: 1; }

/* â”€â”€ Hero â”€â”€ */
.amsg-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
}

.amsg-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.amsg-hero-orb-1 {
    width: 180px; height: 180px;
    top: -50px; right: -30px;
    background: radial-gradient(circle, rgba(6,182,212,0.08), transparent 70%);
}

.amsg-hero-orb-2 {
    width: 140px; height: 140px;
    bottom: -40px; left: 15%;
    background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%);
}

.amsg-hero-body {
    position: relative;
    padding: 1.75rem 2rem;
}

.amsg-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.5px;
}

.amsg-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(6,182,212,0.25);
}

.amsg-subtitle {
    color: #64748b;
    font-size: 0.82rem;
    margin: 0.35rem 0 0;
}

.amsg-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.6);
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.amsg-btn-glass:hover {
    background: rgba(255,255,255,0.8);
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* â”€â”€ Stats â”€â”€ */
.amsg-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.amsg-stat {
    text-align: center;
    padding: 1.1rem 0.75rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}

.amsg-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px var(--st-glow, rgba(0,0,0,0.05));
    background: rgba(255,255,255,0.85);
}

.amsg-stat-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--st-grad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    margin: 0 auto 0.5rem;
    box-shadow: 0 4px 14px var(--st-glow, rgba(0,0,0,0.1));
    transition: transform 0.25s;
}

.amsg-stat:hover .amsg-stat-icon {
    transform: scale(1.1) rotate(3deg);
}

.amsg-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
    line-height: 1;
}

.amsg-stat-lbl {
    font-size: 0.67rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

/* â”€â”€ Toolbar â”€â”€ */
.amsg-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.65);
    flex-wrap: wrap;
}

.amsg-view-tabs { display: flex; gap: 0.35rem; }

.amsg-vtab {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.85rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: #64748b;
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.amsg-vtab i { font-size: 0.75rem; }

.amsg-vtab:hover {
    background: rgba(255,255,255,0.7);
    color: var(--tab-c, #6366f1);
    border-color: var(--tab-c, #6366f1);
}

.amsg-vtab.amsg-vtab-active {
    background: var(--tab-c, #6366f1);
    color: #fff;
    border-color: var(--tab-c, #6366f1);
    box-shadow: 0 3px 12px color-mix(in srgb, var(--tab-c, #6366f1) 25%, transparent);
}

.amsg-search-form { display: flex; }

.amsg-search-wrap {
    position: relative;
    min-width: 260px;
}

.amsg-search-wrap > i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.8rem;
    pointer-events: none;
}

.amsg-search-wrap input {
    width: 100%;
    padding: 0.42rem 2rem 0.42rem 2.2rem;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
}

.amsg-search-wrap input::placeholder { color: #94a3b8; }

.amsg-search-wrap input:focus {
    background: #fff;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6,182,212,0.1);
}

.amsg-search-clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-decoration: none;
}

.amsg-search-clear:hover { background: #fee2e2; color: #ef4444; }

/* â”€â”€ List Wrapper â”€â”€ */
.amsg-list-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow: 0 2px 16px rgba(0,0,0,0.03);
}

/* â”€â”€ Table Head â”€â”€ */
.amsg-table-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgba(0,0,0,0.015);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.amsg-th {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.amsg-th-grow { flex: 1; min-width: 0; }
.amsg-th-listing { width: 160px; }
.amsg-th-status { width: 80px; }
.amsg-th-time { width: 90px; }
.amsg-th-act { width: 40px; }

/* â”€â”€ Message Row â”€â”€ */
.amsg-msg-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.2s;
    animation: amsgRowIn 0.3s ease forwards;
    animation-delay: var(--row-d, 0s);
    opacity: 0;
}

@keyframes amsgRowIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.amsg-msg-row:hover { background: rgba(255,255,255,0.5); }
.amsg-msg-row:last-child { border-bottom: none; }

.amsg-msg-avatar {
    width: 40px; height: 40px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-weight: 700;
    font-size: 0.85rem;
}

.amsg-msg-avatar img { width: 100%; height: 100%; object-fit: cover; }

.amsg-msg-content { flex: 1; min-width: 0; }

.amsg-msg-header {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.15rem;
}

.amsg-msg-sender {
    font-weight: 700;
    font-size: 0.82rem;
    color: #1e293b;
}

.amsg-msg-arrow { font-size: 0.6rem; color: #cbd5e1; }

.amsg-msg-receiver {
    font-weight: 500;
    font-size: 0.82rem;
    color: #64748b;
}

.amsg-msg-text {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.amsg-msg-listing { width: 160px; flex-shrink: 0; }

.amsg-listing-link {
    font-size: 0.72rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.amsg-listing-link:hover { color: #4f46e5; text-decoration: underline; }
.amsg-no-listing { color: #cbd5e1; font-size: 0.8rem; }

.amsg-msg-status { width: 80px; flex-shrink: 0; display: flex; }

.amsg-read-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 700;
}

.amsg-read { background: rgba(59,130,246,0.08); color: #3b82f6; }
.amsg-unread { background: rgba(245,158,11,0.1); color: #f59e0b; }

.amsg-msg-time {
    width: 90px;
    flex-shrink: 0;
    font-size: 0.7rem;
    color: #94a3b8;
}

.amsg-msg-act { width: 40px; flex-shrink: 0; text-align: right; }

.amsg-act-btn {
    width: 32px; height: 32px;
    border-radius: 9px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    background: rgba(0,0,0,0.03);
    color: #94a3b8;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.4;
}

.amsg-msg-row:hover .amsg-act-btn,
.amsg-conv-row:hover .amsg-act-btn { opacity: 1; }

.amsg-act-del:hover { background: rgba(239,68,68,0.08); color: #ef4444; transform: scale(1.08); }

/* â”€â”€ Conversation Row â”€â”€ */
.amsg-conv-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.2s;
    animation: amsgRowIn 0.3s ease forwards;
    animation-delay: var(--row-d, 0s);
    opacity: 0;
}

.amsg-conv-row:hover { background: rgba(255,255,255,0.5); }
.amsg-conv-row:last-child { border-bottom: none; }

.amsg-conv-row.amsg-conv-unread {
    background: rgba(99,102,241,0.03);
}

.amsg-conv-avatars {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.amsg-conv-av {
    width: 38px; height: 38px;
    border-radius: 11px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.amsg-conv-av img { width: 100%; height: 100%; object-fit: cover; }

.amsg-conv-av-1 {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #6366f1;
}

.amsg-conv-av-2 {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    color: #ec4899;
}

.amsg-conv-link-icon {
    font-size: 0.55rem;
    color: #cbd5e1;
}

.amsg-conv-info { flex: 1; min-width: 0; }

.amsg-conv-names {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.amsg-conv-names i { font-size: 0.55rem; color: #cbd5e1; }

.amsg-conv-preview {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0.15rem 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amsg-conv-badges {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
    align-items: center;
}

.amsg-badge-msgs {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(99,102,241,0.08);
    color: #6366f1;
}

.amsg-badge-unread {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245,158,11,0.2);
}

.amsg-conv-time {
    font-size: 0.7rem;
    color: #94a3b8;
    flex-shrink: 0;
    min-width: 70px;
    text-align: right;
}

.amsg-conv-act { flex-shrink: 0; }

/* â”€â”€ Empty State â”€â”€ */
.amsg-empty {
    text-align: center;
    padding: 4rem 1rem;
}

.amsg-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    color: #6366f1;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.amsg-empty h5 { color: #334155; font-weight: 700; }
.amsg-empty p { color: #94a3b8; font-size: 0.85rem; }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1199.98px) {
    .amsg-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
    .amsg-hero-body { padding: 1.25rem; }
    .amsg-title { font-size: 1.25rem; }
    .amsg-title-icon { width: 36px; height: 36px; font-size: 0.95rem; }
    .amsg-stats { grid-template-columns: repeat(2, 1fr); }
    .amsg-stat:last-child { grid-column: span 2; }
    .amsg-toolbar { flex-direction: column; align-items: stretch; }
    .amsg-search-wrap { min-width: auto; width: 100%; }
    .amsg-table-head { display: none; }
    .amsg-msg-row { flex-wrap: wrap; }
    .amsg-msg-content { width: calc(100% - 55px); }
    .amsg-msg-act { width: auto; }
    .amsg-conv-row { flex-wrap: wrap; gap: 0.5rem; }
    .amsg-conv-info { width: calc(100% - 100px); }
    .amsg-conv-badges { width: 100%; }
    .amsg-conv-time { text-align: left; }
}

@media (max-width: 575.98px) {
    .amsg-stats { grid-template-columns: repeat(2, 1fr); }
    .amsg-conv-avatars { gap: 2px; }
    .amsg-conv-av { width: 32px; height: 32px; font-size: 0.7rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADMIN REPORTS PAGE - Modern Colorful Light
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.arpt-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #eef2ff 0%, #fdf4ff 25%, #ecfdf5 50%, #eff6ff 75%, #fefce8 100%);
    background-attachment: fixed;
}

.arpt-page::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(600px circle at 10% 20%, rgba(99,102,241,0.06) 0%, transparent 55%),
        radial-gradient(500px circle at 85% 40%, rgba(16,185,129,0.05) 0%, transparent 55%),
        radial-gradient(400px circle at 50% 90%, rgba(236,72,153,0.04) 0%, transparent 55%);
    pointer-events: none; z-index: 0;
}

.arpt-page > .container-fluid { position: relative; z-index: 1; }

/* â”€â”€ Hero â”€â”€ */
.arpt-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
}

.arpt-hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.arpt-hero-orb-1 { width: 200px; height: 200px; top: -60px; right: -40px; background: radial-gradient(circle, rgba(236,72,153,0.07), transparent 70%); }
.arpt-hero-orb-2 { width: 160px; height: 160px; bottom: -50px; left: 10%; background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%); }
.arpt-hero-orb-3 { width: 120px; height: 120px; top: -20px; left: 45%; background: radial-gradient(circle, rgba(16,185,129,0.05), transparent 70%); }

.arpt-hero-body { position: relative; padding: 1.75rem 2rem; }

.arpt-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.5px;
}

.arpt-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(236,72,153,0.25);
}

.arpt-subtitle { color: #64748b; font-size: 0.82rem; margin: 0.35rem 0 0; }
.arpt-subtitle strong { color: #334155; }

/* Range tabs */
.arpt-range-tabs {
    display: inline-flex;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.06);
}

.arpt-range-tab {
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    color: #64748b;
    transition: all 0.2s;
    border-right: 1px solid rgba(0,0,0,0.04);
}

.arpt-range-tab:last-child { border-right: none; }

.arpt-range-tab:hover { background: rgba(255,255,255,0.6); color: #6366f1; }

.arpt-range-tab.arpt-range-active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.2);
}

.arpt-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.6);
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.arpt-btn-glass:hover {
    background: rgba(255,255,255,0.8);
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* â”€â”€ Metric Cards â”€â”€ */
.arpt-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.arpt-metric {
    position: relative;
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: all 0.25s ease;
    animation: arptMetIn 0.4s ease forwards;
    animation-delay: var(--md, 0s);
    opacity: 0;
}

@keyframes arptMetIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.arpt-metric:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--mc1) 12%, transparent);
    background: rgba(255,255,255,0.85);
}

.arpt-metric-icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--mbg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mc1);
    font-size: 1rem;
    margin: 0 auto 0.45rem;
    transition: transform 0.25s;
}

.arpt-metric:hover .arpt-metric-icon {
    transform: scale(1.12) rotate(3deg);
}

.arpt-metric-val {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--mc1), var(--mc2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.arpt-metric-lbl {
    font-size: 0.63rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

.arpt-metric-shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.arpt-metric:hover .arpt-metric-shimmer { left: 150%; }

/* â”€â”€ Cards â”€â”€ */
.arpt-card {
    border-radius: 16px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    overflow: hidden;
}

.arpt-card-head {
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.arpt-card-head h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.88rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.arpt-card-head h6 i { font-size: 0.9rem; }

.arpt-card-badge {
    display: inline-flex;
    padding: 0.1rem 0.45rem;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    background: rgba(99,102,241,0.08);
    color: #6366f1;
    margin-left: 0.3rem;
}

.arpt-card-body { padding: 1rem 1.15rem; }

/* â”€â”€ Bar charts â”€â”€ */
.arpt-bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.arpt-bar-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arpt-bar-label i { font-size: 0.72rem; flex-shrink: 0; }

.arpt-bar-track {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: rgba(0,0,0,0.04);
    overflow: hidden;
}

.arpt-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.arpt-bar-val {
    min-width: 30px;
    text-align: right;
    font-size: 0.78rem;
    font-weight: 800;
    color: #475569;
}

/* â”€â”€ User Breakdown â”€â”€ */
.arpt-breakdown-section { margin-bottom: 0.5rem; }

.arpt-breakdown-title {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.arpt-bd-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
}

.arpt-bd-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.arpt-bd-name {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}

.arpt-bd-count {
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

.arpt-bd-divider {
    height: 1px;
    background: rgba(0,0,0,0.05);
    margin: 0.5rem 0;
}

/* â”€â”€ Top Viewed Items â”€â”€ */
.arpt-top-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.arpt-top-item:last-child { border-bottom: none; }

.arpt-top-rank {
    width: 24px; height: 24px;
    border-radius: 7px;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    color: #6366f1;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arpt-top-info { flex: 1; min-width: 0; }

.arpt-top-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arpt-top-title:hover { color: #6366f1; }

.arpt-top-meta {
    font-size: 0.65rem;
    color: #94a3b8;
}

.arpt-top-views {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(6,182,212,0.08);
    color: #06b6d4;
    white-space: nowrap;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1199.98px) {
    .arpt-metrics { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 991.98px) {
    .arpt-metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
    .arpt-hero-body { padding: 1.25rem; }
    .arpt-title { font-size: 1.25rem; }
    .arpt-title-icon { width: 36px; height: 36px; font-size: 0.95rem; }
    .arpt-metrics { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .arpt-metric { padding: 0.75rem 0.4rem; }
    .arpt-metric-val { font-size: 1.15rem; }
    .arpt-metric-icon { width: 32px; height: 32px; font-size: 0.85rem; }
    .arpt-bar-label { min-width: 80px; font-size: 0.72rem; }
}

@media (max-width: 575.98px) {
    .arpt-metrics { grid-template-columns: repeat(2, 1fr); }
    .arpt-range-tabs { width: 100%; justify-content: center; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADMIN VERIFICATIONS - Modern Colorful Light
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.avrf-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #ecfdf5 0%, #eef2ff 25%, #f0fdf4 50%, #fdf4ff 75%, #eff6ff 100%);
    background-attachment: fixed;
}

.avrf-page::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(600px circle at 20% 20%, rgba(16,185,129,0.06) 0%, transparent 55%),
        radial-gradient(500px circle at 80% 45%, rgba(99,102,241,0.05) 0%, transparent 55%),
        radial-gradient(400px circle at 40% 85%, rgba(236,72,153,0.04) 0%, transparent 55%);
    pointer-events: none; z-index: 0;
}

.avrf-page > .container-fluid { position: relative; z-index: 1; }

/* Hero */
.avrf-hero {
    position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.6); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 4px 24px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
}
.avrf-hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.avrf-orb-1 { width: 180px; height: 180px; top: -50px; right: -30px; background: radial-gradient(circle, rgba(16,185,129,0.07), transparent 70%); }
.avrf-orb-2 { width: 140px; height: 140px; bottom: -40px; left: 20%; background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%); }
.avrf-hero-body { position: relative; padding: 1.75rem 2rem; }

.avrf-title {
    font-size: 1.6rem; font-weight: 800; color: #1e293b; margin: 0;
    display: flex; align-items: center; gap: 0.6rem; letter-spacing: -0.5px;
}
.avrf-title-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #06b6d4); color: #fff; font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(16,185,129,0.25);
}
.avrf-subtitle { color: #64748b; font-size: 0.82rem; margin: 0.35rem 0 0; }

.avrf-btn-glass {
    display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.9rem;
    border-radius: 10px; background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.6);
    color: #475569; font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: all 0.2s;
    backdrop-filter: blur(8px);
}
.avrf-btn-glass:hover { background: rgba(255,255,255,0.8); color: #1e293b; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.avrf-btn-glass.avrf-btn-sm { padding: 0.35rem 0.65rem; font-size: 0.72rem; }

/* Stats */
.avrf-stats {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.65rem; margin-bottom: 1.25rem;
}
.avrf-stat {
    position: relative; text-align: center; padding: 1rem 0.5rem; border-radius: 14px;
    background: rgba(255,255,255,0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.65); box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    text-decoration: none; color: #1e293b; transition: all 0.25s;
}
.avrf-stat:hover { transform: translateY(-3px); box-shadow: 0 8px 24px color-mix(in srgb, var(--sc) 12%, transparent); background: rgba(255,255,255,0.8); color: #1e293b; }
.avrf-stat.avrf-stat-active { border-color: var(--sc); box-shadow: 0 4px 16px color-mix(in srgb, var(--sc) 15%, transparent); background: rgba(255,255,255,0.8); }

.avrf-stat-icon {
    width: 36px; height: 36px; border-radius: 10px; background: var(--sbg); color: var(--sc);
    display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem;
    margin: 0 auto 0.4rem; transition: transform 0.25s;
}
.avrf-stat:hover .avrf-stat-icon { transform: scale(1.1) rotate(3deg); }
.avrf-stat-num { font-size: 1.3rem; font-weight: 800; line-height: 1; color: var(--sc); }
.avrf-stat-lbl { font-size: 0.6rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.15rem; }
.avrf-stat-pulse { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: alpPulse 1.5s infinite; }

/* Toolbar */
.avrf-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.65rem 1rem; margin-bottom: 1.25rem; border-radius: 12px;
    background: rgba(255,255,255,0.5); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.6);
    flex-wrap: wrap;
}
.avrf-search-form { display: flex; flex: 1; max-width: 380px; }
.avrf-search-wrap { position: relative; width: 100%; }
.avrf-search-wrap > i { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 0.8rem; pointer-events: none; }
.avrf-search-wrap input { width: 100%; padding: 0.42rem 2rem 0.42rem 2.2rem; border-radius: 10px; border: 1px solid rgba(0,0,0,0.06); background: rgba(255,255,255,0.6); font-size: 0.82rem; color: #1e293b; outline: none; transition: all 0.2s; }
.avrf-search-wrap input::placeholder { color: #94a3b8; }
.avrf-search-wrap input:focus { background: #fff; border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }
.avrf-search-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 6px; background: #f1f5f9; color: #94a3b8; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; text-decoration: none; }
.avrf-search-clear:hover { background: #fee2e2; color: #ef4444; }
.avrf-toolbar-info { font-size: 0.75rem; color: #94a3b8; white-space: nowrap; }

/* List */
.avrf-list-wrap {
    border-radius: 16px; overflow: hidden;
    background: rgba(255,255,255,0.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.65); box-shadow: 0 2px 14px rgba(0,0,0,0.03);
}
.avrf-table-head { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 1rem; background: rgba(0,0,0,0.015); border-bottom: 1px solid rgba(0,0,0,0.04); }
.avrf-th { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #94a3b8; }
.avrf-th-grow { flex: 1; min-width: 0; }

.avrf-row {
    display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.03); transition: all 0.2s;
    animation: amsgRowIn 0.3s ease forwards; animation-delay: var(--row-d, 0s); opacity: 0;
}
.avrf-row:hover { background: rgba(255,255,255,0.5); }
.avrf-row:last-child { border-bottom: none; }

.avrf-row-avatar {
    width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
    background: linear-gradient(135deg, #e0e7ff, #d1fae5); display: flex; align-items: center; justify-content: center;
    color: #10b981; font-weight: 700; font-size: 0.82rem;
}
.avrf-row-avatar img { width: 100%; height: 100%; object-fit: cover; }

.avrf-row-info { flex: 1; min-width: 0; }
.avrf-row-info-grow { flex: 1; }
.avrf-row-name { font-weight: 600; font-size: 0.84rem; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avrf-row-meta { display: flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; color: #94a3b8; margin-top: 1px; flex-wrap: wrap; }
.avrf-row-meta i { font-size: 0.62rem; }

.avrf-type-pill {
    display: inline-flex; padding: 0.1rem 0.4rem; border-radius: 50px;
    font-size: 0.58rem; font-weight: 700; text-transform: uppercase;
    background: color-mix(in srgb, var(--tp) 10%, transparent); color: var(--tp);
}
.avrf-type-badge {
    display: inline-flex; padding: 0.15rem 0.5rem; border-radius: 50px; margin-top: 0.4rem;
    font-size: 0.65rem; font-weight: 700; background: color-mix(in srgb, var(--tb) 10%, transparent); color: var(--tb);
}

.avrf-doc-badge {
    display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.15rem 0.45rem;
    border-radius: 6px; font-size: 0.6rem; font-weight: 600;
    background: rgba(99,102,241,0.06); color: #6366f1;
}

.avrf-row-docs { display: flex; gap: 0.3rem; flex-shrink: 0; }
.avrf-row-status { flex-shrink: 0; }
.avrf-status-chip { display: inline-flex; padding: 0.2rem 0.55rem; border-radius: 50px; font-size: 0.65rem; font-weight: 700; }
.avrf-row-time { font-size: 0.7rem; color: #94a3b8; flex-shrink: 0; min-width: 70px; }
.avrf-row-email { font-size: 0.75rem; color: #64748b; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 200px; flex-shrink: 0; }
.avrf-row-badge { width: 60px; flex-shrink: 0; justify-content: center; display: flex; }
.avrf-row-num { width: 55px; flex-shrink: 0; text-align: center; font-size: 0.8rem; font-weight: 700; color: #475569; }
.avrf-row-act { flex-shrink: 0; text-align: right; }

.avrf-review-btn {
    display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.3rem 0.65rem;
    border-radius: 8px; font-size: 0.72rem; font-weight: 700; text-decoration: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.2); transition: all 0.2s;
}
.avrf-review-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(99,102,241,0.3); color: #fff; }

.avrf-action-small {
    display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.3rem 0.6rem;
    border-radius: 8px; font-size: 0.7rem; font-weight: 700; text-decoration: none; transition: all 0.2s;
}
.avrf-action-verify { background: rgba(16,185,129,0.08); color: #10b981; }
.avrf-action-verify:hover { background: rgba(16,185,129,0.15); color: #059669; }
.avrf-action-remove { background: rgba(239,68,68,0.06); color: #ef4444; }
.avrf-action-remove:hover { background: rgba(239,68,68,0.12); color: #dc2626; }

/* Cards */
.avrf-card {
    border-radius: 16px; overflow: hidden;
    background: rgba(255,255,255,0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.avrf-card-head { padding: 0.85rem 1.15rem; border-bottom: 1px solid rgba(0,0,0,0.04); display: flex; justify-content: space-between; align-items: center; }
.avrf-card-head h6 { margin: 0; font-weight: 700; font-size: 0.88rem; color: #1e293b; display: flex; align-items: center; gap: 0.4rem; }
.avrf-card-body { padding: 1.25rem; }

.avrf-info-chip { padding: 0.65rem 0.85rem; border-radius: 10px; background: rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.04); }
.avrf-info-chip small { font-size: 0.65rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.avrf-info-chip strong { display: block; font-size: 0.85rem; color: #1e293b; margin-top: 0.15rem; }

.avrf-section-title { font-weight: 700; font-size: 0.85rem; color: #334155; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; }
.avrf-section-title i { color: #6366f1; }

/* Doc card */
.avrf-doc-card { border-radius: 12px; border: 1px solid rgba(0,0,0,0.05); padding: 0.75rem; background: rgba(255,255,255,0.4); }
.avrf-doc-label { font-size: 0.7rem; font-weight: 700; color: #64748b; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.03em; }
.avrf-doc-img { width: 100%; max-height: 350px; object-fit: contain; border-radius: 8px; background: #f8fafc; cursor: pointer; transition: transform 0.2s; }
.avrf-doc-img:hover { transform: scale(1.02); }
.avrf-doc-pdf { text-align: center; padding: 2rem 0; color: #ef4444; font-size: 3rem; }
.avrf-doc-pdf span { display: block; font-size: 0.8rem; color: #64748b; margin-top: 0.3rem; }

/* Checklist */
.avrf-checklist { display: flex; flex-direction: column; gap: 0.4rem; }
.avrf-check { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 10px; font-size: 0.82rem; }
.avrf-check i { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.avrf-check small { display: block; font-size: 0.72rem; color: #94a3b8; margin-top: 2px; }
.avrf-check-pass { background: rgba(16,185,129,0.06); color: #10b981; }
.avrf-check-pass span { color: #334155; }
.avrf-check-warn { background: rgba(245,158,11,0.06); color: #f59e0b; }
.avrf-check-warn span { color: #92400e; }
.avrf-check-fail { background: rgba(239,68,68,0.06); color: #ef4444; }
.avrf-check-fail span { color: #991b1b; }

/* Result banner */
.avrf-result-banner { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.85rem 1rem; border-radius: 12px; font-size: 0.82rem; }
.avrf-result-approved { background: rgba(16,185,129,0.08); color: #059669; }
.avrf-result-rejected { background: rgba(239,68,68,0.08); color: #dc2626; }
.avrf-result-banner i { font-size: 1.1rem; margin-top: 1px; }

/* User sidebar */
.avrf-user-avatar {
    position: relative; width: 64px; height: 64px; border-radius: 16px;
    margin: 0 auto; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #d1fae5, #e0e7ff); color: #10b981; font-size: 1.4rem; font-weight: 800;
}
.avrf-user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
.avrf-verified-badge { position: absolute; bottom: -3px; right: -3px; color: #3b82f6; font-size: 0.7rem; background: #fff; border-radius: 50%; padding: 2px; z-index: 2; box-shadow: 0 1px 4px rgba(0,0,0,0.12); line-height: 1; display: flex; align-items: center; justify-content: center; }
.avrf-user-details { text-align: left; margin-top: 0.75rem; }
.avrf-user-details div { padding: 0.4rem 0; font-size: 0.78rem; color: #475569; border-bottom: 1px solid rgba(0,0,0,0.04); display: flex; align-items: center; gap: 0.4rem; }
.avrf-user-details div:last-child { border-bottom: none; }
.avrf-user-details i { color: #94a3b8; font-size: 0.72rem; }

/* Action buttons */
.avrf-action-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem; width: 100%; padding: 0.6rem;
    border-radius: 10px; font-size: 0.82rem; font-weight: 700; border: none; cursor: pointer;
    text-decoration: none; transition: all 0.2s; margin-bottom: 0.5rem;
}
.avrf-action-approve { background: linear-gradient(135deg, #10b981, #06b6d4); color: #fff; box-shadow: 0 4px 14px rgba(16,185,129,0.25); }
.avrf-action-approve:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,185,129,0.3); color: #fff; }
.avrf-action-reject { background: rgba(239,68,68,0.06); color: #ef4444; border: 1px solid rgba(239,68,68,0.15); }
.avrf-action-reject:hover { background: rgba(239,68,68,0.1); }
.avrf-action-confirm-reject { background: #ef4444; color: #fff; box-shadow: 0 3px 10px rgba(239,68,68,0.2); }
.avrf-action-confirm-reject:hover { background: #dc2626; color: #fff; }
.avrf-reject-form { border-radius: 10px; border: 1px solid rgba(239,68,68,0.1); padding: 0.75rem; background: rgba(239,68,68,0.02); }

/* Empty */
.avrf-empty { text-align: center; padding: 3.5rem 1rem; }
.avrf-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, #e0e7ff, #d1fae5); color: #6366f1; font-size: 1.6rem; margin-bottom: 0.75rem; }
.avrf-empty h5 { color: #334155; font-weight: 700; }
.avrf-empty p { color: #94a3b8; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 1199.98px) { .avrf-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) {
    .avrf-hero-body { padding: 1.25rem; }
    .avrf-title { font-size: 1.25rem; }
    .avrf-title-icon { width: 36px; height: 36px; font-size: 0.95rem; }
    .avrf-stats { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .avrf-stat { padding: 0.75rem 0.4rem; }
    .avrf-stat-num { font-size: 1.1rem; }
    .avrf-toolbar { flex-direction: column; align-items: stretch; }
    .avrf-search-form { max-width: none; }
    .avrf-table-head { display: none; }
    .avrf-row { flex-wrap: wrap; gap: 0.4rem; }
    .avrf-row-act { width: 100%; text-align: right; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Security Dashboard (Modern)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.sd-page { background: #f8fafc; min-height: 100vh; padding-bottom: 3rem; }

/* â”€â”€ Header â”€â”€ */
.sd-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    padding: 2rem 0 2.8rem;
    margin-bottom: -1.8rem;
    position: relative; overflow: hidden;
}
.sd-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(99,102,241,.25) 0%, transparent 55%),
                radial-gradient(circle at 10% 90%, rgba(16,185,129,.15) 0%, transparent 50%);
}
.sd-header-btn {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
    color: #fff; padding: 7px 16px; border-radius: 10px;
    font-size: .78rem; font-weight: 600;
    text-decoration: none; border: 1px solid rgba(255,255,255,.12);
    transition: all .18s;
}
.sd-header-btn:hover { background: rgba(255,255,255,.2); color: #fff; }
.sd-header-pill {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
    color: #fff; padding: 6px 14px; border-radius: 20px;
    font-size: .78rem; font-weight: 600;
}
.sd-header-pill-alert {
    background: rgba(239,68,68,.3); animation: sdPulse 2s infinite;
}
@keyframes sdPulse { 0%,100%{opacity:1} 50%{opacity:.65} }

/* â”€â”€ Stat Cards â”€â”€ */
.sd-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px; margin-bottom: 1.5rem;
    position: relative; z-index: 2;
}
.sd-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--card-bg); border: 1.5px solid var(--card-bg2);
    border-radius: 16px; padding: 18px 20px;
    transition: all .2s ease; position: relative;
}
.sd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--card-accent) 18%, transparent);
    border-color: var(--card-accent);
}
.sd-card-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--card-bg2); color: var(--card-accent);
    font-size: 1.2rem; flex-shrink: 0;
}
.sd-card-num { font-size: 1.4rem; font-weight: 800; color: var(--card-accent); line-height: 1.1; }
.sd-card-label { font-size: .7rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }

/* â”€â”€ Metrics Card â”€â”€ */
.sd-metrics-card {
    background: #fff; border-radius: 18px; padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
    border: 1px solid #f1f5f9; height: 100%;
}
.sd-metrics-title {
    font-size: .82rem; font-weight: 800; color: #1e293b;
    margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .5px;
}
.sd-metric-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; border-bottom: 1px solid #f8fafc;
}
.sd-metric-row:last-child { border-bottom: none; }
.sd-metric-icon {
    width: 30px; height: 30px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: var(--mi-bg); color: var(--mi-color);
    font-size: .75rem; flex-shrink: 0;
}
.sd-metric-label { flex: 1; font-size: .78rem; color: #64748b; font-weight: 600; }
.sd-metric-value { font-size: .95rem; font-weight: 800; min-width: 30px; text-align: right; }

/* â”€â”€ Chart Card â”€â”€ */
.sd-chart-card {
    background: #fff; border-radius: 18px; padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
    border: 1px solid #f1f5f9; height: 100%;
}
.sd-chart-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 1rem;
}
.sd-chart-legend { display: flex; gap: 14px; }
.sd-legend-item { display: flex; align-items: center; gap: 5px; font-size: .75rem; color: #64748b; font-weight: 600; }
.sd-legend-dot { width: 10px; height: 10px; border-radius: 3px; }

/* â”€â”€ Section Cards â”€â”€ */
.sd-section-card {
    background: #fff; border-radius: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
    border: 1px solid #f1f5f9; overflow: hidden;
}
.sd-section-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.25rem; border-bottom: 1px solid #f8fafc;
}
.sd-section-header-left { display: flex; align-items: center; gap: 10px; }
.sd-section-icon {
    width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--si-bg); color: var(--si-color);
    font-size: .9rem; flex-shrink: 0;
}
.sd-link-btn {
    font-size: .78rem; font-weight: 700; color: #6366f1;
    text-decoration: none; display: flex; align-items: center;
    padding: 5px 12px; border-radius: 8px;
    background: #eef2ff; transition: all .15s;
}
.sd-link-btn:hover { background: #6366f1; color: #fff; }

/* â”€â”€ Alert List â”€â”€ */
.sd-alert-list { padding: 4px 0; }
.sd-alert-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 1.25rem; border-bottom: 1px solid #f8fafc;
    transition: background .12s;
}
.sd-alert-item:last-child { border-bottom: none; }
.sd-alert-item:hover { background: #fafbfe; }
.sd-alert-icon {
    width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--ai-bg); color: var(--ai-color);
    font-size: .85rem; flex-shrink: 0;
}
.sd-alert-body { flex: 1; min-width: 0; }
.sd-alert-title { font-size: .82rem; font-weight: 700; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-alert-user { font-size: .72rem; color: #94a3b8; }
.sd-alert-meta { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.sd-alert-time { font-size: .72rem; color: #94a3b8; }
.sd-badge-open {
    font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 6px;
    background: #fef2f2; color: #dc2626;
}
.sd-badge-resolved {
    font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 6px;
    background: #ecfdf5; color: #059669;
}

/* â”€â”€ Risk List â”€â”€ */
.sd-risk-list { padding: 4px 0; }
.sd-risk-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 1.25rem; border-bottom: 1px solid #f8fafc;
    transition: background .12s;
}
.sd-risk-item:last-child { border-bottom: none; }
.sd-risk-item:hover { background: #fafbfe; }
.sd-risk-img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #f1f5f9; }
.sd-risk-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sd-risk-name {
    font-size: .82rem; font-weight: 700; color: #6366f1;
    text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sd-risk-name:hover { text-decoration: underline; }
.sd-risk-email { font-size: .7rem; color: #94a3b8; overflow: hidden; text-overflow: ellipsis; }
.sd-risk-score-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; width: 100px; }
.sd-risk-bar { flex: 1; height: 6px; border-radius: 3px; background: #f1f5f9; overflow: hidden; }
.sd-risk-bar-fill { height: 100%; border-radius: 3px; transition: width .4s; }
.sd-risk-score {
    font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 6px;
    min-width: 30px; text-align: center;
}
.sd-risk-ip { font-size: .68rem; color: #94a3b8; flex-shrink: 0; }

/* â”€â”€ Empty State â”€â”€ */
.sd-empty { text-align: center; padding: 2rem 1rem; }
.sd-empty-icon {
    width: 56px; height: 56px; margin: 0 auto; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--ei-bg); color: var(--ei-color);
    font-size: 1.5rem;
}

/* â”€â”€ Login Table â”€â”€ */
.sd-table thead th {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .6px; color: #94a3b8;
    background: #fafbfd; padding: 12px 16px;
    border-bottom: 1.5px solid #f1f5f9;
}
.sd-table tbody td {
    padding: 12px 16px; vertical-align: middle;
    font-size: .84rem; border-bottom: 1px solid #f8fafc;
}
.sd-table tbody tr { transition: background .12s; }
.sd-table tbody tr:hover { background: #fafbfe; }
.sd-login-user {
    font-weight: 700; color: #6366f1; text-decoration: none;
    font-size: .82rem;
}
.sd-login-user:hover { text-decoration: underline; }
.sd-login-status {
    display: inline-flex; align-items: center;
    font-size: .72rem; font-weight: 700;
    padding: 3px 10px; border-radius: 8px;
    color: var(--ls-color); background: var(--ls-bg);
}
.sd-login-reason { font-size: .68rem; color: #94a3b8; margin-top: 2px; }
.sd-ip-code {
    font-size: .75rem; background: #f1f5f9; color: #475569;
    padding: 2px 8px; border-radius: 6px;
}
.sd-login-time { font-size: .78rem; color: #94a3b8; }

/* â”€â”€ Quick Actions Grid â”€â”€ */
.sd-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px; margin-bottom: 2rem;
}
.sd-quick-btn {
    display: flex; align-items: center; gap: 10px;
    background: var(--qa-bg); border: 1.5px solid var(--qa-bg2);
    border-radius: 14px; padding: 14px 16px;
    text-decoration: none; color: var(--qa-color);
    font-weight: 700; font-size: .82rem;
    transition: all .2s;
}
.sd-quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--qa-color) 15%, transparent);
    border-color: var(--qa-color); color: var(--qa-color);
    text-decoration: none;
}
.sd-quick-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--qa-bg2); font-size: 1rem;
}
.sd-quick-label { flex: 1; }
.sd-quick-arrow { font-size: .7rem; opacity: .4; transition: opacity .15s; }
.sd-quick-btn:hover .sd-quick-arrow { opacity: 1; }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 767.98px) {
    .sd-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .sd-quick-grid { grid-template-columns: repeat(2, 1fr); }
    .sd-risk-ip { display: none; }
}
@media (max-width: 575.98px) {
    .sd-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .sd-card { padding: 14px; }
    .sd-card-icon { width: 36px; height: 36px; font-size: 1rem; }
    .sd-card-num { font-size: 1.1rem; }
    .sd-quick-grid { grid-template-columns: 1fr 1fr; }
    .sd-risk-score-wrap { width: 70px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADMIN ANNOUNCEMENTS - Modern Colorful Light
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.aann-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #fdf4ff 0%, #eef2ff 25%, #f0fdfa 50%, #fefce8 75%, #eff6ff 100%);
    background-attachment: fixed;
}
.aann-page::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(600px circle at 15% 30%, rgba(236,72,153,0.05) 0%, transparent 55%),
        radial-gradient(500px circle at 80% 20%, rgba(99,102,241,0.05) 0%, transparent 55%),
        radial-gradient(450px circle at 50% 80%, rgba(245,158,11,0.04) 0%, transparent 55%);
    pointer-events: none; z-index: 0;
}
.aann-page > .container-fluid { position: relative; z-index: 1; }

/* â”€â”€ Hero â”€â”€ */
.aann-hero {
    position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.55); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 4px 24px rgba(0,0,0,0.035), inset 0 1px 0 rgba(255,255,255,0.8);
}
.aann-hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.aann-orb-1 { width: 200px; height: 200px; top: -60px; right: -40px; background: radial-gradient(circle, rgba(236,72,153,0.08), transparent 70%); }
.aann-orb-2 { width: 150px; height: 150px; bottom: -50px; left: 15%; background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%); }
.aann-orb-3 { width: 120px; height: 120px; top: 10px; left: 55%; background: radial-gradient(circle, rgba(245,158,11,0.05), transparent 70%); }
.aann-hero-body { position: relative; padding: 1.75rem 2rem; }

.aann-title {
    font-size: 1.6rem; font-weight: 800; color: #1e293b; margin: 0;
    display: flex; align-items: center; gap: 0.6rem; letter-spacing: -0.5px;
}
.aann-title-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, #ec4899, #f97316); color: #fff; font-size: 1.05rem;
    box-shadow: 0 4px 16px rgba(236,72,153,0.25);
}
.aann-subtitle { color: #64748b; font-size: 0.82rem; margin: 0.3rem 0 0; }

.aann-btn-glass {
    display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.9rem;
    border-radius: 10px; background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.6);
    color: #475569; font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: all 0.2s;
    backdrop-filter: blur(8px);
}
.aann-btn-glass:hover { background: rgba(255,255,255,0.85); color: #1e293b; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

/* â”€â”€ Stats â”€â”€ */
.aann-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; }

.aann-stat {
    position: relative; text-align: center; padding: 1.1rem 0.5rem 0.9rem; border-radius: 16px;
    background: rgba(255,255,255,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.65); box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    transition: all 0.25s; overflow: hidden;
}
.aann-stat::before {
    content: ''; position: absolute; inset: -1px; border-radius: 16px; opacity: 0; transition: opacity 0.25s;
    background: linear-gradient(135deg, color-mix(in srgb, var(--sc) 8%, transparent), transparent 60%);
}
.aann-stat:hover::before { opacity: 1; }
.aann-stat:hover { transform: translateY(-3px); box-shadow: 0 8px 24px color-mix(in srgb, var(--sc) 12%, transparent); }

.aann-stat-icon {
    width: 40px; height: 40px; border-radius: 12px; background: var(--sbg); color: var(--sc);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
    margin: 0 auto 0.45rem; position: relative; transition: transform 0.25s;
}
.aann-stat:hover .aann-stat-icon { transform: scale(1.12) rotate(3deg); }
.aann-stat-num { font-size: 1.45rem; font-weight: 800; color: var(--sc); line-height: 1; position: relative; }
.aann-stat-lbl { font-size: 0.6rem; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.2rem; position: relative; }

.aann-stat-bar { width: 70%; height: 4px; border-radius: 99px; background: rgba(0,0,0,0.04); margin: 0.5rem auto 0; position: relative; overflow: hidden; }
.aann-stat-bar-fill { height: 100%; border-radius: 99px; transition: width 1s ease; }

/* â”€â”€ Cards â”€â”€ */
.aann-card {
    border-radius: 18px; overflow: hidden;
    background: rgba(255,255,255,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 2px 14px rgba(0,0,0,0.03);
}
.aann-card-head {
    padding: 0.9rem 1.25rem; display: flex; align-items: center; gap: 0.55rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.aann-card-head h6 { margin: 0; font-weight: 700; font-size: 0.88rem; color: #1e293b; flex: 1; }
.aann-card-head-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.78rem; flex-shrink: 0; }
.aann-head-badge { padding: 0.15rem 0.55rem; border-radius: 50px; font-size: 0.62rem; font-weight: 700; background: rgba(99,102,241,0.08); color: #6366f1; }
.aann-card-body { padding: 1.25rem; }

/* â”€â”€ Compose Form â”€â”€ */
.aann-compose { position: relative; }
.aann-field { margin-bottom: 0.85rem; }
.aann-field label {
    display: flex; align-items: center; gap: 0.3rem; font-size: 0.74rem; font-weight: 700;
    color: #475569; margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.03em;
}
.aann-field label i { font-size: 0.72rem; color: #94a3b8; }
.aann-req { color: #ef4444; font-size: 0.68rem; }
.aann-opt { font-weight: 500; color: #94a3b8; text-transform: none; letter-spacing: 0; font-size: 0.68rem; }

.aann-field input,
.aann-field textarea,
.aann-field select {
    width: 100%; padding: 0.55rem 0.85rem; border-radius: 10px; font-size: 0.84rem; color: #1e293b;
    border: 1px solid rgba(0,0,0,0.07); background: rgba(255,255,255,0.6);
    outline: none; transition: all 0.2s; font-family: inherit;
}
.aann-field input::placeholder,
.aann-field textarea::placeholder { color: #b0b8c4; }
.aann-field input:focus,
.aann-field textarea:focus,
.aann-field select:focus {
    border-color: #8b5cf6; background: #fff;
    box-shadow: 0 0 0 3px rgba(139,92,246,0.08);
}
.aann-field small { display: block; margin-top: 0.25rem; font-size: 0.68rem; color: #94a3b8; }
.aann-field textarea { resize: vertical; min-height: 80px; }
.aann-field select { cursor: pointer; appearance: auto; }

.aann-submit-btn {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    width: 100%; padding: 0.7rem; border: none; border-radius: 12px; cursor: pointer;
    font-size: 0.88rem; font-weight: 700; color: #fff; font-family: inherit; overflow: hidden;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    box-shadow: 0 4px 18px rgba(99,102,241,0.3); transition: all 0.25s; margin-top: 0.5rem;
}
.aann-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(99,102,241,0.35); }
.aann-submit-btn:active { transform: translateY(0); }
.aann-submit-shine {
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}
.aann-submit-btn:hover .aann-submit-shine { left: 100%; }

/* â”€â”€ History â”€â”€ */
.aann-history { }
.aann-item {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.03); transition: all 0.2s;
    animation: amsgRowIn 0.3s ease forwards; animation-delay: var(--row-d, 0s); opacity: 0;
}
.aann-item:last-child { border-bottom: none; }
.aann-item:hover { background: rgba(255,255,255,0.45); }

.aann-item-icon {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: transform 0.2s;
}
.aann-item:hover .aann-item-icon { transform: scale(1.1) rotate(3deg); }

.aann-item-info { flex: 1; min-width: 0; }
.aann-item-title { font-weight: 700; font-size: 0.84rem; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aann-item-body { font-size: 0.74rem; color: #94a3b8; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aann-item-meta { display: flex; gap: 0.6rem; margin-top: 0.25rem; font-size: 0.66rem; color: #94a3b8; }
.aann-item-meta i { font-size: 0.58rem; }

.aann-item-stats { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.aann-mini-stat { text-align: center; min-width: 36px; }
.aann-mini-val { font-size: 0.9rem; font-weight: 800; display: block; line-height: 1; }
.aann-mini-lbl { font-size: 0.52rem; font-weight: 700; text-transform: uppercase; color: #94a3b8; letter-spacing: 0.04em; }

/* Mini ring */
.aann-mini-ring {
    width: 42px; height: 42px; border-radius: 50%; position: relative;
    display: flex; align-items: center; justify-content: center;
    background: conic-gradient(var(--rc) calc(var(--rp)), rgba(0,0,0,0.04) 0);
}
.aann-mini-ring::before {
    content: ''; position: absolute; inset: 4px; border-radius: 50%; background: rgba(255,255,255,0.75);
}
.aann-mini-ring span { position: relative; font-size: 0.56rem; font-weight: 800; color: var(--rc); }

/* â”€â”€ Empty â”€â”€ */
.aann-empty { text-align: center; padding: 3rem 1rem; }
.aann-empty-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 16px; margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fdf4ff, #eef2ff); color: #ec4899; font-size: 1.5rem;
    animation: aannPulse 2s ease infinite;
}
.aann-empty h6 { font-weight: 700; color: #334155; margin-bottom: 0.25rem; }
.aann-empty p { font-size: 0.82rem; color: #94a3b8; }

@keyframes aannPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 991.98px) { .aann-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767.98px) {
    .aann-hero-body { padding: 1.25rem; }
    .aann-title { font-size: 1.2rem; }
    .aann-title-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .aann-stats { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .aann-stat { padding: 0.85rem 0.4rem; }
    .aann-stat-num { font-size: 1.2rem; }
    .aann-item { flex-wrap: wrap; gap: 0.5rem; }
    .aann-item-stats { width: 100%; justify-content: flex-start; padding-left: 55px; gap: 1rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Admin Categories (Modern)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.ac-page { background: #f8fafc; min-height: 100vh; padding-bottom: 3rem; }

/* â”€â”€ Header â”€â”€ */
.ac-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    padding: 2rem 0 2.8rem;
    margin-bottom: -1.8rem;
    position: relative; overflow: hidden;
}
.ac-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12) 0%, transparent 60%),
                radial-gradient(circle at 15% 85%, rgba(255,255,255,.08) 0%, transparent 50%);
}
.ac-header-btn {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
    color: #fff; padding: 7px 16px; border-radius: 10px;
    font-size: .78rem; font-weight: 600;
    text-decoration: none; border: 1px solid rgba(255,255,255,.15);
    transition: all .18s; cursor: pointer;
}
.ac-header-btn:hover { background: rgba(255,255,255,.25); color: #fff; text-decoration: none; }

/* â”€â”€ Stats Grid â”€â”€ */
.ac-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px; margin-bottom: 1.5rem;
    position: relative; z-index: 2;
}
.ac-stat-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--sc-bg); border: 1.5px solid var(--sc-bg2);
    border-radius: 16px; padding: 18px 20px;
    transition: all .2s ease;
}
.ac-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--sc-color) 18%, transparent);
    border-color: var(--sc-color);
}
.ac-stat-icon {
    width: 46px; height: 46px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--sc-bg2); color: var(--sc-color);
    font-size: 1.2rem; flex-shrink: 0;
}
.ac-stat-num { font-size: 1.35rem; font-weight: 800; color: var(--sc-color); line-height: 1.1; }
.ac-stat-label { font-size: .7rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }

/* â”€â”€ Alerts â”€â”€ */
.ac-alert {
    border: none; border-radius: 14px; font-size: .85rem; font-weight: 600;
    padding: 12px 20px; margin-bottom: 1rem;
    display: flex; align-items: center;
}
.ac-alert-success { background: #ecfdf5; color: #065f46; }
.ac-alert-danger { background: #fef2f2; color: #991b1b; }

/* â”€â”€ Section Card â”€â”€ */
.ac-section-card {
    background: #fff; border-radius: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
    border: 1px solid #f1f5f9; overflow: hidden;
    margin-bottom: 1.5rem;
}
.ac-section-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.25rem; border-bottom: 1px solid #f1f5f9;
}
.ac-section-header-left { display: flex; align-items: center; gap: 12px; }
.ac-section-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--si-bg); color: var(--si-color);
    font-size: .95rem; flex-shrink: 0;
}

/* â”€â”€ Category Tiles Grid â”€â”€ */
.ac-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px; padding: 1.25rem;
}
.ac-tile {
    background: var(--t-bg); border: 1.5px solid var(--t-bg2);
    border-radius: 16px; padding: 18px 20px;
    transition: all .22s ease; position: relative;
}
.ac-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px color-mix(in srgb, var(--t-color) 16%, transparent);
    border-color: var(--t-color);
}
.ac-tile-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
}
.ac-tile-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--t-bg2); color: var(--t-color);
    font-size: 1.2rem;
}
.ac-tile-order {
    font-size: .65rem; font-weight: 700; color: var(--t-color);
    background: var(--t-bg2); padding: 2px 8px; border-radius: 8px;
    opacity: .7;
}
.ac-tile-name {
    font-size: .95rem; font-weight: 800; color: #1e293b;
    margin-bottom: 2px; line-height: 1.2;
}
.ac-tile-slug {
    font-size: .7rem; color: #94a3b8; font-weight: 500;
    margin-bottom: 4px; display: flex; align-items: center;
}
.ac-tile-desc {
    font-size: .72rem; color: #64748b; line-height: 1.4;
    margin-bottom: 4px;
}
.ac-tile-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, var(--t-bg2) 90%, var(--t-color));
}
.ac-tile-count { display: flex; align-items: baseline; gap: 4px; }
.ac-tile-count-num {
    font-size: 1.1rem; font-weight: 800; color: var(--t-color);
}
.ac-tile-count-label { font-size: .68rem; color: #94a3b8; font-weight: 600; }
.ac-tile-actions { display: flex; gap: 6px; }
.ac-tile-btn {
    width: 32px; height: 32px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; font-size: .78rem;
    transition: all .18s; text-decoration: none;
}
.ac-tile-btn-edit { background: var(--t-bg2); color: var(--t-color); }
.ac-tile-btn-edit:hover { background: var(--t-color); color: #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--t-color) 30%, transparent); }
.ac-tile-btn-delete { background: #fef2f2; color: #ef4444; }
.ac-tile-btn-delete:hover { background: #ef4444; color: #fff; box-shadow: 0 4px 12px rgba(239,68,68,.3); }

/* â”€â”€ Add Form â”€â”€ */
.ac-form-label {
    font-size: .75rem; font-weight: 700; color: #475569;
    text-transform: uppercase; letter-spacing: .4px;
    margin-bottom: 6px; display: block;
}
.ac-input-wrap {
    position: relative; display: flex; align-items: center;
}
.ac-input-icon {
    position: absolute; left: 14px; color: #94a3b8; font-size: .82rem;
    pointer-events: none;
}
.ac-input {
    width: 100%; padding: 10px 14px 10px 38px; border-radius: 12px;
    border: 1.5px solid #e2e8f0; background: #fff;
    font-size: .84rem; outline: none; transition: all .2s;
    font-family: inherit;
}
.ac-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
textarea.ac-input { resize: vertical; }
.ac-icon-link {
    font-size: .7rem; color: #6366f1; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center;
    margin-top: 4px;
}
.ac-icon-link:hover { text-decoration: underline; }
.ac-submit-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; border-radius: 12px; border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; font-size: .84rem; font-weight: 700;
    cursor: pointer; transition: all .2s;
    box-shadow: 0 4px 14px rgba(99,102,241,.25);
    min-height: 44px;
}
.ac-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99,102,241,.35);
}

/* Preview */
.ac-preview {
    display: flex; align-items: center; gap: 12px;
    margin-top: 16px; padding: 12px 16px;
    background: #f8fafc; border-radius: 12px;
    border: 1px dashed #e2e8f0;
}
.ac-preview-label {
    font-size: .72rem; font-weight: 700; color: #94a3b8;
    text-transform: uppercase; letter-spacing: .3px;
}
.ac-preview-tile {
    display: flex; align-items: center; gap: 10px;
    background: #eef2ff; border: 1.5px solid #e0e7ff;
    border-radius: 10px; padding: 8px 14px;
}
.ac-preview-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: #e0e7ff; color: #6366f1; font-size: 1rem;
}

/* â”€â”€ Modal â”€â”€ */
.ac-modal { border: none; border-radius: 20px !important; overflow: hidden; }
.ac-modal-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 1.2rem 1.5rem; display: flex; align-items: center;
    justify-content: space-between;
}
.ac-modal-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem;
}
.ac-modal-footer {
    padding: 1rem 1.5rem; border-top: 1px solid #f1f5f9;
    display: flex; justify-content: flex-end; gap: 8px;
}
.ac-cancel-btn {
    padding: 8px 20px; border-radius: 10px; border: 1.5px solid #e2e8f0;
    background: #fff; color: #64748b; font-size: .82rem; font-weight: 600;
    cursor: pointer; transition: all .15s;
}
.ac-cancel-btn:hover { border-color: #94a3b8; color: #334155; }
.ac-save-btn {
    padding: 8px 20px; border-radius: 10px; border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; font-size: .82rem; font-weight: 700;
    cursor: pointer; transition: all .18s;
    box-shadow: 0 3px 10px rgba(99,102,241,.25);
}
.ac-save-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(99,102,241,.35); }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 767.98px) {
    .ac-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ac-tiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .ac-stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ac-tiles-grid { grid-template-columns: 1fr; }
    .ac-stat-card { padding: 14px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADMIN CONTACT SETTINGS - Modern Colorful Light
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.acst-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #eff6ff 0%, #eef2ff 25%, #f0fdfa 50%, #fdf4ff 75%, #fefce8 100%);
    background-attachment: fixed;
}
.acst-page::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(600px circle at 15% 25%, rgba(99,102,241,0.05) 0%, transparent 55%),
        radial-gradient(500px circle at 85% 40%, rgba(236,72,153,0.04) 0%, transparent 55%),
        radial-gradient(400px circle at 45% 85%, rgba(16,185,129,0.04) 0%, transparent 55%);
    pointer-events: none; z-index: 0;
}
.acst-page > .container-fluid { position: relative; z-index: 1; }

/* â”€â”€ Hero â”€â”€ */
.acst-hero {
    position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.55); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 4px 24px rgba(0,0,0,0.035), inset 0 1px 0 rgba(255,255,255,0.8);
}
.acst-hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.acst-orb-1 { width: 200px; height: 200px; top: -60px; right: -40px; background: radial-gradient(circle, rgba(99,102,241,0.07), transparent 70%); }
.acst-orb-2 { width: 160px; height: 160px; bottom: -50px; left: 10%; background: radial-gradient(circle, rgba(16,185,129,0.06), transparent 70%); }
.acst-orb-3 { width: 120px; height: 120px; top: 15px; left: 50%; background: radial-gradient(circle, rgba(236,72,153,0.05), transparent 70%); }
.acst-hero-body { position: relative; padding: 1.75rem 2rem; }

.acst-title { font-size: 1.6rem; font-weight: 800; color: #1e293b; margin: 0; display: flex; align-items: center; gap: 0.6rem; letter-spacing: -0.5px; }
.acst-title-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-size: 1.05rem; box-shadow: 0 4px 16px rgba(99,102,241,0.25); }
.acst-subtitle { color: #64748b; font-size: 0.82rem; margin: 0.3rem 0 0; }

.acst-btn-glass { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.85rem; border-radius: 10px; background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.6); color: #475569; font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: all 0.2s; backdrop-filter: blur(8px); cursor: pointer; font-family: inherit; }
.acst-btn-glass:hover { background: rgba(255,255,255,0.85); color: #1e293b; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.acst-btn-glass.acst-btn-sm { padding: 0.3rem 0.6rem; font-size: 0.7rem; }
.acst-btn-glow { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.9rem; border-radius: 10px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: all 0.2s; box-shadow: 0 4px 14px rgba(99,102,241,0.25); }
.acst-btn-glow:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99,102,241,0.3); color: #fff; }
.acst-version-badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.4rem 0.7rem; border-radius: 8px; background: rgba(139,92,246,0.08); color: #8b5cf6; font-size: 0.72rem; font-weight: 700; }

/* â”€â”€ Stats â”€â”€ */
.acst-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.65rem; margin-bottom: 1.25rem; }
.acst-stat { position: relative; text-align: center; padding: 1rem 0.5rem; border-radius: 14px; background: rgba(255,255,255,0.55); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.65); box-shadow: 0 2px 10px rgba(0,0,0,0.025); transition: all 0.25s; overflow: hidden; }
.acst-stat:hover { transform: translateY(-3px); box-shadow: 0 8px 22px color-mix(in srgb, var(--sc) 12%, transparent); }
.acst-stat-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--sbg); color: var(--sc); display: inline-flex; align-items: center; justify-content: center; font-size: 0.92rem; margin: 0 auto 0.35rem; transition: transform 0.25s; }
.acst-stat:hover .acst-stat-icon { transform: scale(1.1) rotate(3deg); }
.acst-stat-num { font-size: 1.3rem; font-weight: 800; color: var(--sc); line-height: 1; }
.acst-stat-lbl { font-size: 0.58rem; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.15rem; }
.acst-stat-pulse { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: alpPulse 1.5s infinite; }
.acst-stat-bar { width: 65%; height: 4px; border-radius: 99px; background: rgba(0,0,0,0.04); margin: 0.4rem auto 0; overflow: hidden; }
.acst-stat-bar-fill { height: 100%; border-radius: 99px; transition: width 1s ease; }

/* â”€â”€ Tabs â”€â”€ */
.acst-tabs { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; padding: 0.3rem; background: rgba(255,255,255,0.45); border-radius: 14px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.6); flex-wrap: wrap; }
.acst-tab { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.95rem; border-radius: 10px; font-size: 0.78rem; font-weight: 600; color: #64748b; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.acst-tab:hover { background: rgba(255,255,255,0.5); color: #1e293b; }
.acst-tab-active { background: #fff; color: #1e293b; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.acst-tab-count { padding: 0.1rem 0.4rem; border-radius: 50px; font-size: 0.6rem; font-weight: 700; background: rgba(0,0,0,0.04); color: #94a3b8; }
.acst-tab-active .acst-tab-count { background: rgba(99,102,241,0.08); color: #6366f1; }
.acst-tab-urgent { background: rgba(239,68,68,0.1) !important; color: #ef4444 !important; animation: alpPulse 1.5s infinite; }

/* â”€â”€ Cards â”€â”€ */
.acst-card { border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 2px 14px rgba(0,0,0,0.03); }
.acst-card-head { padding: 0.85rem 1.15rem; display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid rgba(0,0,0,0.04); }
.acst-card-head h6 { margin: 0; font-weight: 700; font-size: 0.85rem; color: #1e293b; flex: 1; }
.acst-ch-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.72rem; flex-shrink: 0; }
.acst-head-badge { padding: 0.12rem 0.5rem; border-radius: 50px; font-size: 0.6rem; font-weight: 700; background: rgba(99,102,241,0.08); color: #6366f1; }
.acst-card-body { padding: 1.15rem; }

/* â”€â”€ Form Fields â”€â”€ */
.acst-field { position: relative; }
.acst-field label { display: block; font-size: 0.7rem; font-weight: 700; color: #475569; margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 0.03em; }
.acst-field input, .acst-field textarea, .acst-field select { width: 100%; padding: 0.5rem 0.8rem; border-radius: 10px; font-size: 0.82rem; color: #1e293b; border: 1px solid rgba(0,0,0,0.07); background: rgba(255,255,255,0.6); outline: none; transition: all 0.2s; font-family: inherit; }
.acst-field input::placeholder, .acst-field textarea::placeholder { color: #b0b8c4; }
.acst-field input:focus, .acst-field textarea:focus, .acst-field select:focus { border-color: #6366f1; background: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,0.07); }
.acst-field textarea { resize: vertical; min-height: 60px; }
.acst-field select { cursor: pointer; appearance: auto; }
.acst-field small { display: block; margin-top: 0.2rem; font-size: 0.65rem; color: #94a3b8; }
.acst-hint { font-size: 0.68rem; color: #94a3b8; }
.acst-hint i { margin-right: 0.2rem; }
.acst-file-input { font-size: 0.78rem !important; }

/* Social field */
.acst-social-field { position: relative; }
.acst-social-field .acst-social-icon { position: absolute; left: 0.65rem; bottom: 0.55rem; font-size: 0.92rem; pointer-events: none; }
.acst-social-field input { padding-left: 2.2rem; }

/* Toggle */
.acst-toggle { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.78rem; color: #475569; user-select: none; }
.acst-toggle input { display: none; }
.acst-toggle-slider { width: 36px; height: 20px; border-radius: 99px; background: #d1d5db; position: relative; transition: all 0.2s; flex-shrink: 0; }
.acst-toggle-slider::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.15); transition: all 0.2s; }
.acst-toggle input:checked + .acst-toggle-slider { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.acst-toggle input:checked + .acst-toggle-slider::after { left: 18px; }
.acst-toggle-text { font-weight: 600; }

/* Hero preview */
.acst-hero-preview { border-radius: 8px; overflow: hidden; max-height: 80px; }
.acst-hero-preview img { width: 100%; height: 80px; object-fit: cover; border-radius: 8px; }

/* â”€â”€ Save Bar â”€â”€ */
.acst-save-bar { display: flex; gap: 0.6rem; align-items: stretch; margin-top: 0.5rem; }
.acst-save-note { flex: 1; margin: 0; }
.acst-save-note input { height: 100%; }
.acst-save-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.55rem 1.2rem; border: none; border-radius: 12px; cursor: pointer; font-size: 0.82rem; font-weight: 700; color: #fff; font-family: inherit; overflow: hidden; background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 4px 16px rgba(99,102,241,0.25); transition: all 0.25s; white-space: nowrap; }
.acst-save-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.3); }
.acst-save-btn.acst-save-sm { padding: 0.4rem 0.85rem; font-size: 0.75rem; }
.acst-save-shine { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.5s; }
.acst-save-btn:hover .acst-save-shine { left: 100%; }

/* â”€â”€ Live Preview â”€â”€ */
.acst-preview-sticky { position: sticky; top: 1rem; }
.acst-preview-live { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #10b981; padding: 0.2rem 0.5rem; border-radius: 50px; background: rgba(16,185,129,0.08); }
.acst-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: alpPulse 1.5s infinite; }

.acst-preview-frame { border-radius: 0 0 16px 16px; overflow: hidden; background: #f8fafc; }
.acst-pv-hero { min-height: 100px; background: linear-gradient(135deg, #1e293b 0%, #334155 100%); background-size: cover; background-position: center; position: relative; }
.acst-pv-hero-overlay { padding: 1.5rem 1.25rem; position: relative; background: linear-gradient(135deg, rgba(30,41,59,0.85), rgba(51,65,85,0.7)); }
.acst-pv-hero h3 { color: #fff; font-size: 1rem; font-weight: 800; margin: 0 0 0.2rem; }
.acst-pv-hero p { color: rgba(255,255,255,0.7); font-size: 0.7rem; margin: 0; }

.acst-pv-body { padding: 1rem 1.25rem; }
.acst-pv-body h5 { font-size: 0.85rem; font-weight: 800; color: #1e293b; margin: 0 0 0.3rem; }
.acst-pv-sub { font-size: 0.68rem; color: #94a3b8; margin: 0 0 0.75rem; min-height: 14px; }

.acst-pv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.75rem; }
.acst-pv-info-card { background: rgba(99,102,241,0.04); border-radius: 8px; padding: 0.6rem; display: flex; flex-direction: column; gap: 0.1rem; }
.acst-pv-info-card i { color: #6366f1; font-size: 0.7rem; }
.acst-pv-info-card strong { font-size: 0.68rem; color: #1e293b; }
.acst-pv-info-card span { font-size: 0.6rem; color: #64748b; min-height: 12px; word-break: break-all; }

.acst-pv-form { background: rgba(0,0,0,0.02); border-radius: 8px; padding: 0.6rem; }
.acst-pv-input { height: 24px; border-radius: 5px; background: #fff; border: 1px solid #e2e8f0; margin-bottom: 0.35rem; }
.acst-pv-textarea { height: 40px; border-radius: 5px; background: #fff; border: 1px solid #e2e8f0; margin-bottom: 0.4rem; }
.acst-pv-btn { text-align: center; padding: 0.35rem; border-radius: 6px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-size: 0.6rem; font-weight: 700; }

/* â”€â”€ Departments â”€â”€ */
.acst-dept-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 1.15rem; border-bottom: 1px solid rgba(0,0,0,0.03); transition: all 0.2s; animation: amsgRowIn 0.3s ease forwards; animation-delay: var(--row-d, 0s); opacity: 0; }
.acst-dept-row:last-child { border-bottom: none; }
.acst-dept-row:hover { background: rgba(255,255,255,0.4); }
.acst-dept-color { width: 4px; height: 36px; border-radius: 4px; flex-shrink: 0; }
.acst-dept-info { flex: 1; min-width: 0; }
.acst-dept-name { font-weight: 700; font-size: 0.84rem; color: #1e293b; display: flex; align-items: center; gap: 0.4rem; }
.acst-dept-default { font-size: 0.55rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 50px; background: rgba(245,158,11,0.1); color: #f59e0b; }
.acst-dept-meta { display: flex; gap: 0.75rem; font-size: 0.68rem; color: #94a3b8; margin-top: 0.1rem; }
.acst-dept-meta i { font-size: 0.6rem; margin-right: 0.15rem; }
.acst-dept-status { padding: 0.15rem 0.5rem; border-radius: 50px; font-size: 0.6rem; font-weight: 700; flex-shrink: 0; }
.acst-dept-actions { display: flex; gap: 0.35rem; flex-shrink: 0; }

.acst-icon-btn { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; transition: all 0.2s; font-size: 0.72rem; text-decoration: none; }
.acst-icon-edit { background: rgba(99,102,241,0.06); color: #6366f1; }
.acst-icon-edit:hover { background: rgba(99,102,241,0.12); color: #4f46e5; }
.acst-icon-del { background: rgba(239,68,68,0.06); color: #ef4444; }
.acst-icon-del:hover { background: rgba(239,68,68,0.12); color: #dc2626; }

/* â”€â”€ Filter Pills â”€â”€ */
.acst-filter-pills { display: flex; gap: 0.4rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.acst-pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.45rem 0.8rem; border-radius: 50px; font-size: 0.76rem; font-weight: 600; color: #64748b; text-decoration: none; background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.6); backdrop-filter: blur(8px); transition: all 0.2s; }
.acst-pill:hover { background: rgba(255,255,255,0.8); color: var(--pc); }
.acst-pill span { font-size: 0.62rem; font-weight: 700; padding: 0.05rem 0.35rem; border-radius: 50px; background: rgba(0,0,0,0.04); }
.acst-pill-active { background: rgba(255,255,255,0.85); color: var(--pc); border-color: color-mix(in srgb, var(--pc) 20%, transparent); box-shadow: 0 2px 8px color-mix(in srgb, var(--pc) 10%, transparent); }
.acst-pill-active span { background: color-mix(in srgb, var(--pc) 10%, transparent); color: var(--pc); }

/* â”€â”€ Submissions â”€â”€ */
.acst-sub-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.15rem; border-bottom: 1px solid rgba(0,0,0,0.03); transition: all 0.2s; animation: amsgRowIn 0.3s ease forwards; animation-delay: var(--row-d, 0s); opacity: 0; }
.acst-sub-row:hover { background: rgba(255,255,255,0.4); }
.acst-sub-row:last-child { border-bottom: none; }
.acst-sub-unread { background: rgba(99,102,241,0.02); }
.acst-sub-unread:hover { background: rgba(99,102,241,0.04); }
.acst-sub-star { flex-shrink: 0; font-size: 0.8rem; cursor: pointer; }
.acst-sub-avatar { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #e0e7ff, #d1fae5); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acst-sub-avatar span { font-weight: 700; font-size: 0.75rem; color: #6366f1; }
.acst-sub-info { flex: 1; min-width: 0; }
.acst-sub-name { font-weight: 600; font-size: 0.82rem; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acst-sub-email { font-weight: 400; color: #94a3b8; font-size: 0.72rem; margin-left: 0.3rem; }
.acst-sub-msg { font-size: 0.72rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.acst-sub-msg strong { color: #475569; font-weight: 600; }
.acst-sub-dept { padding: 0.12rem 0.45rem; border-radius: 50px; font-size: 0.58rem; font-weight: 700; background: rgba(99,102,241,0.06); color: #6366f1; flex-shrink: 0; white-space: nowrap; }
.acst-sub-time { font-size: 0.68rem; color: #94a3b8; flex-shrink: 0; min-width: 60px; text-align: right; }
.acst-sub-actions { display: flex; gap: 0.3rem; flex-shrink: 0; }

/* Modal */
.acst-modal { border-radius: 16px; border: none; box-shadow: 0 16px 64px rgba(0,0,0,0.12); }
.acst-info-chip { padding: 0.5rem 0.7rem; border-radius: 8px; background: rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.04); }
.acst-info-chip small { font-size: 0.6rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.acst-info-chip strong, .acst-info-chip a { display: block; font-size: 0.8rem; color: #1e293b; margin-top: 0.1rem; }
.acst-info-chip a { color: #6366f1; text-decoration: none; }
.acst-msg-bubble { background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(139,92,246,0.03)); border-radius: 12px; padding: 0.85rem 1rem; font-size: 0.82rem; color: #334155; line-height: 1.6; border: 1px solid rgba(99,102,241,0.06); }

/* â”€â”€ Version Timeline â”€â”€ */
.acst-version-timeline { padding: 1.25rem; }
.acst-ver-item { display: flex; gap: 1rem; position: relative; padding-bottom: 1.25rem; animation: amsgRowIn 0.3s ease forwards; animation-delay: var(--row-d, 0s); opacity: 0; }
.acst-ver-item:last-child { padding-bottom: 0; }
.acst-ver-item::before { content: ''; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: rgba(0,0,0,0.04); }
.acst-ver-item:last-child::before { display: none; }
.acst-ver-dot { width: 16px; height: 16px; border-radius: 50%; background: #e2e8f0; flex-shrink: 0; margin-top: 2px; position: relative; z-index: 1; }
.acst-ver-latest .acst-ver-dot { background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 0 0 4px rgba(99,102,241,0.1); }
.acst-ver-card { flex: 1; background: rgba(255,255,255,0.4); border-radius: 10px; padding: 0.65rem 0.85rem; border: 1px solid rgba(0,0,0,0.04); }
.acst-ver-latest .acst-ver-card { border-color: rgba(99,102,241,0.1); background: rgba(99,102,241,0.02); }

.acst-ver-head { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.acst-ver-num { font-size: 0.82rem; font-weight: 800; color: #1e293b; }
.acst-ver-current { font-size: 0.55rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 50px; background: rgba(16,185,129,0.08); color: #10b981; text-transform: uppercase; }
.acst-ver-time { font-size: 0.68rem; color: #94a3b8; margin-left: auto; }
.acst-ver-meta { margin-top: 0.25rem; display: flex; gap: 0.6rem; font-size: 0.7rem; color: #64748b; flex-wrap: wrap; }
.acst-ver-meta i { font-size: 0.6rem; }
.acst-ver-note { color: #8b5cf6; font-style: italic; }

/* â”€â”€ Empty â”€â”€ */
.acst-empty { text-align: center; padding: 3rem 1rem; }
.acst-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 0.7rem; background: linear-gradient(135deg, #eef2ff, #d1fae5); color: #6366f1; font-size: 1.4rem; animation: aannPulse 2s ease infinite; }
.acst-empty h6 { font-weight: 700; color: #334155; margin-bottom: 0.2rem; }
.acst-empty p { font-size: 0.8rem; color: #94a3b8; }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1199.98px) { .acst-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991.98px) { .acst-preview-sticky { position: static; } }
@media (max-width: 767.98px) {
    .acst-hero-body { padding: 1.25rem; }
    .acst-title { font-size: 1.2rem; }
    .acst-title-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .acst-stats { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .acst-stat { padding: 0.75rem 0.4rem; }
    .acst-stat-num { font-size: 1.1rem; }
    .acst-tabs { gap: 0.25rem; }
    .acst-tab { padding: 0.45rem 0.65rem; font-size: 0.72rem; }
    .acst-save-bar { flex-direction: column; }
    .acst-sub-row { flex-wrap: wrap; }
    .acst-sub-actions { width: 100%; justify-content: flex-end; }
    .acst-sub-dept, .acst-sub-time { display: none; }
    .acst-pv-cards { grid-template-columns: 1fr; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   WATERMARK SETTINGS - Modern Colorful Light
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.wmk-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #eff6ff 0%, #eef2ff 25%, #f0fdfa 50%, #fdf4ff 75%, #fefce8 100%);
    background-attachment: fixed;
}
.wmk-page::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(600px circle at 20% 25%, rgba(6,182,212,0.05) 0%, transparent 55%),
        radial-gradient(500px circle at 80% 40%, rgba(99,102,241,0.05) 0%, transparent 55%),
        radial-gradient(400px circle at 50% 85%, rgba(236,72,153,0.04) 0%, transparent 55%);
    pointer-events: none; z-index: 0;
}
.wmk-page > .container-fluid { position: relative; z-index: 1; }

/* Hero */
.wmk-hero {
    position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.55); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 4px 24px rgba(0,0,0,0.035), inset 0 1px 0 rgba(255,255,255,0.8);
}
.wmk-hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.wmk-orb-1 { width: 200px; height: 200px; top: -60px; right: -30px; background: radial-gradient(circle, rgba(6,182,212,0.08), transparent 70%); }
.wmk-orb-2 { width: 160px; height: 160px; bottom: -50px; left: 12%; background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%); }
.wmk-orb-3 { width: 120px; height: 120px; top: 15px; left: 50%; background: radial-gradient(circle, rgba(236,72,153,0.05), transparent 70%); }
.wmk-hero-body { position: relative; padding: 1.75rem 2rem; }

.wmk-title { font-size: 1.6rem; font-weight: 800; color: #1e293b; margin: 0; display: flex; align-items: center; gap: 0.6rem; letter-spacing: -0.5px; }
.wmk-title-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #06b6d4, #3b82f6); color: #fff; font-size: 1.05rem; box-shadow: 0 4px 16px rgba(6,182,212,0.25); }
.wmk-subtitle { color: #64748b; font-size: 0.82rem; margin: 0.3rem 0 0; }

.wmk-btn-glass { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.85rem; border-radius: 10px; background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.6); color: #475569; font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: all 0.2s; backdrop-filter: blur(8px); }
.wmk-btn-glass:hover { background: rgba(255,255,255,0.85); color: #1e293b; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

/* Stats */
.wmk-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.65rem; margin-bottom: 1.5rem; }
.wmk-stat { position: relative; text-align: center; padding: 0.9rem 0.4rem; border-radius: 14px; background: rgba(255,255,255,0.55); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.65); box-shadow: 0 2px 10px rgba(0,0,0,0.025); transition: all 0.25s; }
.wmk-stat:hover { transform: translateY(-3px); box-shadow: 0 8px 22px color-mix(in srgb, var(--sc) 12%, transparent); }
.wmk-stat-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--sbg); color: var(--sc); display: inline-flex; align-items: center; justify-content: center; font-size: 0.88rem; margin: 0 auto 0.3rem; transition: transform 0.25s; }
.wmk-stat:hover .wmk-stat-icon { transform: scale(1.1) rotate(3deg); }
.wmk-stat-num { font-size: 1.2rem; font-weight: 800; color: var(--sc); line-height: 1; }
.wmk-stat-lbl { font-size: 0.55rem; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.12rem; }

/* Cards */
.wmk-card { border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 2px 14px rgba(0,0,0,0.03); margin-bottom: 0.75rem; padding: 1rem 1.15rem; }
.wmk-card-head { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.15rem; border-bottom: 1px solid rgba(0,0,0,0.04); margin: -1rem -1.15rem 0; }
.wmk-card-head h6 { margin: 0; font-weight: 700; font-size: 0.85rem; color: #1e293b; flex: 1; }
.wmk-ch-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.72rem; flex-shrink: 0; }

.wmk-card-label { display: flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin-bottom: 0.75rem; }
.wmk-card-label i { font-size: 0.85rem; color: #6366f1; }

/* Toggle card */
.wmk-toggle-card { background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(139,92,246,0.04)); border-color: rgba(99,102,241,0.1); }
.wmk-toggle-title { font-size: 0.92rem; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 0.4rem; }
.wmk-toggle-title i { color: #6366f1; }
.wmk-toggle-desc { font-size: 0.75rem; color: #64748b; margin-top: 0.1rem; }

/* Custom switch */
.wmk-switch { position: relative; display: inline-block; width: 50px; height: 26px; flex-shrink: 0; }
.wmk-switch input { display: none; }
.wmk-switch-slider { position: absolute; inset: 0; border-radius: 99px; background: #d1d5db; cursor: pointer; transition: all 0.25s; }
.wmk-switch-slider::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.15); transition: all 0.25s; }
.wmk-switch input:checked + .wmk-switch-slider { background: linear-gradient(135deg, #10b981, #06b6d4); }
.wmk-switch input:checked + .wmk-switch-slider::after { left: 27px; }

/* Slider */
.wmk-slider-row { display: flex; align-items: center; gap: 0.65rem; }
.wmk-slider-end { font-size: 0.68rem; font-weight: 600; color: #94a3b8; white-space: nowrap; }
.wmk-range { flex: 1; -webkit-appearance: none; height: 6px; border-radius: 99px; background: linear-gradient(90deg, rgba(99,102,241,0.15), rgba(99,102,241,0.3)); outline: none; }
.wmk-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #8b5cf6); cursor: pointer; box-shadow: 0 2px 8px rgba(99,102,241,0.3); border: 3px solid #fff; transition: box-shadow 0.2s; }
.wmk-range::-webkit-slider-thumb:hover { box-shadow: 0 4px 14px rgba(99,102,241,0.4); }
.wmk-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #8b5cf6); cursor: pointer; box-shadow: 0 2px 8px rgba(99,102,241,0.3); border: 3px solid #fff; }
.wmk-slider-badge { background: rgba(99,102,241,0.08); color: #6366f1; font-weight: 800; font-size: 0.85rem; border-radius: 8px; padding: 0.25rem 0.55rem; min-width: 48px; text-align: center; flex-shrink: 0; }

/* Option grids */
.wmk-opt-grid { display: grid; gap: 0.4rem; }
.wmk-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wmk-cols-4 { grid-template-columns: repeat(4, 1fr); }

.wmk-opt {
    border: 2px solid rgba(0,0,0,0.05); border-radius: 10px; padding: 0.55rem 0.4rem;
    text-align: center; cursor: pointer; transition: all 0.2s; user-select: none;
    background: rgba(255,255,255,0.4);
}
.wmk-opt i { display: block; font-size: 1.1rem; margin-bottom: 0.15rem; color: #94a3b8; transition: all 0.2s; }
.wmk-opt span { font-size: 0.7rem; font-weight: 600; color: #64748b; }
.wmk-opt:hover { border-color: color-mix(in srgb, var(--oc, #6366f1) 30%, transparent); background: color-mix(in srgb, var(--oc, #6366f1) 4%, transparent); }
.wmk-opt:hover i { color: var(--oc, #6366f1); }
.wmk-opt.active { border-color: var(--oc, #6366f1); background: color-mix(in srgb, var(--oc, #6366f1) 6%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--oc, #6366f1) 8%, transparent); }
.wmk-opt.active i { color: var(--oc, #6366f1); }
.wmk-opt.active span { color: var(--oc, #6366f1); font-weight: 700; }
.wmk-opt-sm { padding: 0.4rem 0.3rem; }
.wmk-opt-sm span { font-size: 0.62rem; }

/* Presets */
.wmk-presets { display: flex; gap: 0.3rem; margin-top: 0.6rem; flex-wrap: wrap; }
.wmk-preset-btn { padding: 0.25rem 0.55rem; border-radius: 8px; border: 1px solid rgba(0,0,0,0.06); background: rgba(255,255,255,0.5); font-size: 0.68rem; font-weight: 700; color: #64748b; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.wmk-preset-btn:hover { background: rgba(99,102,241,0.06); color: #6366f1; border-color: rgba(99,102,241,0.15); }

/* Swatches */
.wmk-swatch-row { display: flex; gap: 0.5rem; align-items: center; }
.wmk-swatch { width: 34px; height: 34px; border-radius: 10px; cursor: pointer; border: 3px solid transparent; transition: all 0.2s; position: relative; }
.wmk-swatch:hover { transform: scale(1.12); }
.wmk-swatch.active { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }
.wmk-swatch.active::after { content: '\f26e'; font-family: 'bootstrap-icons'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.wmk-swatch[data-color="white"].active::after { color: #6366f1; text-shadow: none; }

/* Mini toggle checkbox */
.wmk-mini-toggle { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: #475569; font-weight: 600; cursor: pointer; user-select: none; }
.wmk-mini-toggle input { display: none; }
.wmk-mini-toggle-box { width: 18px; height: 18px; border-radius: 5px; border: 2px solid #d1d5db; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
.wmk-mini-toggle-box::after { content: '\f26e'; font-family: 'bootstrap-icons'; font-size: 0.6rem; color: transparent; transition: color 0.2s; }
.wmk-mini-toggle input:checked + .wmk-mini-toggle-box { background: linear-gradient(135deg, #6366f1, #8b5cf6); border-color: #6366f1; }
.wmk-mini-toggle input:checked + .wmk-mini-toggle-box::after { color: #fff; }

/* Field */
.wmk-field { }
.wmk-field label { display: block; font-size: 0.7rem; font-weight: 700; color: #475569; margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 0.03em; }
.wmk-field input, .wmk-field textarea { width: 100%; padding: 0.5rem 0.8rem; border-radius: 10px; font-size: 0.82rem; color: #1e293b; border: 1px solid rgba(0,0,0,0.07); background: rgba(255,255,255,0.6); outline: none; transition: all 0.2s; font-family: inherit; }
.wmk-field input::placeholder { color: #b0b8c4; }
.wmk-field input:focus { border-color: #6366f1; background: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,0.07); }
.wmk-field small { display: block; margin-top: 0.2rem; font-size: 0.65rem; color: #94a3b8; }

/* Save bar */
.wmk-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; border-radius: 14px; padding: 0.85rem 1.15rem; background: rgba(255,255,255,0.55); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 2px 10px rgba(0,0,0,0.025); margin-top: 0.25rem; flex-wrap: wrap; }
.wmk-save-note { font-size: 0.74rem; color: #94a3b8; }
.wmk-save-note i { color: #6366f1; margin-right: 0.2rem; }
.wmk-save-note strong { color: #475569; }
.wmk-save-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.55rem 1.3rem; border: none; border-radius: 12px; cursor: pointer; font-size: 0.84rem; font-weight: 700; color: #fff; font-family: inherit; overflow: hidden; background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 4px 16px rgba(99,102,241,0.25); transition: all 0.25s; white-space: nowrap; }
.wmk-save-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.3); }
.wmk-save-shine { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.5s; }
.wmk-save-btn:hover .wmk-save-shine { left: 100%; }

/* Preview */
.wmk-preview-sticky { position: sticky; top: 1rem; }
.wmk-preview-card { padding: 0; margin-bottom: 0; }
.wmk-preview-card .wmk-card-head { margin: 0; }
.wmk-live-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.56rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #10b981; padding: 0.2rem 0.5rem; border-radius: 50px; background: rgba(16,185,129,0.08); }
.wmk-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: alpPulse 1.5s infinite; }

.wmk-canvas-wrap { position: relative; background: linear-gradient(135deg, #f1f5f9, #e2e8f0); aspect-ratio: 4 / 3; overflow: hidden; }
.wmk-canvas-wrap canvas { display: block; width: 100%; height: 100%; }

/* Tips */
.wmk-tips { padding: 1rem 1.15rem; border-top: 1px solid rgba(0,0,0,0.04); }
.wmk-tips h6 { font-size: 0.78rem; font-weight: 700; color: #1e293b; margin-bottom: 0.65rem; display: flex; align-items: center; gap: 0.4rem; }
.wmk-tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.wmk-tip-item { display: flex; align-items: flex-start; gap: 0.45rem; padding: 0.55rem; border-radius: 10px; background: color-mix(in srgb, var(--tc) 4%, transparent); }
.wmk-tip-item i { font-size: 0.85rem; color: var(--tc); flex-shrink: 0; margin-top: 1px; }
.wmk-tip-item strong { display: block; font-size: 0.68rem; color: #1e293b; }
.wmk-tip-item span { display: block; font-size: 0.6rem; color: #94a3b8; line-height: 1.3; }

/* Responsive */
@media (max-width: 1199.98px) { .wmk-stats { grid-template-columns: repeat(3, 1fr); } .wmk-tips-grid { grid-template-columns: 1fr; } }
@media (max-width: 991.98px) { .wmk-preview-sticky { position: static; } .wmk-page .row { flex-direction: column-reverse; } }
@media (max-width: 767.98px) {
    .wmk-hero-body { padding: 1.25rem; }
    .wmk-title { font-size: 1.2rem; }
    .wmk-title-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .wmk-stats { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .wmk-stat { padding: 0.7rem 0.3rem; }
    .wmk-stat-num { font-size: 1rem; }
    .wmk-save-bar { flex-direction: column; text-align: center; }
    .wmk-tips-grid { grid-template-columns: 1fr; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HOMEPAGE CTA â€“ Call to Action Section
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hp-cta {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.hp-cta-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hp-cta-overlay {
    position: absolute; inset: 0;
    z-index: 2;
}
.hp-cta-particles {
    position: absolute; inset: 0; z-index: 2; overflow: hidden;
}
.hp-cta-particles span {
    position: absolute;
    width: 6px; height: 6px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    animation: ctaFloat 8s infinite ease-in-out;
}
.hp-cta-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; width: 8px; height: 8px; }
.hp-cta-particles span:nth-child(2) { left: 30%; top: 70%; animation-delay: 1.5s; }
.hp-cta-particles span:nth-child(3) { left: 60%; top: 30%; animation-delay: 3s; width: 10px; height: 10px; }
.hp-cta-particles span:nth-child(4) { left: 80%; top: 60%; animation-delay: 4.5s; }
.hp-cta-particles span:nth-child(5) { left: 50%; top: 80%; animation-delay: 6s; width: 4px; height: 4px; }
@keyframes ctaFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: .15; }
    50% { transform: translateY(-30px) scale(1.5); opacity: .35; }
}
.hp-cta-content {
    position: relative;
    z-index: 3;
}
.hp-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,.15);
    animation: ctaFadeUp .7s ease both;
}
.hp-cta-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: ctaFadeUp .7s .15s ease both;
}
.hp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 38px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 1rem;
    animation: ctaFadeUp .7s .3s ease both;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,0.25);
    letter-spacing: -0.01em;
}
.hp-cta-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #4f46e5;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
@keyframes ctaFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.25); }
    50% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}
.hp-cta-btn { animation: ctaFadeUp .7s .3s ease both, ctaPulse 2.5s 1.5s ease infinite; }
@media (max-width: 767.98px) {
    .hp-cta { padding: 50px 0; }
    .hp-cta-title { font-size: 1.5rem; }
    .hp-cta-sub { font-size: .92rem; }
    .hp-cta-btn { padding: 12px 28px; font-size: .9rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AI MEDIA OPTIMIZER â€“ Admin Panel Styles
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Engine status badge */
.mo-engine-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
}
.mo-badge-on {
    background: rgba(16,185,129,0.12);
    color: #059669;
    border: 1px solid rgba(16,185,129,0.25);
}
.mo-badge-off {
    background: rgba(239,68,68,0.12);
    color: #dc2626;
    border: 1px solid rgba(239,68,68,0.25);
}
.mo-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: moPulse 2s infinite;
}
.mo-badge-off .mo-badge-dot { animation: none; }

@keyframes moPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Storage ring chart */
.mo-storage-ring {
    width: 160px;
    height: 160px;
    margin: 0 auto;
}
.mo-storage-ring svg { width: 100%; height: 100%; }

/* Storage bars */
.mo-storage-bars { display: flex; flex-direction: column; gap: 12px; }
.mo-sbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(0,0,0,0.02);
    border-radius: 10px;
}
.mo-sbar-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #475569;
}
.mo-sbar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mo-sbar-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
}

/* Queue stats */
.mo-queue-stats { display: flex; flex-direction: column; gap: 10px; }
.mo-qs-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    font-size: 0.88rem;
}
.mo-qs-item span:first-child { flex-shrink: 0; }
.mo-qs-item span:nth-child(2) { flex: 1; color: #475569; }
.mo-qs-item strong { font-size: 1rem; color: #1e293b; }
.mo-qs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mo-qs-pulse {
    animation: moPulse 1.5s infinite;
}

/* Action buttons */
.mo-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}
.mo-action-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.mo-act-blue { background: rgba(59,130,246,0.1); color: #2563eb; }
.mo-act-blue:hover { background: rgba(59,130,246,0.2); }
.mo-act-green { background: rgba(16,185,129,0.1); color: #059669; }
.mo-act-green:hover { background: rgba(16,185,129,0.2); }
.mo-act-purple { background: rgba(139,92,246,0.1); color: #7c3aed; }
.mo-act-purple:hover { background: rgba(139,92,246,0.2); }
.mo-act-orange { background: rgba(245,158,11,0.1); color: #d97706; }
.mo-act-orange:hover { background: rgba(245,158,11,0.2); }

/* Capability list */
.mo-cap-list { display: flex; flex-direction: column; }
.mo-cap-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 0.88rem;
}
.mo-cap-item:last-child { border-bottom: none; }
.mo-cap-item span:first-child { color: #475569; }
.mo-cap-ok { color: #10b981; font-weight: 600; }
.mo-cap-no { color: #ef4444; font-weight: 600; }

/* Media table */
.mo-media-table {
    width: 100%;
    border-collapse: collapse;
}
.mo-media-table thead th {
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    background: rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    white-space: nowrap;
}
.mo-media-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    vertical-align: middle;
    font-size: 0.88rem;
}
.mo-media-table tbody tr:hover { background: rgba(99,102,241,0.03); }

/* Thumbnail preview */
.mo-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mo-thumb i { font-size: 1.2rem; color: #94a3b8; }

/* Status badges */
.mo-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.mo-st-ok { background: rgba(16,185,129,0.1); color: #059669; }
.mo-st-proc { background: rgba(59,130,246,0.1); color: #2563eb; }
.mo-st-fail { background: rgba(239,68,68,0.1); color: #dc2626; }
.mo-st-pend { background: rgba(245,158,11,0.1); color: #d97706; }

/* Saved badge */
.mo-saved-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(16,185,129,0.1);
    color: #059669;
}

/* Format badges */
.mo-format-badges { white-space: nowrap; }
.mo-fmt {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 3px;
}
.mo-fmt-webp { background: rgba(139,92,246,0.1); color: #7c3aed; }
.mo-fmt-avif { background: rgba(6,182,212,0.1); color: #0891b2; }
.mo-fmt-thumb { background: rgba(245,158,11,0.1); color: #d97706; }

/* Range slider */
.mo-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
    outline: none;
    margin: 8px 0;
}
.mo-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #8b5cf6;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}
.mo-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.mo-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #8b5cf6;
    cursor: pointer;
}

/* Guide items */
.mo-guide { display: flex; flex-direction: column; gap: 16px; }
.mo-guide-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.mo-guide-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

/* Code block */
.mo-code-block {
    background: #1e293b;
    color: #a5f3fc;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    overflow-x: auto;
    margin: 8px 0;
}

/* File info in table */
.mo-file-info strong {
    font-size: 0.85rem;
    color: #1e293b;
}

/* Responsive */
@media (max-width: 991.98px) {
    .mo-storage-ring { width: 120px; height: 120px; }
}
@media (max-width: 767.98px) {
    .mo-media-table thead th,
    .mo-media-table tbody td { padding: 8px 10px; font-size: 0.8rem; }
    .mo-thumb { width: 36px; height: 36px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SMALL PHONE COVERAGE (320px - 374px)
   Targets budget Android, older iPhones (SE 1st gen), narrow devices
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 374.98px) {
    /* Typography scale-down */
    body { font-size: 0.88rem; }
    h1, .h1 { font-size: 1.4rem; }
    h2, .h2 { font-size: 1.2rem; }
    h3, .h3 { font-size: 1.05rem; }

    /* Container tighter padding */
    .container, .container-fluid { padding-left: 10px; padding-right: 10px; }

    /* Navbar compact + swap order: hamburger left, logo right
       Note: flex-wrap stays the default `wrap` so the mobile-search-row
       (w-100 child) drops to its own line under the brand row. */
    .navbar { padding: 0.4rem 0; }
    .navbar > .container { display: flex; flex-wrap: wrap; align-items: center; }
    .navbar-brand { order: 2; margin-left: 0; margin-right: auto; }
    .navbar-brand img { max-height: 28px; }
    .navbar-toggler { order: 1; margin-right: 8px; margin-left: 0; }

    /* Listing cards — compact Temu-style grid on mobile */
    .listing-grid { --bs-gutter-x: 8px; --bs-gutter-y: 12px; }
    .listing-card {
        border-radius: 14px;
        border: 1px solid rgba(15, 23, 42, 0.05);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
        overflow: hidden;
    }
    .listing-card:hover { transform: none; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08); }
    .listing-card .card-img-top,
    .listing-card .placeholder-img {
        height: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
    .listing-card .placeholder-img { font-size: 1.8rem; }
    .listing-card .card-body { padding: 8px 10px 10px; }
    .listing-card .card-body h6 { font-size: 0.82rem; }
    .listing-card .listing-title {
        font-size: 0.8rem;
        line-height: 1.25;
        margin-bottom: 4px;
        -webkit-line-clamp: 2;
        color: var(--gray-900, #0f172a);
        font-weight: 500;
    }
    .listing-card .listing-price {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 2px;
        line-height: 1.15;
    }
    .listing-card .listing-meta {
        font-size: 0.68rem;
        gap: 4px;
        color: var(--gray-500, #6b7280);
    }
    .listing-card .listing-meta i { font-size: 0.7rem; margin-right: 1px; }
    .listing-card .listing-fav {
        top: 6px;
        right: 6px;
        width: 28px;
        height: 28px;
        font-size: 0.82rem;
    }
    .listing-card .badge-featured {
        top: 6px;
        left: 6px;
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    /* List view cards */
    .lcl-image { flex: 0 0 80px; width: 80px; height: 75px; }
    .lcl-body h6 { font-size: 0.8rem; }

    /* Buttons compact */
    .btn { padding: 0.4rem 0.75rem; font-size: 0.82rem; }
    .btn-lg { padding: 0.5rem 1rem; font-size: 0.88rem; }

    /* Forms stacked tighter */
    .form-control, .form-select { font-size: 0.88rem; padding: 0.5rem 0.65rem; }

    /* Hero sections smaller */
    .ct-hero, .sp-hero, .prof-hero { padding: 4.5rem 0 1rem; }
    .ct-hero-title, .sp-hero-title { font-size: 1.2rem; }

    /* Search bar */
    .search-bar .form-control { font-size: 0.85rem; }

    /* Admin panels */
    .acst-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .acst-card-body { padding: 0.75rem; }
    .acst-tabs { gap: 2px; overflow-x: auto; flex-wrap: nowrap; }
    .acst-tab { font-size: 0.72rem; padding: 8px 10px; white-space: nowrap; }
    .acst-hero-body h1 { font-size: 1.1rem; }

    /* Gallery */
    .gallery-modern-thumbs { gap: 4px; }
    .gallery-modern-thumb { width: 48px; height: 48px; }

    /* Profile */
    .prof-hero-avatar { width: 65px; height: 65px; }
    .nc-avatar { width: 70px; height: 70px; }

    /* Tables scroll */
    .table-responsive { font-size: 0.8rem; }

    /* Footer compact */
    footer .container { padding: 1rem 10px; }

    /* View toggle */
    .view-toggle .btn { padding: 4px 8px; font-size: 0.75rem; }

    /* Category pills */
    .category-pills { gap: 4px; }
    .category-pills .badge { font-size: 0.7rem; padding: 4px 8px; }

    /* Glass cards (listing detail) */
    .vd-glass-card { padding: 0.75rem; }
    .vd-card-header { gap: 8px; }
    .vd-card-icon { width: 32px; height: 32px; font-size: 0.85rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   OVERFLOW SAFETY â€“ Mobile catch-all guards
   Prevents ANY element from causing horizontal scroll
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 767.98px) {
    /* Force all containers to respect viewport width */
    .container, .container-fluid, .container-sm, .container-md,
    .container-lg, .container-xl, .container-xxl {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Fluid row safety */
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    .row > * {
        max-width: 100%;
    }

    /* Tables always scrollable */
    table:not(.table-borderless) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent fixed-width elements from overflowing */
    .d-flex { flex-wrap: wrap; }

    /* Long text safety */
    .text-truncate { max-width: 100%; }
    pre { white-space: pre-wrap; }

    /* Admin tabs scrollable */
    .acst-tabs, .nav-tabs, .nav-pills {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .acst-tabs::-webkit-scrollbar,
    .nav-tabs::-webkit-scrollbar,
    .nav-pills::-webkit-scrollbar { display: none; }

    /* Filter pills scrollable */
    .acst-filter-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* Admin hero title smaller */
    .acst-title { font-size: 1.15rem; }
    .acst-subtitle { font-size: 0.82rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FLASH TOAST NOTIFICATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.flash-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    width: calc(100% - 40px);
    pointer-events: none;
}

.flash-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid transparent;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    animation: flashToastSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transition: opacity 0.3s, transform 0.3s;
}

.flash-toast.flash-toast-hiding {
    opacity: 0;
    transform: translateX(30px);
}

@keyframes flashToastSlideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.flash-toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.flash-toast-body {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.4;
}

.flash-toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
    flex-shrink: 0;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.flash-toast-close:hover {
    background: rgba(0,0,0,0.06);
    color: #374151;
}

.flash-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 0 12px;
    animation: flashToastProgress 5s linear forwards;
}

@keyframes flashToastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Success variant */
.flash-toast-success {
    border-left-color: #10b981;
}
.flash-toast-success .flash-toast-icon {
    background: #ecfdf5;
    color: #10b981;
}
.flash-toast-success .flash-toast-progress {
    background: #10b981;
}

/* Error variant */
.flash-toast-error {
    border-left-color: #ef4444;
}
.flash-toast-error .flash-toast-icon {
    background: #fef2f2;
    color: #ef4444;
}
.flash-toast-error .flash-toast-progress {
    background: #ef4444;
}

/* Info variant */
.flash-toast-info {
    border-left-color: #3b82f6;
}
.flash-toast-info .flash-toast-icon {
    background: #eff6ff;
    color: #3b82f6;
}
.flash-toast-info .flash-toast-progress {
    background: #3b82f6;
}

/* Dark mode */
[data-bs-theme="dark"] .flash-toast {
    background: #1e1e2e;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
[data-bs-theme="dark"] .flash-toast-body {
    color: #e5e5f0;
}
[data-bs-theme="dark"] .flash-toast-close {
    color: #6b6b80;
}
[data-bs-theme="dark"] .flash-toast-close:hover {
    background: rgba(255,255,255,0.08);
    color: #a1a1b5;
}
[data-bs-theme="dark"] .flash-toast-success .flash-toast-icon {
    background: rgba(16,185,129,0.15);
}
[data-bs-theme="dark"] .flash-toast-error .flash-toast-icon {
    background: rgba(239,68,68,0.15);
}
[data-bs-theme="dark"] .flash-toast-info .flash-toast-icon {
    background: rgba(59,130,246,0.15);
}

/* Mobile adjustment */
@media (max-width: 480px) {
    .flash-toast-container {
        top: 12px;
        right: 12px;
        width: calc(100% - 24px);
    }
    .flash-toast {
        padding: 12px 14px;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE OFFCANVAS MENU
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#mobileMenu {
    width: 300px !important;
    max-width: 85vw !important;
    background: rgba(255,255,255,0.75) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 8px 0 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(255,255,255,0.3) inset;
    border-right: none !important;
}

#mobileMenu .offcanvas-header {
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-color: rgba(0,0,0,0.06) !important;
}

#mobileMenu .offcanvas-body {
    background: transparent;
    overflow-y: auto;
}

#mobileMenu ~ .offcanvas-backdrop,
#mobileMenu + .offcanvas-backdrop {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background-color: rgba(0,0,0,0.2) !important;
}

.mobile-nav-list {
    display: flex !important;
    flex-direction: column !important;
}

.mobile-nav-section {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-nav-section:last-child {
    border-bottom: none;
}

.mobile-nav-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #6b7280);
    padding: 8px 20px 4px;
}

.mobile-nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    padding: 11px 20px;
    color: var(--text-primary, #1f2937);
    text-decoration: none !important;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 0.15s;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(0,0,0,0.04);
    color: var(--text-primary, #1f2937);
    text-decoration: none !important;
}

.mobile-nav-link i:first-child {
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    color: var(--text-secondary, #4b5563);
}

.mobile-nav-link.text-danger i:first-child {
    color: var(--bs-danger);
}

.mobile-nav-sub {
    padding: 9px 20px 9px 52px;
    font-size: 0.85rem;
    font-weight: 400;
}

.mobile-nav-chevron {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.mobile-nav-link[aria-expanded="true"] .mobile-nav-chevron {
    transform: rotate(180deg);
}

.mobile-nav-cta {
    background: linear-gradient(135deg, var(--bs-primary), #7c3aed) !important;
    color: #fff !important;
    border-radius: 10px;
    margin: 4px 16px;
    padding: 12px 20px;
    justify-content: center;
    font-weight: 600;
}

.mobile-nav-cta i:first-child {
    color: #fff !important;
}

.mobile-nav-cta:hover {
    background: linear-gradient(135deg, #1545b8, #6927c4) !important;
    color: #fff !important;
}

/* Mobile theme row */
.mobile-theme-row {
    display: flex;
    gap: 8px;
    padding: 8px 20px;
}

.mobile-theme-btn {
    flex: 1;
    border: 1px solid var(--border-color, #dee2e6);
    background: var(--card-bg, #fff);
    color: var(--text-secondary, #6b7280);
    font-size: 0.8rem;
    padding: 6px 8px;
    border-radius: 8px;
    text-align: center;
}

.mobile-theme-btn.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* Mobile auth buttons for guests */
.mobile-nav-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 20px;
}

/* Dark mode overrides for mobile menu */
[data-bs-theme="dark"] #mobileMenu {
    background: rgba(22,22,37,0.8) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 8px 0 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05) inset;
    color: #e5e5f0;
}

[data-bs-theme="dark"] #mobileMenu .offcanvas-header {
    background: rgba(38,43,56,0.6);
    border-color: rgba(255,255,255,0.06) !important;
}

[data-bs-theme="dark"] #mobileMenu .offcanvas-body {
    background: transparent;
}

[data-bs-theme="dark"] .mobile-nav-section {
    border-color: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .mobile-nav-link {
    color: #e5e5f0;
}

[data-bs-theme="dark"] .mobile-nav-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

[data-bs-theme="dark"] .mobile-nav-link i:first-child {
    color: #a1a1b5;
}

[data-bs-theme="dark"] .mobile-theme-btn {
    background: #1e1e2e;
    border-color: #2d2d3f;
    color: #a1a1b5;
}

[data-bs-theme="dark"] .mobile-theme-btn.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   STORE PAGES â€“ Glassmorphism & Dark Theme
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.sm-store-card, .sc-card, .se-card, .sd-stat,
.sd-section, .sa-stat, .sa-card, .sv-profile-card,
.sv-about, .sv-item, .sts-stat, .sts-card,
.sd-listing-card {
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.05), 0 0 0 1px rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.5);
}

[data-bs-theme="dark"] .sm-store-card,
[data-bs-theme="dark"] .sc-card,
[data-bs-theme="dark"] .se-card,
[data-bs-theme="dark"] .sd-stat,
[data-bs-theme="dark"] .sd-section,
[data-bs-theme="dark"] .sd-listing-card,
[data-bs-theme="dark"] .sa-stat,
[data-bs-theme="dark"] .sa-card,
[data-bs-theme="dark"] .sv-profile-card,
[data-bs-theme="dark"] .sv-about,
[data-bs-theme="dark"] .sv-item,
[data-bs-theme="dark"] .sts-stat,
[data-bs-theme="dark"] .sts-card {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

[data-bs-theme="dark"] .sc-card-header,
[data-bs-theme="dark"] .se-card-header,
[data-bs-theme="dark"] .sd-section-header,
[data-bs-theme="dark"] .sa-card-header,
[data-bs-theme="dark"] .sts-card-header { border-bottom-color: var(--card-border); }

[data-bs-theme="dark"] .sc-footer,
[data-bs-theme="dark"] .se-footer,
[data-bs-theme="dark"] .sts-card-footer { background: var(--surface-2); border-top-color: var(--card-border); }

[data-bs-theme="dark"] .sm-store-name,
[data-bs-theme="dark"] .sc-card-title,
[data-bs-theme="dark"] .se-card-title,
[data-bs-theme="dark"] .sd-stat-num,
[data-bs-theme="dark"] .sd-section-title,
[data-bs-theme="dark"] .sd-listing-title,
[data-bs-theme="dark"] .sa-stat-num,
[data-bs-theme="dark"] .sa-card-title,
[data-bs-theme="dark"] .sa-metric,
[data-bs-theme="dark"] .sv-name,
[data-bs-theme="dark"] .sv-stat-num,
[data-bs-theme="dark"] .sv-item-title,
[data-bs-theme="dark"] .sv-about h5,
[data-bs-theme="dark"] .sts-stat-num,
[data-bs-theme="dark"] .sts-card-title,
[data-bs-theme="dark"] .sts-store-name,
[data-bs-theme="dark"] .sm-store-stat-num { color: var(--text-primary); }

[data-bs-theme="dark"] .sm-store-slug,
[data-bs-theme="dark"] .sm-store-stat-label,
[data-bs-theme="dark"] .sc-label, [data-bs-theme="dark"] .sc-hint,
[data-bs-theme="dark"] .se-label, [data-bs-theme="dark"] .se-hint,
[data-bs-theme="dark"] .se-toggle-info p,
[data-bs-theme="dark"] .sd-stat-label,
[data-bs-theme="dark"] .sd-listing-meta,
[data-bs-theme="dark"] .sa-stat-label,
[data-bs-theme="dark"] .sa-chart-label,
[data-bs-theme="dark"] .sv-desc,
[data-bs-theme="dark"] .sv-stat-label,
[data-bs-theme="dark"] .sv-item-meta,
[data-bs-theme="dark"] .sv-empty p,
[data-bs-theme="dark"] .sts-stat-label,
[data-bs-theme="dark"] .sts-store-slug,
[data-bs-theme="dark"] .sts-setting-info p,
[data-bs-theme="dark"] .sm-limit { color: var(--text-muted); }

[data-bs-theme="dark"] .se-toggle-info h6,
[data-bs-theme="dark"] .sts-setting-info h6,
[data-bs-theme="dark"] .sd-action,
[data-bs-theme="dark"] .sv-about-row { color: var(--text-secondary); }

[data-bs-theme="dark"] .sc-input,
[data-bs-theme="dark"] .se-input,
[data-bs-theme="dark"] .sts-num-input,
[data-bs-theme="dark"] .sts-search input {
    background: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-color);
}

[data-bs-theme="dark"] .sc-upload-zone,
[data-bs-theme="dark"] .se-upload-zone {
    border-color: var(--card-border);
    background: var(--surface-2);
}

[data-bs-theme="dark"] .sm-store-stat { background: var(--surface-2); }
[data-bs-theme="dark"] .sm-store-btn {
    background: var(--surface-2);
    border-color: var(--card-border);
    color: var(--text-secondary);
}

[data-bs-theme="dark"] .sd-action { border-color: var(--card-border); }
[data-bs-theme="dark"] .sd-action:hover { background: var(--surface-2); }
[data-bs-theme="dark"] .sd-action i { background: var(--surface-2); }

[data-bs-theme="dark"] .sv-tabs { background: var(--surface-2); }
[data-bs-theme="dark"] .sv-tab { color: var(--text-muted); }
[data-bs-theme="dark"] .sv-tab.active { background: var(--card-bg); color: var(--text-primary); }
[data-bs-theme="dark"] .sv-follow-btn.following { background: var(--surface-2); color: var(--text-secondary); border-color: var(--card-border); }
[data-bs-theme="dark"] .sv-edit-btn { background: var(--surface-2); border-color: var(--card-border); color: var(--text-secondary); }
[data-bs-theme="dark"] .sv-stats-bar { border-top-color: var(--card-border); }
[data-bs-theme="dark"] .sv-page-btn { background: var(--surface-2); border-color: var(--card-border); color: var(--text-secondary); }

[data-bs-theme="dark"] .sts-table thead th { background: var(--surface-2); color: var(--text-secondary); border-bottom-color: var(--card-border); }
[data-bs-theme="dark"] .sts-table tbody td { border-bottom-color: var(--card-border); }
[data-bs-theme="dark"] .sts-table tbody tr:hover { background: var(--surface-2); }
[data-bs-theme="dark"] .sts-action-btn { background: var(--surface-2); border-color: var(--card-border); color: var(--text-secondary); }

[data-bs-theme="dark"] .sa-compare th { background: var(--surface-2); color: var(--text-secondary); border-bottom-color: var(--card-border); }
[data-bs-theme="dark"] .sa-compare td { border-bottom-color: var(--card-border); }
[data-bs-theme="dark"] .sa-compare tr:hover { background: var(--surface-2); }

[data-bs-theme="dark"] .sd-listing-img,
[data-bs-theme="dark"] .sv-item-img { background: var(--surface-2); }
[data-bs-theme="dark"] .sm-empty-icon { background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); }
[data-bs-theme="dark"] .sv-empty i { color: var(--text-muted); }

/* Upload progress & hero picker dark mode */
[data-bs-theme="dark"] .se-banner-pos,
[data-bs-theme="dark"] .sae-banner-pos { background: var(--surface-2); }
[data-bs-theme="dark"] .se-upload-progress,
[data-bs-theme="dark"] .sc-upload-progress,
[data-bs-theme="dark"] .sae-upload-progress { background: var(--surface-3); }

/* Admin store edit (sae-) dark mode */
[data-bs-theme="dark"] .sae-card { background: var(--card-bg); border-color: var(--card-border); }
[data-bs-theme="dark"] .sae-card-header { border-bottom-color: var(--card-border); }
[data-bs-theme="dark"] .sae-card-title { color: var(--text-primary); }
[data-bs-theme="dark"] .sae-label { color: var(--text-secondary); }
[data-bs-theme="dark"] .sae-input { background: var(--input-bg); border-color: var(--input-border); color: var(--input-color); }
[data-bs-theme="dark"] .sae-footer { background: var(--surface-2); border-top-color: var(--card-border); }
[data-bs-theme="dark"] .sae-upload-zone { background: var(--surface-2); border-color: var(--card-border); }
[data-bs-theme="dark"] .sae-hint { color: var(--text-muted); }
[data-bs-theme="dark"] .sae-danger-zone { background: rgba(220,38,38,.08); border-color: rgba(220,38,38,.15); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DATA PROTECTION TOAST & INLINE TRUST BADGES  (dp-*)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Toast Container (fixed bottom-right) â”€â”€ */
.dp-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

/* â”€â”€ Toast Card â”€â”€ */
.dp-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(18px) saturate(1.6);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    border: 1.5px solid rgba(16,185,129,0.18);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(16,185,129,0.12), 0 1.5px 6px rgba(0,0,0,0.06);
    max-width: 380px;
    animation: dpSlideIn 0.45s cubic-bezier(0.22,1,0.36,1) forwards;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.dp-toast.dp-toast-out {
    animation: dpSlideOut 0.35s cubic-bezier(0.55,0,1,0.45) forwards;
}
.dp-toast-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(16,185,129,0.25);
}
.dp-toast-body {
    flex: 1;
    min-width: 0;
}
.dp-toast-title {
    font-size: 13px;
    font-weight: 700;
    color: #064e3b;
    line-height: 1.2;
    margin-bottom: 2px;
}
.dp-toast-msg {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.35;
}
.dp-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
}
.dp-toast-close:hover {
    color: #374151;
    background: rgba(0,0,0,0.05);
}
.dp-toast-progress {
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    border-radius: 3px;
    background: rgba(16,185,129,0.15);
    overflow: hidden;
}
.dp-toast-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 3px;
    animation: dpProgressShrink 5s linear forwards;
}

@keyframes dpSlideIn {
    from { opacity: 0; transform: translateX(60px) scale(0.92); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes dpSlideOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to   { opacity: 0; transform: translateX(60px) scale(0.92); }
}
@keyframes dpProgressShrink {
    from { width: 100%; }
    to   { width: 0%; }
}

/* â”€â”€ Inline Trust Badge â”€â”€ */
.dp-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(5,150,105,0.04));
    border: 1.5px solid rgba(16,185,129,0.15);
    border-radius: 12px;
    font-size: 12.5px;
    color: #065f46;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 8px;
}
.dp-trust-badge-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}
.dp-trust-badge a {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}
.dp-trust-badge a:hover {
    text-decoration: underline;
}

/* â”€â”€ Dark Mode â”€â”€ */
[data-bs-theme="dark"] .dp-toast {
    background: rgba(30,41,59,0.88);
    border-color: rgba(52,211,153,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 1.5px 6px rgba(52,211,153,0.08);
}
[data-bs-theme="dark"] .dp-toast-title { color: #a7f3d0; }
[data-bs-theme="dark"] .dp-toast-msg { color: #94a3b8; }
[data-bs-theme="dark"] .dp-toast-close { color: #64748b; }
[data-bs-theme="dark"] .dp-toast-close:hover { color: #cbd5e1; background: rgba(255,255,255,0.06); }
[data-bs-theme="dark"] .dp-trust-badge {
    background: linear-gradient(135deg, rgba(52,211,153,0.08), rgba(16,185,129,0.04));
    border-color: rgba(52,211,153,0.18);
    color: #a7f3d0;
}
[data-bs-theme="dark"] .dp-trust-badge a { color: #34d399; }

/* â”€â”€ Mobile â”€â”€ */
@media (max-width: 575.98px) {
    .dp-toast-container {
        bottom: 16px;
        right: 12px;
        left: 12px;
    }
    .dp-toast {
        max-width: 100%;
        padding: 12px 14px;
        border-radius: 14px;
    }
    .dp-toast-icon { width: 32px; height: 32px; font-size: 15px; border-radius: 10px; }
    .dp-toast-title { font-size: 12px; }
    .dp-toast-msg { font-size: 11px; }
    .dp-trust-badge { padding: 8px 12px; font-size: 11.5px; }
    .dp-trust-badge-icon { width: 24px; height: 24px; font-size: 12px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   STORE CREATION WIZARD  (scw-*)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.scw-page { min-height: 100vh; padding-bottom: 60px; }
.scw-hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 28px 0; border-radius: 0 0 24px 24px; margin-bottom: 24px; }
.scw-hero-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
.scw-hero-icon { width: 50px; height: 50px; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; flex-shrink: 0; }
.scw-hero h2 { color: #fff; font-weight: 800; font-size: 1.4rem; margin: 0; }
.scw-hero p { color: rgba(255,255,255,.7); font-size: .85rem; margin: 0; }
.scw-container { max-width: 760px; margin: 0 auto; }

/* Step indicators */
.scw-steps { display: flex; align-items: center; justify-content: center; gap: 0; padding: 8px 0 24px; }
.scw-step { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1; }
.scw-step-circle { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2, #f1f5f9); border: 2.5px solid var(--border-color, #e2e8f0); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; color: var(--text-muted, #94a3b8); transition: all .35s cubic-bezier(.4,0,.2,1); }
.scw-step-circle i { display: none; }
.scw-step-label { font-size: .7rem; font-weight: 600; color: var(--text-muted, #94a3b8); text-transform: uppercase; letter-spacing: .5px; transition: color .3s; white-space: nowrap; }
.scw-step-line { flex: 1; height: 3px; background: var(--border-color, #e2e8f0); min-width: 28px; max-width: 80px; border-radius: 3px; transition: background .35s; margin: 0 4px; align-self: flex-start; margin-top: 18px; }
.scw-step.active .scw-step-circle { background: linear-gradient(135deg, #667eea, #764ba2); border-color: #667eea; color: #fff; box-shadow: 0 4px 14px rgba(102,126,234,.35); }
.scw-step.active .scw-step-label { color: #667eea; }
.scw-step.done .scw-step-circle { background: #10b981; border-color: #10b981; color: #fff; }
.scw-step.done .scw-step-circle span { display: none; }
.scw-step.done .scw-step-circle i { display: block; color: #fff; font-size: .9rem; }
.scw-step.done .scw-step-label { color: #10b981; }
.scw-step-line.done { background: #10b981; }

/* Panels */
.scw-panel { display: none; }
.scw-panel.active { display: block; animation: scwSlideIn .35s ease-out; }
@keyframes scwSlideIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Card */
.scw-card { max-width: 760px; margin: 0 auto; background: var(--card-bg, #fff); border-radius: 18px; box-shadow: 0 1px 6px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04); overflow: visible; border: 1px solid var(--border-color, #f0f2f5); }
.scw-card-header:first-child { border-radius: 18px 18px 0 0; }
.scw-card-body:last-child { border-radius: 0 0 18px 18px; }
.scw-card-header { padding: 18px 28px; border-bottom: 1px solid var(--border-color, #f0f2f5); display: flex; align-items: center; justify-content: space-between; }
.scw-card-title { font-size: .95rem; font-weight: 700; color: var(--text-primary, #1e293b); margin: 0; display: flex; align-items: center; gap: 8px; }
.scw-card-title i { color: #667eea; }
.scw-card-badge { font-size: .7rem; font-weight: 600; color: var(--text-muted, #94a3b8); background: var(--surface-2, #f1f5f9); padding: 4px 12px; border-radius: 20px; }
.scw-card-body { padding: 28px; }
.scw-card-footer { padding: 18px 28px; background: var(--surface-2, #f8fafc); border-top: 1px solid var(--border-color, #f0f2f5); display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* Inputs */
.scw-label { font-size: .78rem; font-weight: 600; color: var(--text-secondary, #475569); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.scw-label i { color: #667eea; font-size: .85rem; }
.scw-input { width: 100%; padding: 11px 16px; border: 1.5px solid var(--input-border, #e5e7eb); border-radius: 12px; font-size: .88rem; background: var(--input-bg, #fafbfc); transition: all .2s; color: var(--input-color, #1e293b); font-family: inherit; }
.scw-input:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,.12); outline: none; background: var(--card-bg, #fff); }
.scw-input-error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.15) !important; animation: scwShake .4s ease; }
@keyframes scwShake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
.scw-textarea { min-height: 100px; resize: vertical; }
.scw-hint { font-size: .72rem; color: var(--text-muted, #94a3b8); margin-top: 4px; }
.scw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Upload zones */
.scw-upload-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed var(--border-color, #e5e7eb); border-radius: 14px; padding: 24px; text-align: center; cursor: pointer; transition: all .2s; background: var(--surface-2, #fafbfc); }
.scw-upload-zone:hover { border-color: #667eea; background: rgba(102,126,234,.04); }
.scw-upload-icon { font-size: 1.5rem; color: var(--text-muted, #94a3b8); margin-bottom: 4px; }
.scw-upload-zone p { font-size: .82rem; color: var(--text-secondary, #64748b); margin: 0; }
.scw-upload-hint { font-size: .7rem; color: var(--text-muted, #b0b8c4); }
.scw-upload-preview { max-height: 80px; border-radius: 8px; margin-top: 10px; }
.scw-upload-progress { height: 4px; background: var(--surface-2, #e5e7eb); border-radius: 4px; margin-top: 8px; overflow: hidden; display: none; }
.scw-upload-progress-bar { height: 100%; background: linear-gradient(90deg, #667eea, #764ba2); border-radius: 4px; transition: width .3s; width: 0; }
.scw-upload-success { display: none; color: #16a34a; font-size: .78rem; font-weight: 600; margin-top: 6px; }

/* Hero swatches */
.scw-hero-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.scw-hero-swatch { height: 52px; border-radius: 12px; cursor: pointer; border: 3px solid transparent; transition: all .2s; position: relative; overflow: hidden; }
.scw-hero-swatch:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.scw-hero-swatch.active { border-color: #667eea; box-shadow: 0 0 0 2px rgba(102,126,234,.3); }
.scw-hero-swatch.active::after { content: '\f26e'; font-family: 'bootstrap-icons'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; background: rgba(0,0,0,.2); }
.scw-hero-swatch-custom { background: conic-gradient(#667eea, #f97316, #10b981, #fb7185, #667eea); display: flex; align-items: center; justify-content: center; }
.scw-hero-swatch-custom i { color: #fff; font-size: 1rem; text-shadow: 0 1px 3px rgba(0,0,0,.3); }

/* Buttons */
.scw-btn-next { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; padding: 11px 24px; border-radius: 12px; font-weight: 700; font-size: .85rem; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.scw-btn-next:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(102,126,234,.35); }
.scw-btn-submit { background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: none; padding: 12px 28px; border-radius: 12px; font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.scw-btn-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(16,185,129,.35); }
.scw-btn-ghost { background: none; border: none; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: .85rem; color: var(--text-muted, #64748b); cursor: pointer; transition: all .2s; text-decoration: none; display: inline-flex; align-items: center; }
.scw-btn-ghost:hover { background: var(--surface-2, #f1f5f9); color: var(--text-primary, #1e293b); }

/* Review step: preview hero */
.scw-preview-hero { height: 140px; border-radius: 14px; overflow: hidden; margin-bottom: 20px; position: relative; background: linear-gradient(135deg, #667eea, #764ba2); background-size: cover; background-position: center; }
.scw-preview-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; }
.scw-preview-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; border: 2px solid rgba(255,255,255,.5); }
.scw-preview-name { color: #fff; font-weight: 800; font-size: 1.15rem; text-align: center; }
.scw-preview-desc { color: rgba(255,255,255,.75); font-size: .78rem; text-align: center; max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Review grid */
.scw-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scw-review-item { background: var(--surface-2, #f8fafc); border-radius: 10px; padding: 12px 16px; }
.scw-review-label { font-size: .7rem; font-weight: 600; color: var(--text-muted, #94a3b8); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.scw-review-value { font-size: .85rem; font-weight: 600; color: var(--text-primary, #1e293b); word-break: break-word; }

/* Dark mode */
[data-bs-theme="dark"] .scw-step-circle { background: #1e293b; border-color: #334155; }
[data-bs-theme="dark"] .scw-step-line { background: #334155; }
[data-bs-theme="dark"] .scw-card { background: #1e293b; border-color: #334155; box-shadow: 0 1px 6px rgba(0,0,0,.2); }
[data-bs-theme="dark"] .scw-card-footer { background: #0f172a; border-color: #334155; }
[data-bs-theme="dark"] .scw-input { background: #0f172a; border-color: #334155; color: #e2e8f0; }
[data-bs-theme="dark"] .scw-input:focus { background: #1e293b; }
[data-bs-theme="dark"] .scw-upload-zone { background: #0f172a; border-color: #334155; }
[data-bs-theme="dark"] .scw-upload-zone:hover { border-color: #667eea; background: rgba(102,126,234,.08); }
[data-bs-theme="dark"] .scw-review-item { background: #0f172a; }
[data-bs-theme="dark"] .scw-card-badge { background: #334155; color: #94a3b8; }

/* â”€â”€â”€ Mobile responsive â”€â”€â”€ */
@media (max-width: 640px) {
    .scw-hero-inner { flex-direction: column; text-align: center; padding: 0 16px; }
    .scw-hero h2 { font-size: 1.15rem; }
    .scw-hero p { font-size: .8rem; }
    .scw-steps { gap: 0; padding: 4px 0 18px; }
    .scw-step-circle { width: 32px; height: 32px; font-size: .75rem; }
    .scw-step-label { font-size: .6rem; letter-spacing: 0; }
    .scw-step-line { min-width: 16px; margin-top: 15px; }
    .scw-card-body { padding: 18px 16px; }
    .scw-card-header { padding: 14px 16px; flex-wrap: wrap; gap: 6px; }
    .scw-card-footer { padding: 14px 16px; flex-direction: column; }
    .scw-btn-next, .scw-btn-submit { width: 100%; justify-content: center; }
    .scw-btn-ghost { order: 2; justify-content: center; }
    .scw-row { grid-template-columns: 1fr; gap: 12px; }
    .scw-hero-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .scw-hero-swatch { height: 44px; }
    .scw-review-grid { grid-template-columns: 1fr; }
    .scw-preview-hero { height: 120px; }
    .scw-preview-name { font-size: 1rem; }
    .scw-input { padding: 10px 14px; font-size: .85rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DATALIST & SELECT MOBILE FIX
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
input[list] { position: relative; z-index: 2; }
.scw-row, .scw-card-body, .ps-body, .card-body, .row { overflow: visible !important; }
@media (max-width: 767.98px) {
    select.form-select, select.scw-input, select.ps-input,
    input[list].form-control, input[list].scw-input, input[list].ps-input {
        font-size: 16px !important;
        -webkit-appearance: none;
        appearance: none;
    }
    .scw-row { flex-direction: column; gap: 12px; }
    .scw-row > div { width: 100%; }
}

/* ═════════════════════════════════════════════════════════════════
   PASSWORD VISIBILITY TOGGLE  (.pw-toggle-wrap / .pw-toggle-btn)
   Used by assets/js/password-toggle.js — auto-attached to every
   <input type="password"> across the site.
   ═════════════════════════════════════════════════════════════════ */
.pw-toggle-wrap { position: relative; display: block; width: 100%; }
.pw-toggle-wrap > input { width: 100%; }

.pw-toggle-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: color .15s ease, background-color .15s ease;
    z-index: 4;
}
.pw-toggle-btn:hover  { color: #1f2937; background: rgba(0,0,0,.05); }
.pw-toggle-btn:focus  { outline: 2px solid rgba(99,102,241,.4); outline-offset: 1px; }
.pw-toggle-btn:active { background: rgba(0,0,0,.08); }
.pw-toggle-btn i { pointer-events: none; }

/* Dark mode tweak */
[data-bs-theme="dark"] .pw-toggle-btn        { color: #9ca3af; }
[data-bs-theme="dark"] .pw-toggle-btn:hover  { color: #f9fafb; background: rgba(255,255,255,.08); }
[data-bs-theme="dark"] .pw-toggle-btn:active { background: rgba(255,255,255,.12); }

/* Make sure the eye stays clear of Bootstrap input-group append buttons */
.input-group > .pw-toggle-wrap { flex: 1 1 auto; width: 1%; }

/* ═════════════════════════════════════════════════════════════════
   LISTING DETAIL — Compact sidebar cards
   Tightens the right-rail cards (price, seller, share, favorite,
   safety, report) so they fit the ad page without dominating it.
   ═════════════════════════════════════════════════════════════════ */

/* Cut the gap between stacked sidebar cards */
.col-lg-4 > .mb-3 { margin-bottom: .65rem !important; }

/* ── Price card ── */
.vd-price-card { border-radius: 14px; }
.vd-price-card::before { height: 3px; }
.vd-price-card-top { padding: .9rem 1rem .65rem; }
.vd-price-card-top h4 { font-size: 1rem; margin-bottom: .35rem !important; }
.vd-price-display { font-size: 1.4rem; margin-bottom: .15rem; }
.vd-condition-badge,
.vd-featured-badge { padding: 3px 9px; font-size: .62rem; }
.vd-negotiable-tag { padding: 2px 8px; font-size: .68rem; }

.vd-price-meta { padding: .65rem 1rem .15rem; gap: 5px; margin-bottom: .55rem; }
.vd-meta-item  { font-size: .76rem; gap: 7px; }
.vd-meta-icon  { width: 22px; height: 22px; border-radius: 6px; font-size: .66rem; }

.vd-price-actions { padding: 0 1rem .9rem; gap: 6px; }
.vd-action-btn { padding: 9px 14px; border-radius: 10px; font-size: .8rem; }

/* ── Seller card ── */
.seller-card-modern { border-radius: 14px; }
.seller-card-header { height: 50px; padding: 8px 12px 0; }
.seller-type-badge  { font-size: .6rem; padding: 2px 8px; }

.seller-card-avatar-wrap { margin-top: -28px; }
.seller-card-avatar { width: 58px; height: 58px; border-width: 3px; }
.seller-avatar-placeholder { font-size: 1.3rem; }
.seller-verified-tick { width: 14px; height: 14px; font-size: .55rem; border-width: 1.5px; }

.seller-card-body { padding: 8px 14px 14px; }
.seller-card-body > .text-center.mb-2 { margin-bottom: .15rem !important; }
.seller-card-body > .text-center.mb-2 h6 { font-size: .92rem; }
.seller-card-body > .text-center.mb-3 { margin-bottom: .55rem !important; }
.seller-rating-stars { font-size: .78rem; }
.seller-rating-num   { font-size: .78rem; margin-left: 4px; }

.seller-stats-row { padding: 7px 6px; border-radius: 10px; margin-bottom: 10px; }
.seller-stat-num  { font-size: .92rem; }
.seller-stat-label{ font-size: .58rem; letter-spacing: .25px; margin-top: 1px; }
.seller-stat-divider { height: 22px; }

.seller-info-list { gap: 5px; margin-bottom: 10px; }
.seller-info-item { font-size: .74rem; gap: 6px; }
.seller-info-item i { font-size: .8rem; width: 14px; }

.seller-card-actions { gap: 6px; }
.seller-card-actions .btn { padding: 6px 10px; font-size: .74rem; border-radius: 8px; }

/* ── Share card ── */
.vd-glass-card-sm { padding: .8rem 1rem !important; border-radius: 14px; }
.vd-glass-card-sm > h6 { font-size: .82rem; margin-bottom: .55rem !important; }
.vd-share-grid { gap: 6px; }
.vd-share-btn  { width: 36px; height: 36px; font-size: .98rem; border-radius: 10px; }

/* ── Favorite button ── */
.vd-fav-btn { padding: 9px 14px; border-radius: 10px; font-size: .8rem; border-width: 1.5px; }

/* ── Safety tips ── */
.vd-safety-card   { padding: .85rem 1rem; border-radius: 14px; }
.vd-safety-header { gap: 8px; margin-bottom: .55rem; }
.vd-safety-header h6 { font-size: .85rem; }
.vd-safety-icon   { width: 28px; height: 28px; min-width: 28px; font-size: .88rem; border-radius: 8px; }
.vd-safety-list   { gap: 4px; margin: 0 0 .45rem; }
.vd-safety-list li{ font-size: .72rem; padding: 4px 8px; border-radius: 8px; gap: 7px; }
.vd-safety-list li i { font-size: .72rem; }
.vd-safety-link   { font-size: .7rem; }

/* ── Report button ── */
.col-lg-4 .btn-outline-danger { padding: 7px 10px !important; font-size: .76rem !important; border-radius: 10px !important; }

/* Mobile: even tighter spacing */
@media (max-width: 575.98px) {
    .col-lg-4 > .mb-3 { margin-bottom: .55rem !important; }
    .vd-price-card-top { padding: .8rem .85rem .55rem; }
    .vd-price-display { font-size: 1.3rem; }
    .vd-price-meta    { padding: .55rem .85rem .1rem; }
    .vd-price-actions { padding: 0 .85rem .8rem; }
    .seller-card-body { padding: 6px 12px 12px; }
    .vd-glass-card-sm { padding: .7rem .85rem !important; }
    .vd-safety-card   { padding: .75rem .85rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   Modern empty hero — used on the homepage when there are no listings.
   Glass card with subtle grid/glow, animated icon, dual CTAs, pills.
   ═══════════════════════════════════════════════════════════════════ */
.empty-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(244, 63, 94, 0.04) 50%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.14);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 30px 60px -30px rgba(99, 102, 241, 0.18);
    text-align: center;
    isolation: isolate;
}

/* Soft radial glow behind the icon */
.empty-hero-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, 90%);
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(99, 102, 241, 0.22), rgba(99, 102, 241, 0) 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(6px);
}

/* Subtle dot grid texture */
.empty-hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse at 50% 35%, #000 30%, transparent 75%);
    z-index: -1;
    pointer-events: none;
    opacity: .5;
}

.empty-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

/* Big animated icon badge */
.empty-hero-icon {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
    border-radius: 28px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 60%, #ec4899 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    box-shadow:
        0 14px 32px -8px rgba(99, 102, 241, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: emptyHeroFloat 5s ease-in-out infinite;
}

@keyframes emptyHeroFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-8px) rotate(2deg); }
}

/* Tiny floating sparks orbiting the icon */
.empty-hero-spark {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 12px rgba(245, 158, 11, .5);
    animation: emptyHeroSpark 3.6s ease-in-out infinite;
}
.empty-hero-spark-1 { width: 12px; height: 12px; top: -8px;  right: -10px; animation-delay: 0s; }
.empty-hero-spark-2 { width:  8px; height:  8px; bottom: -6px; left: -8px;  animation-delay: .9s; background: linear-gradient(135deg, #34d399, #10b981); box-shadow: 0 4px 12px rgba(16, 185, 129, .5); }
.empty-hero-spark-3 { width: 10px; height: 10px; bottom: 12px; right: -14px; animation-delay: 1.8s; background: linear-gradient(135deg, #60a5fa, #2563eb); box-shadow: 0 4px 12px rgba(37, 99, 235, .5); }

@keyframes emptyHeroSpark {
    0%, 100% { transform: scale(1) translateY(0); opacity: 1; }
    50%      { transform: scale(.6) translateY(-4px); opacity: .55; }
}

.empty-hero-title {
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 .65rem;
    color: var(--gray-900, #0f172a);
    background: linear-gradient(135deg, #0f172a 0%, #4338ca 60%, #be185d 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.empty-hero-subtitle {
    font-size: clamp(.95rem, 1.4vw, 1.05rem);
    line-height: 1.55;
    color: var(--gray-600, #475569);
    margin: 0 auto 1.75rem;
    max-width: 30em;
}

/* Dual CTA row */
.empty-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
    margin-bottom: 1.75rem;
}

.empty-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.4rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
    white-space: nowrap;
}
.empty-hero-cta i { font-size: 1.05rem; }

.empty-hero-cta-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(99, 102, 241, 0.55);
}
.empty-hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -10px rgba(99, 102, 241, 0.7);
    color: #fff;
}

.empty-hero-cta-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: var(--gray-900, #0f172a);
    border-color: rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.empty-hero-cta-secondary:hover {
    background: #fff;
    border-color: rgba(99, 102, 241, 0.4);
    color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(15, 23, 42, .25);
}

/* Trust pills */
.empty-hero-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem .6rem;
}
.empty-hero-pills li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--gray-600, #475569);
    font-size: .78rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.empty-hero-pills li i {
    color: #6366f1;
    font-size: .85rem;
}

/* Dark theme */
[data-bs-theme="dark"] .empty-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.10) 0%, rgba(244, 63, 94, 0.06) 50%, rgba(16, 185, 129, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 30px 60px -30px rgba(99, 102, 241, 0.35);
}
[data-bs-theme="dark"] .empty-hero-grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.4px);
}
[data-bs-theme="dark"] .empty-hero-title {
    background: linear-gradient(135deg, #f8fafc 0%, #a5b4fc 60%, #f9a8d4 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-bs-theme="dark"] .empty-hero-subtitle { color: var(--ezi-ink-500, #94a3b8); }
[data-bs-theme="dark"] .empty-hero-cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ezi-ink-800, #e2e8f0);
    border-color: rgba(255, 255, 255, 0.12);
}
[data-bs-theme="dark"] .empty-hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-color: rgba(165, 180, 252, 0.55);
}
[data-bs-theme="dark"] .empty-hero-pills li {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--ezi-ink-500, #94a3b8);
}
[data-bs-theme="dark"] .empty-hero-pills li i { color: #a5b4fc; }

/* Mobile */
@media (max-width: 575.98px) {
    .empty-hero { border-radius: 22px; }
    .empty-hero-icon { width: 80px; height: 80px; border-radius: 22px; font-size: 2.1rem; }
    .empty-hero-cta { padding: .7rem 1.1rem; font-size: .9rem; }
    .empty-hero-pills li { font-size: .72rem; padding: .3rem .65rem; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .empty-hero-icon,
    .empty-hero-spark { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   Modern search / browse page (listings/search.php)
   Sticky filter card, hero band, polished toolbar, premium empty state.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero header band ───────────────────────────────────── */
.searchpg-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: clamp(1.1rem, 2.6vw, 1.75rem) clamp(1.1rem, 3vw, 2rem);
    background:
        linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(236,72,153,0.05) 60%, rgba(16,185,129,0.06) 100%),
        rgba(255,255,255,0.65);
    border: 1px solid rgba(99,102,241,0.16);
    box-shadow:
        0 1px 2px rgba(15,23,42,0.04),
        0 18px 40px -22px rgba(99,102,241,0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    isolation: isolate;
}
.searchpg-hero-glow {
    position: absolute;
    inset: -30% -10% auto auto;
    width: 50%;
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(99,102,241,0.28), rgba(99,102,241,0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(8px);
}
.searchpg-hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.searchpg-hero-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 60%, #ec4899 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    box-shadow:
        0 10px 24px -8px rgba(99,102,241,0.55),
        inset 0 1px 0 rgba(255,255,255,0.4);
}
.searchpg-hero-text {
    flex: 1 1 240px;
    min-width: 0;
}
.searchpg-hero-title {
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 .35rem;
    color: #0f172a;
    background: linear-gradient(135deg, #0f172a 0%, #4338ca 60%, #be185d 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
}
.searchpg-hero-sub {
    margin: 0;
    display: flex;
    align-items: center;
    gap: .5rem .75rem;
    flex-wrap: wrap;
    font-size: .92rem;
    color: var(--gray-600, #475569);
}
.searchpg-count-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.22);
    color: #4338ca;
    font-weight: 600;
    font-size: .82rem;
}
.searchpg-count-chip strong { font-weight: 700; }
.searchpg-count-chip i { font-size: .9rem; }
.searchpg-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--gray-600, #475569);
    font-size: .85rem;
}
.searchpg-hero-meta i { color: #6366f1; font-size: .95rem; }

/* ── Sticky elevated filter card ───────────────────────── */
.searchpg-filters-card {
    position: sticky;
    top: 88px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow:
        0 1px 2px rgba(15,23,42,0.04),
        0 14px 30px -18px rgba(15,23,42,0.12);
    overflow: hidden;
    max-height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
}
.searchpg-filters-head {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .9rem 1.1rem;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(236,72,153,0.04));
}
.searchpg-filters-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 6px 14px -4px rgba(99,102,241,0.5);
}
.searchpg-filters-body {
    padding: 1rem 1.1rem 1.1rem;
    overflow-y: auto;
}
.searchpg-filters-body .form-label.small {
    font-size: .78rem;
    font-weight: 600;
    color: var(--gray-700, #334155);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .35rem;
}
.searchpg-filters-body .form-select,
.searchpg-filters-body .form-control {
    border-radius: 10px;
    border-color: rgba(15,23,42,0.12);
    transition: border-color .15s, box-shadow .15s;
}
.searchpg-filters-body .form-select:focus,
.searchpg-filters-body .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 .2rem rgba(99,102,241,0.18);
}
.searchpg-filters-body .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: 0;
    border-radius: 12px;
    padding: .55rem 1rem;
    font-weight: 600;
    box-shadow: 0 8px 18px -8px rgba(99,102,241,0.6);
    transition: transform .15s, box-shadow .15s;
}
.searchpg-filters-body .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px -10px rgba(99,102,241,0.7);
}

/* ── Toolbar above the grid ────────────────────────────── */
.searchpg-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .6rem .9rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 1px 2px rgba(15,23,42,0.04);
    flex-wrap: wrap;
}
.searchpg-toolbar-left,
.searchpg-toolbar-right {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.searchpg-toolbar-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--gray-600, #475569);
    text-transform: uppercase;
    letter-spacing: .03em;
}
.searchpg-sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.2);
    color: #4338ca;
    font-weight: 600;
    font-size: .85rem;
    padding: .4rem 2rem .4rem .75rem;
    border-radius: 10px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234338ca'><path d='M3.204 5h9.592L8 10.481 3.204 5zm-.753.659 4.796 5.48a1 1 0 0 0 1.506 0l4.796-5.48c.566-.647.106-1.659-.753-1.659H3.204a1 1 0 0 0-.753 1.659z'/></svg>");
    background-repeat: no-repeat;
    background-position: right .65rem center;
    background-size: .75rem;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.searchpg-sort-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 .2rem rgba(99,102,241,0.18);
}
.searchpg-save-btn {
    border-radius: 10px;
    font-weight: 600;
    padding: .4rem .85rem;
}

/* ── Empty state variant for search/browse ─────────────── */
.searchpg-empty {
    margin-top: .5rem;
    padding-block: clamp(2rem, 5vw, 3.5rem);
}
.searchpg-empty .empty-hero-icon { width: 80px; height: 80px; border-radius: 22px; font-size: 2.2rem; }
.searchpg-empty .empty-hero-title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.searchpg-empty .empty-hero-subtitle { margin-bottom: 1.25rem; }

/* ── Mobile tweaks ─────────────────────────────────────── */
@media (max-width: 575.98px) {
    .searchpg-hero { border-radius: 18px; padding: 1rem; }
    .searchpg-hero-icon { width: 44px; height: 44px; border-radius: 14px; font-size: 1.2rem; }
    .searchpg-hero-title { font-size: 1.15rem; }
    .searchpg-toolbar { padding: .5rem .65rem; gap: .5rem; }
    .searchpg-toolbar-label { display: none; }
    .searchpg-sort-select { font-size: .8rem; padding: .35rem 1.8rem .35rem .65rem; }
    .searchpg-save-btn span,
    .searchpg-save-btn .me-1 { display: none; }
}

/* ── Dark theme ────────────────────────────────────────── */
[data-bs-theme="dark"] .searchpg-hero {
    background:
        linear-gradient(135deg, rgba(99,102,241,0.16) 0%, rgba(236,72,153,0.09) 60%, rgba(16,185,129,0.12) 100%),
        rgba(22,22,37,0.7);
    border-color: rgba(255,255,255,0.08);
}
[data-bs-theme="dark"] .searchpg-hero-title {
    background: linear-gradient(135deg, #e2e8f0 0%, #a5b4fc 60%, #f9a8d4 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-bs-theme="dark"] .searchpg-hero-sub,
[data-bs-theme="dark"] .searchpg-hero-meta { color: #cbd5e1; }
[data-bs-theme="dark"] .searchpg-count-chip {
    background: rgba(99,102,241,0.18);
    border-color: rgba(165,180,252,0.35);
    color: #c7d2fe;
}

[data-bs-theme="dark"] .searchpg-filters-card {
    background: #161625;
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 14px 30px -18px rgba(0,0,0,0.6);
}
[data-bs-theme="dark"] .searchpg-filters-head {
    background: linear-gradient(135deg, rgba(99,102,241,0.16), rgba(236,72,153,0.1));
    border-bottom-color: rgba(255,255,255,0.06);
}
[data-bs-theme="dark"] .searchpg-filters-body .form-label.small { color: #94a3b8; }
[data-bs-theme="dark"] .searchpg-filters-body .form-select,
[data-bs-theme="dark"] .searchpg-filters-body .form-control {
    background: #0f0f1a;
    border-color: rgba(255,255,255,0.1);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .searchpg-toolbar {
    background: #161625;
    border-color: rgba(255,255,255,0.08);
}
[data-bs-theme="dark"] .searchpg-toolbar-label { color: #94a3b8; }
[data-bs-theme="dark"] .searchpg-sort-select {
    background-color: rgba(99,102,241,0.18);
    border-color: rgba(165,180,252,0.3);
    color: #c7d2fe;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c7d2fe'><path d='M3.204 5h9.592L8 10.481 3.204 5zm-.753.659 4.796 5.48a1 1 0 0 0 1.506 0l4.796-5.48c.566-.647.106-1.659-.753-1.659H3.204a1 1 0 0 0-.753 1.659z'/></svg>");
}


/* =====================================================================
   APP-ONLY THEME OVERRIDES   (added 2026-06-07, scoped to standalone)
   ---------------------------------------------------------------------
   Everything inside this @media block applies ONLY when the page is
   loaded in an installed app context — i.e. inside our Trusted Web
   Activity (Android app) or a homescreen-installed PWA. Regular
   Chrome / Safari / Firefox tabs on desktop or mobile do NOT match
   `display-mode: standalone`, so the public web at https://ezimarket.ca
   continues to render with the original site styling.

   Goals (app-only):
     1. Force light theme to actually look LIGHT — pure white body,
        white top navbar, white footer, white bottom-nav, white cards.
     2. In dark theme keep PURE WHITE primary text everywhere.
     3. On mobile (<lg), swap navbar order so the hamburger menu sits
        on the LEFT and the EziMarket logo on the RIGHT, which matches
        common Android app conventions.
   ===================================================================== */

@media all and (display-mode: standalone) {

    /* ─── Mobile navbar swap: hamburger LEFT, brand RIGHT ──────── */
    @media (max-width: 991.98px) {
        nav.navbar > .container > .navbar-brand    { order: 2 !important; }
        nav.navbar > .container > .navbar-toggler  { order: 1 !important; }
    }

    /* ─── Light theme: pure white surfaces everywhere ──────────── */
    html[data-bs-theme="light"],
    html:not([data-bs-theme="dark"]) {
        background: #ffffff !important;
    }
    html[data-bs-theme="light"] body,
    html:not([data-bs-theme="dark"]) body {
        background: #ffffff !important;
        color: var(--ezi-ink-800, #1e293b) !important;
    }
    html[data-bs-theme="light"] main,
    html:not([data-bs-theme="dark"]) main {
        background: #ffffff !important;
    }
    html[data-bs-theme="light"] .hero-slider ~ section,
    html:not([data-bs-theme="dark"]) .hero-slider ~ section {
        background: #ffffff !important;
    }

    /* White navbar ONLY on non-hero pages. Hero pages keep .navbar-transparent
       so the navbar fades over the hero photo (matches public web design). */
    [data-bs-theme="light"] .navbar:not(.navbar-transparent),
    [data-bs-theme="light"] .navbar.navbar-dark:not(.navbar-transparent) {
        background: #ffffff !important;
        color: var(--ezi-ink-800) !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }
    [data-bs-theme="light"] .navbar:not(.navbar-transparent) .navbar-brand,
    [data-bs-theme="light"] .navbar:not(.navbar-transparent) a,
    [data-bs-theme="light"] .navbar:not(.navbar-transparent) .nav-link,
    [data-bs-theme="light"] .navbar:not(.navbar-transparent) i {
        color: var(--ezi-ink-800) !important;
    }
    [data-bs-theme="light"] .navbar:not(.navbar-transparent) .navbar-toggler {
        border-color: rgba(15, 23, 42, 0.15) !important;
    }
    /* Override Bootstrap's default white-on-dark hamburger icon SVG with a
       dark variant on white navbars (hero pages keep the default white one). */
    [data-bs-theme="light"] .navbar:not(.navbar-transparent) .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(15,23,42,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    }
    /* The transparent navbar on hero pages already gets a faint dark gradient
       overlay from the original .navbar-transparent rule — leave it alone. */

    [data-bs-theme="light"] .ezi-bottom-nav,
    [data-bs-theme="light"] .mobile-bottom-nav {
        background: #ffffff !important;
        border-top: 1px solid var(--ezi-divider, rgba(15, 23, 42, 0.08)) !important;
        color: var(--ezi-ink-800) !important;
    }
    [data-bs-theme="light"] .ezi-bottom-nav a,
    [data-bs-theme="light"] .ezi-bottom-nav button,
    [data-bs-theme="light"] .ezi-bottom-nav i,
    [data-bs-theme="light"] .ezi-bottom-nav span,
    [data-bs-theme="light"] .mobile-bottom-nav .mbn-item {
        color: var(--ezi-ink-700) !important;
    }
    [data-bs-theme="light"] .ezi-bottom-nav .active,
    [data-bs-theme="light"] .mobile-bottom-nav .mbn-item.active {
        color: var(--ezi-red-500, #22A93D) !important;
    }

    /* Footer keeps the original dark gradient so it pops against the white
       body and the bottom-nav. Bright white footer was washing out and made
       the simplified single-line copyright look like a stray text node. */
    [data-bs-theme="light"] footer,
    [data-bs-theme="light"] .site-footer {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
        color: #e2e8f0 !important;
        border-top: 0 !important;
        margin-top: 2rem !important;
    }
    [data-bs-theme="light"] .site-footer .ezi-footer-bottom p,
    [data-bs-theme="light"] .site-footer .ezi-footer-bottom .small,
    [data-bs-theme="light"] .site-footer p.text-light {
        color: #cbd5e1 !important;
        opacity: 1 !important;
    }

    [data-bs-theme="light"] .card,
    [data-bs-theme="light"] .cat-card,
    [data-bs-theme="light"] .rgn-card-home,
    [data-bs-theme="light"] .ezi-card {
        background: #ffffff !important;
        color: var(--ezi-ink-800) !important;
    }

    /* ─── Dark theme: pure white text everywhere ───────────────── */
    [data-bs-theme="dark"] body,
    [data-bs-theme="dark"] main,
    [data-bs-theme="dark"] section,
    [data-bs-theme="dark"] header,
    [data-bs-theme="dark"] footer,
    [data-bs-theme="dark"] nav,
    [data-bs-theme="dark"] div:not(.badge):not([class*="bg-"]) {
        color: #ffffff;
    }
    [data-bs-theme="dark"] h1,
    [data-bs-theme="dark"] h2,
    [data-bs-theme="dark"] h3,
    [data-bs-theme="dark"] h4,
    [data-bs-theme="dark"] h5,
    [data-bs-theme="dark"] h6 {
        color: #ffffff !important;
    }
    [data-bs-theme="dark"] p,
    [data-bs-theme="dark"] li,
    [data-bs-theme="dark"] dd,
    [data-bs-theme="dark"] dt,
    [data-bs-theme="dark"] label,
    [data-bs-theme="dark"] td,
    [data-bs-theme="dark"] th,
    [data-bs-theme="dark"] .form-label,
    [data-bs-theme="dark"] .form-check-label {
        color: #ffffff !important;
    }
    [data-bs-theme="dark"] a:not(.btn):not(.badge):not([class*="text-"]) {
        color: #ffffff;
    }
    [data-bs-theme="dark"] .text-muted,
    [data-bs-theme="dark"] small.text-muted,
    [data-bs-theme="dark"] .text-secondary {
        color: #cbd5e1 !important;
    }
    [data-bs-theme="dark"] input,
    [data-bs-theme="dark"] textarea,
    [data-bs-theme="dark"] select,
    [data-bs-theme="dark"] .form-control,
    [data-bs-theme="dark"] .form-select {
        color: #ffffff !important;
    }
    [data-bs-theme="dark"] input::placeholder,
    [data-bs-theme="dark"] .form-control::placeholder {
        color: rgba(255, 255, 255, 0.55) !important;
    }
    [data-bs-theme="dark"] .cat-card-name,
    [data-bs-theme="dark"] .rgn-card-home-name {
        color: #ffffff !important;
    }
    [data-bs-theme="dark"] .cat-card-count,
    [data-bs-theme="dark"] .rgn-card-home-count {
        color: #cbd5e1 !important;
    }
    [data-bs-theme="dark"] .ezi-bottom-nav,
    [data-bs-theme="dark"] .ezi-bottom-nav a,
    [data-bs-theme="dark"] .ezi-bottom-nav button,
    [data-bs-theme="dark"] .ezi-bottom-nav i,
    [data-bs-theme="dark"] .ezi-bottom-nav span,
    [data-bs-theme="dark"] .mobile-bottom-nav .mbn-item {
        color: #ffffff !important;
    }
    [data-bs-theme="dark"] .ezi-bottom-nav .active,
    [data-bs-theme="dark"] .mobile-bottom-nav .mbn-item.active {
        color: var(--ezi-red-500, #22A93D) !important;
    }

    /* ─── App-only footer simplification ───────────────────────────
       Hide Browse / Account / Information columns and the divider hr,
       leaving just the branding tagline + copyright in the app footer.
       The 3 columns remain visible on the public website. */
    .site-footer .row.g-4 > .col-lg-2,
    .site-footer .row.g-4 > .col-6.col-lg-2,
    .site-footer hr.border-light {
        display: none !important;
    }
    /* The remaining branding column was sized for a 4/12 grid; let it
       span the full width inside the app so the footer feels balanced. */
    .site-footer .row.g-4 > .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* ─── Hide the theme toggle inside the app ─────────────────────
       The app is light-only by design, the boot script forces
       data-bs-theme="light" on every load, so the toggle would just
       confuse users (they'd flip Dark, the next page load would force
       it back to Light, and they'd think the toggle is broken).
       We hide both the desktop dropdown and the mobile drawer row. */
    .theme-toggle,
    .theme-dropdown,
    #themeToggleBtn,
    .mobile-theme-row {
        display: none !important;
    }
    /* Hide the entire "Appearance" section in the mobile drawer,
       including its label, when inside the app. Uses :has() which
       all modern Chromiums (TWA-grade) support. */
    .mobile-nav-section:has(.mobile-theme-row) {
        display: none !important;
    }

}  /* end @media (display-mode: standalone) */


/* =====================================================================
   data-app="1" fallback selectors  (added 2026-06-07)
   ---------------------------------------------------------------------
   The boot script in header.php sets html[data-app="1"] when running
   inside the installed app, in addition to the @media match above.
   Some Android WebView versions report standalone in non-obvious
   ways, so duplicating the rules under this attribute selector
   guarantees the in-app styling kicks in regardless.
   ===================================================================== */
html[data-app="1"],
html[data-app="1"] body {
    background: #ffffff !important;
}
html[data-app="1"] body {
    color: var(--ezi-ink-800, #1e293b) !important;
}
html[data-app="1"] main,
html[data-app="1"] .hero-slider ~ section {
    background: #ffffff !important;
}
/* White navbar ONLY on non-hero pages inside the app. Hero pages keep
   .navbar-transparent so it fades over the hero photo (matches public web). */
html[data-app="1"] .navbar:not(.navbar-transparent),
html[data-app="1"] .navbar.navbar-dark:not(.navbar-transparent) {
    background: #ffffff !important;
    color: var(--ezi-ink-800) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
html[data-app="1"] .navbar:not(.navbar-transparent) .navbar-brand,
html[data-app="1"] .navbar:not(.navbar-transparent) a,
html[data-app="1"] .navbar:not(.navbar-transparent) .nav-link,
html[data-app="1"] .navbar:not(.navbar-transparent) i {
    color: var(--ezi-ink-800) !important;
}
html[data-app="1"] .navbar:not(.navbar-transparent) .navbar-toggler {
    border-color: rgba(15, 23, 42, 0.15) !important;
}
html[data-app="1"] .navbar:not(.navbar-transparent) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(15,23,42,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
html[data-app="1"] .ezi-bottom-nav,
html[data-app="1"] .mobile-bottom-nav {
    background: #ffffff !important;
    border-top: 1px solid var(--ezi-divider, rgba(15, 23, 42, 0.08)) !important;
    color: var(--ezi-ink-800) !important;
}
html[data-app="1"] .ezi-bottom-nav a,
html[data-app="1"] .ezi-bottom-nav i,
html[data-app="1"] .ezi-bottom-nav span,
html[data-app="1"] .mobile-bottom-nav .mbn-item {
    color: var(--ezi-ink-700) !important;
}
html[data-app="1"] .ezi-bottom-nav .active,
html[data-app="1"] .mobile-bottom-nav .mbn-item.active {
    color: var(--ezi-red-500, #22A93D) !important;
}
html[data-app="1"] footer,
html[data-app="1"] .site-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: #e2e8f0 !important;
    border-top: 0 !important;
    margin-top: 2rem !important;
}
html[data-app="1"] .site-footer .ezi-footer-bottom p,
html[data-app="1"] .site-footer .ezi-footer-bottom .small,
html[data-app="1"] .site-footer p.text-light {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}
html[data-app="1"] .card,
html[data-app="1"] .cat-card,
html[data-app="1"] .rgn-card-home,
html[data-app="1"] .ezi-card {
    background: #ffffff !important;
    color: var(--ezi-ink-800) !important;
}
@media (max-width: 991.98px) {
    html[data-app="1"] nav.navbar > .container > .navbar-brand   { order: 2 !important; }
    html[data-app="1"] nav.navbar > .container > .navbar-toggler { order: 1 !important; }
}
html[data-app="1"] .site-footer .row.g-4 > .col-lg-2,
html[data-app="1"] .site-footer .row.g-4 > .col-6.col-lg-2,
html[data-app="1"] .site-footer hr.border-light {
    display: none !important;
}
html[data-app="1"] .site-footer .row.g-4 > .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
html[data-app="1"] .theme-toggle,
html[data-app="1"] .theme-dropdown,
html[data-app="1"] #themeToggleBtn,
html[data-app="1"] .mobile-theme-row {
    display: none !important;
}
html[data-app="1"] .mobile-nav-section:has(.mobile-theme-row) {
    display: none !important;
}

/* ------------------------------------------------------------------
   Mobile navbar layout — hamburger on the LEFT, EziMarket logo on the
   FAR RIGHT. Applies to every phone-width context:
     • Public site in mobile browser
     • Installed TWA / PWA in standalone mode
     • Chrome Custom Tabs fallback when standalone isn't honoured
   Desktop (lg+) keeps Bootstrap's default left-aligned brand because
   the lg layout has its own icon bar; this rule only fires below the
   navbar collapse breakpoint.
   ------------------------------------------------------------------ */
@media (max-width: 991.98px) {
    nav.navbar > .container,
    nav.navbar > .container-fluid {
        flex-wrap: wrap;
    }
    nav.navbar > .container > .navbar-toggler,
    nav.navbar > .container-fluid > .navbar-toggler {
        order: 1 !important;
        margin-left: 0 !important;
    }
    nav.navbar > .container > .navbar-brand,
    nav.navbar > .container-fluid > .navbar-brand {
        order: 2 !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}
