
/* Scan2Buy - Christmas Theme */

body.theme-christmas {
    --christmas-red: #b91c1c;
    --christmas-green: #166534;
    --christmas-gold: #d4a017;

    background-color: #f8faf7;
}

/* Smooth theme transition */
body.theme-christmas,
body.theme-christmas * {
    transition: background-color 0.2s ease,
                border-color 0.2s ease,
                color 0.2s ease;
}

/* Christmas scrollbar */
body.theme-christmas::-webkit-scrollbar-thumb {
    background: var(--christmas-green);
    border-radius: 10px;
}

/* Christmas Landing Hero */
body.theme-christmas .hero-section {
    background:
        radial-gradient(circle at 10% 15%, rgba(185, 28, 28, 0.10), transparent 25%),
        radial-gradient(circle at 90% 20%, rgba(22, 101, 52, 0.12), transparent 25%),
        linear-gradient(135deg, #fffaf0 0%, #f0fdf4 100%);
}

/* Christmas Hero Heading */
body.theme-christmas .hero-title {
    color: #991b1b;
}

body.theme-christmas .hero-section h1,
body.theme-christmas .hero-section h2 {
    text-shadow: 0 1px 1px rgba(22, 101, 52, 0.08);
}

/* Christmas Stat Cards */
body.theme-christmas .stat-card {
    border: 1px solid #e5d5b5;
    box-shadow: 0 8px 24px rgba(22, 101, 52, 0.08);
}

/* Christmas Buttons */
body.theme-christmas .hero-section a,
body.theme-christmas .hero-section button {
    border-radius: 10px;
}

/* Christmas Theme Background */
body.theme-christmas {
    background-color: #fffdf7;
}


/* ===== CHRISTMAS HERO DECORATIONS ===== */

body.theme-christmas .hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(185,28,28,.12), transparent 25%),
        radial-gradient(circle at 90% 20%, rgba(22,101,52,.14), transparent 25%),
        linear-gradient(135deg, #fffaf0, #ecfdf5, #fff1f2) !important;
}

/* Festive corner decorations */
body.theme-christmas .hero-section::before {
    content: "🎄  ❄  ✨";
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: clamp(22px, 4vw, 42px);
    opacity: .85;
    pointer-events: none;
}

body.theme-christmas .hero-section::after {
    content: "✨  ❄  🎄";
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: clamp(22px, 4vw, 42px);
    opacity: .85;
    pointer-events: none;
}

/* Christmas heading */
body.theme-christmas .hero-title {
    color: #991b1b !important;
}

body.theme-christmas .hero-title .scan2buy-text {
    color: #166534 !important;
    -webkit-text-fill-color: #166534 !important;
}

/* Festive stat cards */
body.theme-christmas .stat-card {
    background: #ffffff !important;
    border: 1px solid #d4a017 !important;
    border-top: 4px solid #b91c1c !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 25px rgba(22,101,52,.12) !important;
}

/* Christmas CTA */
body.theme-christmas .hero-section a {
    background: #b91c1c !important;
    color: #ffffff !important;
    border: 1px solid #991b1b !important;
}

body.theme-christmas .hero-section a:hover {
    background: #166534 !important;
}

/* Feature cards */
body.theme-christmas .feature-card {
    border-color: #d4a017 !important;
    box-shadow: 0 6px 20px rgba(22,101,52,.08);
}


/* =====================================================
   SCAN2BUY COMPLETE CHRISTMAS THEME
   Applies only when body has theme-christmas class
   ===================================================== */

body.theme-christmas {
    --christmas-red: #b91c1c;
    --christmas-dark-red: #991b1b;
    --christmas-green: #166534;
    --christmas-dark-green: #14532d;
    --christmas-gold: #d4a017;
    --christmas-cream: #fffaf0;
    --christmas-surface: #ffffff;
    background: #fffdf7 !important;
    color: #243124;
}

/* Snowfall overlay - does not block clicks */
body.theme-christmas::before,
body.theme-christmas::after {
    content: "";
    position: fixed;
    inset: -100px 0 0;
    pointer-events: none;
    z-index: 9998;
    background-image:
        radial-gradient(3px 3px at 40px 60px, #fff 98%, transparent),
        radial-gradient(2px 2px at 120px 150px, #fff 98%, transparent),
        radial-gradient(3px 3px at 200px 250px, #fff 98%, transparent),
        radial-gradient(2px 2px at 300px 100px, #fff 98%, transparent);
    background-size: 350px 350px;
    animation: scan2buy-snow 18s linear infinite;
    opacity: .45;
}

body.theme-christmas::after {
    background-size: 250px 250px;
    animation-duration: 28s;
    animation-delay: -10s;
    opacity: .25;
}

@keyframes scan2buy-snow {
    from { background-position: 0 -100px; }
    to { background-position: 80px 700px; }
}

/* Landing page sections */
body.theme-christmas .hero-section {
    background:
        radial-gradient(circle at 8% 20%, rgba(185,28,28,.13), transparent 28%),
        radial-gradient(circle at 90% 15%, rgba(22,101,52,.14), transparent 28%),
        linear-gradient(135deg, #fff7ed, #ecfdf5 55%, #fff1f2) !important;
}

body.theme-christmas .hero-title {
    color: var(--christmas-dark-red) !important;
}

body.theme-christmas .hero-section h1,
body.theme-christmas .hero-section h2 {
    text-shadow: 0 1px 1px rgba(22,101,52,.08);
}

body.theme-christmas .stat-card,
body.theme-christmas .feature-card,
body.theme-christmas .pricing-card {
    background: #fff !important;
    border: 1px solid #e8d7a8 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(22,101,52,.09) !important;
}

body.theme-christmas .stat-card {
    border-top: 4px solid var(--christmas-red) !important;
}

body.theme-christmas .hero-section a,
body.theme-christmas .hero-section button {
    background-color: var(--christmas-red) !important;
    color: #fff !important;
    border-color: var(--christmas-dark-red) !important;
}

body.theme-christmas .hero-section a:hover,
body.theme-christmas .hero-section button:hover {
    background-color: var(--christmas-green) !important;
}

/* Landing page section headings */
body.theme-christmas .feature-card h3,
body.theme-christmas .pricing-card h3 {
    color: var(--christmas-green);
}

/* Dashboard: Client and Super Admin sidebars */
body.theme-christmas #sidebar {
    background: linear-gradient(180deg, #fffaf0 0%, #f0fdf4 100%) !important;
    border-color: #e7d8b3 !important;
}

body.theme-christmas #sidebar > div,
body.theme-christmas #sidebar .bg-white {
    background-color: transparent !important;
    border-color: #e7d8b3 !important;
}

body.theme-christmas #sidebar a {
    border-radius: 8px;
    transition: background-color .2s ease, color .2s ease;
}

body.theme-christmas #sidebar a:hover {
    background-color: #fee2e2 !important;
    color: var(--christmas-dark-red) !important;
}

body.theme-christmas #sidebar a[aria-current="page"],
body.theme-christmas #sidebar a.active {
    background-color: #166534 !important;
    color: #fff !important;
}

/* Super Admin navigation bar */
body.theme-christmas nav.fixed {
    background: linear-gradient(90deg, #fffaf0, #f0fdf4) !important;
    border-color: #e7d8b3 !important;
}

/* Dashboard tables - visual styling only */
body.theme-christmas table thead {
    background-color: #fef2f2 !important;
}

body.theme-christmas table thead th {
    color: #991b1b !important;
    border-color: #eadfc5 !important;
}

body.theme-christmas table tbody tr {
    border-color: #eee5d2 !important;
}

body.theme-christmas table tbody tr:hover {
    background-color: #f0fdf4 !important;
}

/* Form fields */
body.theme-christmas input:not([type="checkbox"]):not([type="radio"]),
body.theme-christmas select,
body.theme-christmas textarea {
    border-color: #e5d5b5;
}

body.theme-christmas input:focus,
body.theme-christmas select:focus,
body.theme-christmas textarea:focus {
    border-color: var(--christmas-green) !important;
    --tw-ring-color: rgba(22,101,52,.25);
}

/* Common dashboard card borders */
body.theme-christmas .rounded-lg.border,
body.theme-christmas .rounded-xl.border {
    border-color: #eadfc5;
}

/* Footer */
body.theme-christmas footer {
    background: linear-gradient(90deg, #14532d, #166534) !important;
    color: #fff !important;
}

body.theme-christmas footer a {
    color: #fef3c7;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    body.theme-christmas .hero-section::before,
    body.theme-christmas .hero-section::after {
        font-size: 20px;
        top: 12px;
    }

    body.theme-christmas .stat-card {
        border-radius: 12px !important;
    }
}

/* Respect accessibility motion preferences */
@media (prefers-reduced-motion: reduce) {
    body.theme-christmas::before,
    body.theme-christmas::after {
        animation: none !important;
    }

    body.theme-christmas,
    body.theme-christmas * {
        transition: none !important;
    }
}


/* ==========================================
   PREMIUM CHRISTMAS DASHBOARD SHELL
   POS routes intentionally excluded
   ========================================== */

body.theme-christmas:not(.christmas-pos) #sidebar {
    background: linear-gradient(180deg, #7f101b 0%, #a31525 48%, #64101a 100%) !important;
    border-right: 1px solid #d4a017 !important;
    box-shadow: 5px 0 24px rgba(80, 10, 20, .18);
    color: #fff !important;
}

/* Sidebar inner surfaces */
body.theme-christmas:not(.christmas-pos) #sidebar > div,
body.theme-christmas:not(.christmas-pos) #sidebar > div > div,
body.theme-christmas:not(.christmas-pos) #sidebar .bg-white,
body.theme-christmas:not(.christmas-pos) #sidebar .dark\:bg-gray-800 {
    background: transparent !important;
    border-color: rgba(255,255,255,.16) !important;
}

/* Sidebar text and icons */
body.theme-christmas:not(.christmas-pos) #sidebar,
body.theme-christmas:not(.christmas-pos) #sidebar a,
body.theme-christmas:not(.christmas-pos) #sidebar button,
body.theme-christmas:not(.christmas-pos) #sidebar svg {
    color: #fff !important;
}

body.theme-christmas:not(.christmas-pos) #sidebar a {
    border-radius: 9px;
    margin-top: 2px;
    transition: background .2s ease, transform .2s ease;
}

body.theme-christmas:not(.christmas-pos) #sidebar a:hover {
    background: rgba(255,255,255,.13) !important;
    color: #ffe8a3 !important;
    transform: translateX(2px);
}

/* Active sidebar item */
body.theme-christmas:not(.christmas-pos) #sidebar a[aria-current="page"],
body.theme-christmas:not(.christmas-pos) #sidebar a.active,
body.theme-christmas:not(.christmas-pos) #sidebar a.bg-skin-base {
    background: linear-gradient(90deg, #166534, #218449) !important;
    color: #fff !important;
    box-shadow: inset 3px 0 #facc15, 0 3px 10px rgba(0,0,0,.15);
}

/* Sidebar branch / logo area */
body.theme-christmas:not(.christmas-pos) #sidebar .border-b {
    border-color: rgba(255,255,255,.18) !important;
}

body.theme-christmas:not(.christmas-pos) #sidebar .text-gray-500,
body.theme-christmas:not(.christmas-pos) #sidebar .text-gray-600 {
    color: #ffe8d0 !important;
}

/* Christmas lights across dashboard navigation */
body.theme-christmas:not(.christmas-pos) nav.fixed {
    position: fixed;
    background: linear-gradient(90deg, #fffaf0, #fff 50%, #f0fdf4) !important;
    border-bottom: 1px solid #e4c77d !important;
    box-shadow: 0 4px 16px rgba(80,10,20,.08);
}

body.theme-christmas:not(.christmas-pos) nav.fixed::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 9px;
    pointer-events: none;
    background:
      radial-gradient(circle, #e11d48 0 3px, transparent 4px) 0 2px / 42px 9px repeat-x,
      radial-gradient(circle, #15803d 0 3px, transparent 4px) 21px 2px / 42px 9px repeat-x;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.18));
}

/* Dashboard canvas */
body.theme-christmas:not(.christmas-pos) #main-content {
    background:
      radial-gradient(ellipse at 95% 5%, rgba(22,101,52,.06), transparent 32%),
      linear-gradient(180deg, #f7fbff 0%, #fffdf8 100%) !important;
}

/* Dashboard cards */
body.theme-christmas:not(.christmas-pos) #main-content .rounded-xl.border,
body.theme-christmas:not(.christmas-pos) #main-content .rounded-lg.border {
    border-color: #ead9b2 !important;
    box-shadow: 0 5px 18px rgba(80,10,20,.055);
}

/* Super Admin main dashboard heading */
body.theme-christmas:not(.christmas-pos) #main-content h1 {
    color: #7f1d1d;
}

/* Dashboard chart containers */
body.theme-christmas:not(.christmas-pos) #main-content .bg-white {
    border-color: #eadfc8;
}

/* Sidebar scrollbar */
body.theme-christmas:not(.christmas-pos) #sidebar ::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.35);
    border-radius: 20px;
}

body.theme-christmas:not(.christmas-pos) #sidebar ::-webkit-scrollbar-track {
    background: rgba(0,0,0,.10);
}

/* Mobile sidebar */
@media (max-width: 1023px) {
    body.theme-christmas:not(.christmas-pos) #sidebar {
        box-shadow: 8px 0 28px rgba(0,0,0,.25);
    }
}

/* Avoid animated effects for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    body.theme-christmas:not(.christmas-pos) #sidebar a {
        transition: none !important;
    }
}


/* Christmas Theme - Active Sidebar Menu */
body.theme-christmas:not(.christmas-pos) #sidebar a[class*="bg-skin-base/[.20]"] {
    background: linear-gradient(135deg, #15803d, #166534) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 3px 10px rgba(22,101,52,0.22);
}

body.theme-christmas:not(.christmas-pos) #sidebar a[class*="bg-skin-base/[.20]"] span {
    color: #ffffff !important;
}

body.theme-christmas:not(.christmas-pos) #sidebar a[class*="bg-skin-base/[.20]"]:hover {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
}


/* ==========================================
   SCAN2BUY - CLIENT DASHBOARD CHRISTMAS
   ========================================== */

body.theme-christmas.christmas-client-dashboard:not(.christmas-pos) {
    background:
        radial-gradient(circle at 90% 5%, rgba(255,255,255,.95), transparent 28%),
        linear-gradient(145deg, #f0f8f5 0%, #f8fbff 55%, #fff8ed 100%) !important;
}

/* Dashboard content winter background */
body.christmas-client-dashboard #main-content {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 15%, rgba(255,255,255,.95) 0 2px, transparent 3px),
        radial-gradient(circle at 75% 28%, rgba(255,255,255,.9) 0 3px, transparent 4px),
        radial-gradient(circle at 42% 65%, rgba(255,255,255,.8) 0 2px, transparent 3px),
        linear-gradient(145deg, #eff8f5, #f8fbff 55%, #fffaf1) !important;
    background-size: 95px 95px, 135px 135px, 110px 110px, auto !important;
}

/* Decorative Christmas corner elements */
body.christmas-client-dashboard #main-content::before {
    content: "🎄";
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 0;
    font-size: clamp(55px, 7vw, 95px);
    opacity: .15;
    pointer-events: none;
    filter: drop-shadow(0 5px 8px rgba(0,0,0,.08));
}

body.christmas-client-dashboard #main-content::after {
    content: "🎁  ⛄  ❄️";
    position: absolute;
    bottom: 15px;
    right: 25px;
    z-index: 0;
    font-size: 30px;
    opacity: .16;
    pointer-events: none;
}

/* Keep dashboard content above decorations */
body.christmas-client-dashboard #main-content > * {
    position: relative;
    z-index: 1;
}

/* Dashboard heading */
body.christmas-client-dashboard #main-content h1 {
    color: #991b1b;
}

/* Dashboard cards */
body.christmas-client-dashboard #main-content .bg-white {
    border-color: #f0d9b2;
    box-shadow: 0 5px 18px rgba(90, 65, 30, .045);
}

/* Soft festive card hover */
body.christmas-client-dashboard #main-content .bg-white:hover {
    border-color: #d9b77e;
    transition: border-color .2s ease, box-shadow .2s ease;
}

/* Snowflake decoration */
@keyframes christmas-snow-fall {
    0% {
        background-position: 0 -100px, 30px -180px;
    }
    100% {
        background-position: 40px 500px, -20px 650px;
    }
}

body.christmas-client-dashboard #main-content {
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.9) 50%, transparent 60%),
        radial-gradient(3px 3px at 80px 100px, rgba(255,255,255,.8) 50%, transparent 60%),
        linear-gradient(145deg, #eff8f5, #f8fbff 55%, #fffaf1) !important;
    background-size: 150px 180px, 190px 220px, auto !important;
    animation: christmas-snow-fall 18s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    body.christmas-client-dashboard #main-content {
        animation: none !important;
    }
}


/* Christmas Dashboard - Enhanced Decorations */
body.theme-christmas.christmas-client-dashboard #main-content::before {
    content: "🎄";
    position: absolute;
    top: 12px;
    right: 22px;
    z-index: 2;
    font-size: 88px;
    opacity: .85;
    pointer-events: none;
    filter: drop-shadow(0 5px 8px rgba(20,70,40,.15));
}

body.theme-christmas.christmas-client-dashboard #main-content::after {
    content: "🎅  🎁  ⛄";
    position: absolute;
    right: 22px;
    bottom: 18px;
    z-index: 2;
    font-size: 36px;
    opacity: .9;
    pointer-events: none;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,.12));
}

/* Dashboard heading festive accent */
body.theme-christmas.christmas-client-dashboard #main-content h1 {
    color: #991b1b !important;
    font-weight: 800;
    text-shadow: 0 1px 0 white;
}

/* Festive dashboard cards */
body.theme-christmas.christmas-client-dashboard #main-content .bg-white {
    border: 1px solid #ecd5a8 !important;
    border-radius: 15px !important;
    box-shadow: 0 7px 22px rgba(80,60,30,.07) !important;
}

/* Keep decorations behind interactive content */
body.theme-christmas.christmas-client-dashboard #main-content > * {
    position: relative;
    z-index: 3;
}

/* Avoid animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    body.christmas-client-dashboard #main-content {
        animation: none !important;
    }
}


/* FIX: Christmas decorations visibility and layering */

body.theme-christmas.christmas-client-dashboard #main-content {
    position: relative !important;
    isolation: isolate;
}

/* Tree - top right decorative area */
body.theme-christmas.christmas-client-dashboard #main-content::before {
    content: "🎄";
    position: absolute;
    top: 8px;
    right: 24px;
    z-index: 10 !important;
    font-size: 54px;
    line-height: 1;
    opacity: 1 !important;
    pointer-events: none;
}

/* Remove bottom decorations that overlap dashboard cards */
body.theme-christmas.christmas-client-dashboard #main-content::after {
    content: none !important;
    display: none !important;
}

/* Keep dashboard content readable and above background */
body.theme-christmas.christmas-client-dashboard #main-content > * {
    position: relative;
    z-index: 11 !important;
}

/* Don't animate the actual dashboard content */
body.theme-christmas.christmas-client-dashboard #main-content {
    animation: none !important;
}
/* Move Christmas tree away from dashboard date/time */
body.theme-christmas.christmas-client-dashboard #main-content::before {
    right: 230px !important;
    top: 12px !important;
    font-size: 48px !important;
}


/* ===================================
   CLIENT DASHBOARD CHRISTMAS DECOR
   =================================== */

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root {
    position: relative;
    isolation: isolate;
}

/* Decorative layer */
.christmas-dashboard-decor {
    position: absolute;
    top: 8px;
    right: 24px;
    width: 240px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    pointer-events: none;
    z-index: 0;
}

.christmas-dashboard-decor span {
    display: inline-block;
    line-height: 1;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,.12));
}

.christmas-santa {
    font-size: 35px;
}

.christmas-tree {
    font-size: 43px;
}

.christmas-snowman {
    font-size: 34px;
}

.christmas-gifts {
    font-size: 28px;
}

/* Keep dashboard sections above decoration */
.christmas-dashboard-root > .p-4 {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 640px) {
    .christmas-dashboard-decor {
        transform: scale(.75);
        transform-origin: top right;
        right: 8px;
    }
}

/* Disable previous floating tree */
body.theme-christmas.christmas-client-dashboard
#main-content::before {
    content: none !important;
}

/* Christmas Dashboard - Festive Banner */

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-decor {
    position: relative;
    z-index: 5;
    width: calc(100% - 32px);
    min-height: 92px;
    margin: 8px 16px 0;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(110deg, #8f1424, #b91c32 55%, #176b3b);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 15px;
    box-shadow: 0 7px 20px rgba(80,20,30,.15);
    color: white;
    pointer-events: none;
}

.christmas-decor-message {
    display: flex;
    align-items: center;
    gap: 14px;
}

.christmas-decor-message > span {
    font-size: 48px;
}

.christmas-decor-message strong {
    display: block;
    color: white;
    font-size: 20px;
    font-weight: 800;
}

.christmas-decor-message small {
    display: block;
    color: #ffead0;
    font-size: 12px;
    margin-top: 3px;
}

.christmas-decor-items {
    display: flex;
    align-items: center;
    gap: 14px;
}

.christmas-decor-items span {
    font-size: 38px;
}

body.theme-christmas.christmas-client-dashboard
#main-content::before {
    content: none !important;
}

@media(max-width: 640px) {
    body.theme-christmas.christmas-client-dashboard
    .christmas-dashboard-decor {
        padding: 10px;
        min-height: 75px;
    }

    .christmas-decor-message > span {
        font-size: 32px;
    }

    .christmas-decor-message strong {
        font-size: 15px;
    }

    .christmas-decor-items {
        gap: 4px;
    }

    .christmas-decor-items span {
        font-size: 23px;
    }

    .christmas-decor-message small {
        display: none;
    }
}

/* Christmas Dashboard Hero Banner */

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-banner {
    width: calc(100% - 32px);
    margin: 8px 16px 18px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #f0d9b2;
    box-shadow: 0 8px 24px rgba(120, 20, 30, .15);
    position: relative;
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1330 / 220;
    object-fit: cover;
}

@media(max-width: 640px) {
    body.theme-christmas.christmas-client-dashboard
    .christmas-dashboard-banner {
        width: calc(100% - 20px);
        margin: 8px 10px 14px;
        border-radius: 10px;
    }
}
/* Remove old Christmas emoji decorations */
body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-decor {
    display: none !important;
}

body.theme-christmas.christmas-client-dashboard
#main-content::before,
body.theme-christmas.christmas-client-dashboard
#main-content::after {
    content: none !important;
    display: none !important;
}
/* Christmas Client Dashboard - KPI Cards */

body.theme-christmas.christmas-client-dashboard
#main-content .christmas-dashboard-root > .p-4:first-of-type .grid > div {
    position: relative;
    overflow: hidden;
    border: 1px solid #ead8b5 !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, #ffffff, #fffaf2) !important;
    box-shadow: 0 6px 18px rgba(100, 65, 25, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

body.theme-christmas.christmas-client-dashboard
#main-content .christmas-dashboard-root > .p-4:first-of-type .grid > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(100, 65, 25, .12);
}

body.theme-christmas.christmas-client-dashboard
#main-content .christmas-dashboard-root > .p-4:first-of-type .grid > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #b91c1c, #15803d, #d4a64a);
}

@media (prefers-reduced-motion: reduce) {
    body.theme-christmas.christmas-client-dashboard
    #main-content .christmas-dashboard-root > .p-4:first-of-type .grid > div {
        transition: none;
    }
}
/* Christmas KPI Cards - Corrected Selector */

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div {
    position: relative !important;
    overflow: hidden;
    border: 1px solid #e8d4ad !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, #ffffff, #fffaf0) !important;
    box-shadow: 0 6px 18px rgba(100, 65, 25, .08) !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        #b91c1c 0%,
        #15803d 50%,
        #d4a64a 100%
    );
    z-index: 2;
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div:hover {
    box-shadow: 0 10px 24px rgba(100, 65, 25, .13) !important;
    transform: translateY(-2px);
}

/* Christmas Reviews and Rating Cards */

body.theme-christmas.christmas-client-dashboard
.christmas-review-grid > div {
    position: relative;
    overflow: hidden;
    border: 1px solid #e8d4ad !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, #ffffff, #fffaf0) !important;
    box-shadow: 0 8px 22px rgba(100, 65, 25, .08);
    padding: 24px !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-review-grid > div:first-child {
    border-top: 4px solid #15803d !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-review-grid > div:last-child {
    border-top: 4px solid #b91c1c !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-review-grid h3 {
    color: #176b3b !important;
    font-weight: 750;
}

body.theme-christmas.christmas-client-dashboard
.christmas-review-grid .text-yellow-500 {
    color: #d49a18 !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-review-grid .border-b {
    border-color: #eadfc9 !important;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Christmas Sales Chart and Orders */

body.theme-christmas.christmas-client-dashboard
.christmas-sales-grid > div {
    border: 1px solid #ead8b5 !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, #fff, #fffaf1) !important;
    box-shadow: 0 8px 22px rgba(100, 65, 25, .07) !important;
    overflow: hidden;
}

body.theme-christmas.christmas-client-dashboard
.christmas-sales-grid > div > div {
    border-radius: 14px;
}

body.theme-christmas.christmas-client-dashboard
.christmas-sales-grid h3 {
    color: #176b3b;
    font-weight: 700;
}

body.theme-christmas.christmas-client-dashboard
.christmas-sales-grid .text-blue-500 {
    color: #15803d !important;
}


/* Christmas Sales and Orders - Dedicated Styling */

body.theme-christmas.christmas-client-dashboard .christmas-sales-card,
body.theme-christmas.christmas-client-dashboard .christmas-orders-card {
    background: linear-gradient(145deg, #ffffff, #fffaf1) !important;
    border: 1px solid #ead5ad !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(100, 55, 20, .09) !important;
    overflow: hidden;
    position: relative;
}

body.theme-christmas.christmas-client-dashboard .christmas-sales-card {
    border-top: 4px solid #15803d !important;
}

body.theme-christmas.christmas-client-dashboard .christmas-orders-card {
    border-top: 4px solid #b91c1c !important;
}

body.theme-christmas.christmas-client-dashboard .christmas-sales-card h3,
body.theme-christmas.christmas-client-dashboard .christmas-orders-card h3 {
    color: #176b3b;
    font-weight: 700;
}

/* Preserve chart dimensions and functionality */
body.theme-christmas.christmas-client-dashboard .christmas-sales-card canvas {
    max-width: 100%;
}

/* Today's Orders inner empty-state card */
body.theme-christmas.christmas-client-dashboard .christmas-orders-card .bg-white {
    border: 1px solid #eadfc9 !important;
    border-radius: 15px !important;
}
/* Christmas Payment and Top Selling Cards */

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div {
    position: relative;
    overflow: hidden;
    border: 1px solid #ead5ad !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, #fff, #fffaf0) !important;
    box-shadow: 0 7px 20px rgba(100, 65, 25, .08) !important;
    padding: 22px !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #b91c1c, #15803d, #d4a64a);
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid h3 {
    color: #176b3b;
    font-weight: 700;
}


/* ==========================================
   SCAN2BUY - PREMIUM CHRISTMAS DASHBOARD
   ========================================== */

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root {
    background:
        radial-gradient(circle at 85% 15%, rgba(220,245,255,.55), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #fffaf2 100%);
}

/* KPI card festive illustrations */
body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div {
    min-height: 125px;
    padding-bottom: 24px !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div::after {
    position: absolute;
    right: 14px;
    top: 12px;
    font-size: 30px;
    line-height: 1;
    opacity: .88;
    pointer-events: none;
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div:nth-child(1)::after {
    content: "🎅";
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div:nth-child(2)::after {
    content: "🎁";
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div:nth-child(3)::after {
    content: "🎄";
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div:nth-child(4)::after {
    content: "🔔";
}

/* Rating and reviews snowy bottom landscape */
body.theme-christmas.christmas-client-dashboard
.christmas-review-grid > div {
    background:
        radial-gradient(ellipse at 15% 110%, #d9f5ed 0 12%, transparent 35%),
        radial-gradient(ellipse at 80% 115%, #d9efff 0 15%, transparent 38%),
        linear-gradient(145deg, #ffffff, #fffaf3) !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-review-grid > div:first-child::after {
    content: "🎄 🎁";
    position: absolute;
    right: 18px;
    bottom: 14px;
    font-size: 32px;
    pointer-events: none;
}

body.theme-christmas.christmas-client-dashboard
.christmas-review-grid > div:last-child::after {
    content: "🎄";
    position: absolute;
    right: 18px;
    bottom: 14px;
    font-size: 38px;
    pointer-events: none;
}

/* Sales chart and orders snowy atmosphere */
body.theme-christmas.christmas-client-dashboard
.christmas-sales-card,
body.theme-christmas.christmas-client-dashboard
.christmas-orders-card {
    background:
        radial-gradient(ellipse at 15% 110%, #d8f4ed 0 10%, transparent 35%),
        radial-gradient(ellipse at 90% 110%, #d9edff 0 13%, transparent 36%),
        linear-gradient(145deg, #fff, #f7fbff) !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-orders-card::after {
    content: "☃️";
    position: absolute;
    right: 18px;
    bottom: 14px;
    font-size: 48px;
    opacity: .9;
    pointer-events: none;
}

/* Summary cards */
body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div {
    background:
        radial-gradient(ellipse at 10% 110%, #d9f5ed 0 12%, transparent 35%),
        linear-gradient(145deg, #fff, #f8fbff) !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div::after {
    position: absolute;
    right: 15px;
    bottom: 12px;
    font-size: 29px;
    pointer-events: none;
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div:nth-child(1)::after {
    content: "❄️";
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div:nth-child(2)::after {
    content: "🎁";
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div:nth-child(3)::after {
    content: "🏠";
}

/* Keep card content above decorations */
body.theme-christmas.christmas-client-dashboard
.christmas-review-grid > div > *,
body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div > * {
    position: relative;
    z-index: 1;
}

/* Mobile adjustments */
@media(max-width: 640px) {
    body.theme-christmas.christmas-client-dashboard
    .christmas-dashboard-root > .p-4 > .grid > div::after {
        font-size: 23px;
    }

    body.theme-christmas.christmas-client-dashboard
    .christmas-review-grid > div:first-child::after,
    body.theme-christmas.christmas-client-dashboard
    .christmas-review-grid > div:last-child::after {
        font-size: 25px;
    }
}

/* ==========================================
   REFERENCE DESIGN - DASHBOARD LAYOUT
   ========================================== */



/* Sales chart: full width */
body.theme-christmas.christmas-client-dashboard
.christmas-sales-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
}

/* Sales chart card */
body.theme-christmas.christmas-client-dashboard
.christmas-sales-card {
    width: 100% !important;
    min-height: 320px;
}

/* Today's Orders: full width */
body.theme-christmas.christmas-client-dashboard
.christmas-orders-card {
    width: 100% !important;
    min-height: 180px;
}

/* Summary cards: individual full-width rows */
body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div {
    width: 100% !important;
    min-height: 95px;
}

/* Review cards */
body.theme-christmas.christmas-client-dashboard
.christmas-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

/* Responsive mobile */
@media(max-width: 640px) {
    body.theme-christmas.christmas-client-dashboard
    .christmas-dashboard-root > .p-4 > .grid,
    body.theme-christmas.christmas-client-dashboard
    .christmas-review-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* ==========================================
   SCAN2BUY - CHRISTMAS VISUAL ENHANCEMENTS
   Preserve existing dashboard grid layouts
   ========================================== */

body.theme-christmas.christmas-client-dashboard #sidebar {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    background:
        radial-gradient(circle, rgba(255,255,255,.45) 1px, transparent 2px),
        linear-gradient(180deg, #850d1c 0%, #a30f24 58%, #650b19 100%) !important;
    background-size: 34px 48px, auto !important;
}

body.theme-christmas.christmas-client-dashboard #sidebar::after {
    content: "🎄";
    position: absolute;
    z-index: 0;
    bottom: 12px;
    left: 8px;
    font-size: clamp(90px, 12vw, 155px);
    line-height: 1;
    opacity: .95;
    pointer-events: none;
    filter: drop-shadow(0 5px 12px rgba(0,0,0,.25));
}

body.theme-christmas.christmas-client-dashboard #sidebar > * {
    position: relative;
    z-index: 1;
}

body.theme-christmas.christmas-client-dashboard #sidebar a {
    color: #fff5e9 !important;
    transition: background .2s ease, transform .2s ease;
}

body.theme-christmas.christmas-client-dashboard #sidebar a[class*="bg-skin-base"] {
    background: linear-gradient(135deg, #159447, #08712f) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

body.theme-christmas.christmas-client-dashboard #sidebar a:hover {
    background-color: rgba(255,255,255,.12) !important;
}

/* KPI cards - keep four columns exactly as existing layout */
body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div {
    min-width: 0;
    background:
        radial-gradient(ellipse at 100% 100%, rgba(218,244,232,.65), transparent 55%),
        linear-gradient(145deg, #fff 0%, #fffaf2 100%) !important;
    border: 1px solid #e8d9bd !important;
    border-radius: 16px !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div::after {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 25px;
    line-height: 1;
    pointer-events: none;
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div:nth-child(1)::after {
    content: "🎅";
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div:nth-child(2)::after {
    content: "🎁";
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div:nth-child(3)::after {
    content: "🎄";
}

body.theme-christmas.christmas-client-dashboard
.christmas-dashboard-root > .p-4 > .grid > div:nth-child(4)::after {
    content: "🔔";
}

/* Rating and reviews - snowy bottom decoration */
body.theme-christmas.christmas-client-dashboard .christmas-review-grid > div {
    background:
        linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 72%, rgba(221,246,239,.9) 100%) !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-review-grid > div:first-child::after {
    content: "🌲  🌲  🎄  🌲";
    position: absolute;
    right: 12px;
    bottom: 8px;
    font-size: 27px;
    opacity: .75;
    pointer-events: none;
}

body.theme-christmas.christmas-client-dashboard
.christmas-review-grid > div:last-child::after {
    content: "🎄";
    position: absolute;
    right: 14px;
    bottom: 12px;
    font-size: 42px;
    opacity: .8;
    pointer-events: none;
}

/* Sales chart and order panels */
body.theme-christmas.christmas-client-dashboard .christmas-sales-card,
body.theme-christmas.christmas-client-dashboard .christmas-orders-card {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fcff 82%, #e2f5f1 100%) !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-sales-card::after {
    content: "🌲  🦌  🛷  🌲";
    position: absolute;
    right: 18px;
    bottom: 8px;
    font-size: 24px;
    opacity: .75;
    pointer-events: none;
}

body.theme-christmas.christmas-client-dashboard
.christmas-orders-card::after {
    content: "⛄";
    position: absolute;
    right: 18px;
    bottom: 12px;
    font-size: 42px;
    opacity: .8;
    pointer-events: none;
}

/* Payment and top-selling panels */
body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div {
    background:
        linear-gradient(180deg, #fff 0%, #f8fcff 78%, #e3f5ef 100%) !important;
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div:nth-child(1)::after {
    content: "❄️";
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div:nth-child(2)::after {
    content: "🎁";
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div:nth-child(3)::after {
    content: "🏠";
}

body.theme-christmas.christmas-client-dashboard
.christmas-summary-grid > div::after {
    position: absolute;
    right: 16px;
    bottom: 12px;
    font-size: 27px;
    pointer-events: none;
}

