﻿/* ==========================================
   PREMIUM CUSTOM SCROLLBARS
   ========================================== */
/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #F97316 0%, #F97316 50%, #f43f5e 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #E55A00 0%, #F97316 50%, #e11d48 100%);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #F97316 transparent;
}

/* ==========================================
   ROOT
   ========================================== */
:root {
    --sc-primary: #F97316;
    --sc-secondary: #FB923C;
    --sc-accent: #F59E0B;
    --sc-neon-blue: #FB923C;
    --sc-neon-teal: #F59E0B;
    --sc-text: #1E293B;
    --sc-text-muted: #64748B;
    --sc-card: rgba(255, 255, 255, 0.95);
    --sc-card-hover: #ffffff;
    --sc-glass-border: rgba(255, 255, 255, 0.8);
    --sc-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    --sc-shadow-hover: 0 10px 30px rgba(249, 115, 22, 0.1);
    --sc-glow-sm: 0 0 12px rgba(249, 115, 22, 0.1);
    --sc-glow-md: 0 0 25px rgba(249, 115, 22, 0.15);
    --sc-tech-purple: #7B5CFF;
}

/* ==========================================
   BODY
   ========================================== */
body.salecore-theme {
    margin: 0 !important;
    background: transparent !important;
    /* Make body transparent to show z-index: -100 elements */
    font-family: 'Exo 2', 'Montserrat', -apple-system, sans-serif !important;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden !important;
    /* Strictly prevents horizontal scrollbars */
}

/* New Background Layering System */
.sc-bg-layers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    /* Deep background layer */
    pointer-events: none;
    overflow: hidden;
}


.sc-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    z-index: -10;
    /* Bottom-most layer */
}


.salecore-theme .layout-wrapper {
    background: transparent !important;
}

.salecore-theme .layout-page {
    background: transparent !important;
}

.salecore-theme .content-wrapper {
    background: transparent !important;
    position: relative;
}

/* ==========================================
   BACKGROUND
   ========================================== */
.salecore-bg-elements {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.salecore-bg-elements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 50px 50px;
    animation: none !important; /* Disabled for Light Mode */
}

.dark-style .salecore-bg-elements::before {
    animation: scGridPulse 10s ease-in-out infinite !important;
}

@keyframes scGridPulse {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.75;
    }
}

.salecore-bg-elements::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(249, 115, 22, 0.5);
    border-radius: 50%;
    top: 20%;
    left: 40%;
    box-shadow:
        80px 120px 0 0 rgba(249, 115, 22, 0.25),
        200px -50px 0 1px rgba(249, 115, 22, 0.3),
        -120px 200px 0 0 rgba(249, 115, 22, 0.25),
        350px 100px 0 1px rgba(249, 115, 22, 0.2),
        -250px -80px 0 0 rgba(249, 115, 22, 0.2),
        150px 280px 0 1px rgba(249, 115, 22, 0.15),
        -180px 60px 0 0 rgba(249, 115, 22, 0.15),
        420px -120px 0 0 rgba(249, 115, 22, 0.12);
    animation: none !important; /* Disabled for Light Mode */
}

.dark-style .salecore-bg-elements::after {
    animation: scStarTwinkle 5s ease-in-out infinite !important;
}

@keyframes scStarTwinkle {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.8);
    }
}

.salecore-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.3;
    animation: none !important; /* Disabled for Light Mode */
}

.dark-style .salecore-blob {
    animation: scFloat 22s ease-in-out infinite !important;
}

.salecore-blob.blob-1 {
    top: 5%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.3) 0%, transparent 70%);
}

.salecore-blob.blob-2 {
    bottom: 5%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, transparent 70%);
    animation-delay: -11s;
}

@keyframes scFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(35px, -25px) scale(1.08);
    }

    66% {
        transform: translate(-25px, 18px) scale(0.92);
    }
}

/* ==========================================
   FERNS & PURPLE FLOWERS - ANIMATIONS
   ==========================================​ */
.sc-realistic-flower,
.sc-purple-flower {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    animation: scFadeInFloat 2s ease-out forwards;
}

/* Папоротники - позиционирование */
.sc-realistic-flower-1 {
    top: 15%;
    right: 8%;
    animation-delay: 0.5s;
    animation-name: scFadeInFloat, scGentSway;
    animation-duration: 2s, 8s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
}

.sc-realistic-flower-2 {
    bottom: 18%;
    left: 6%;
    animation-delay: 1s;
    animation-name: scFadeInFloat, scGentleSway;
    animation-duration: 2s, 10s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
    animation-delay: 1s, 1s;
}

.sc-realistic-flower-3 {
    top: 45%;
    left: 2%;
    animation-delay: 1.5s;
    animation-name: scFadeInFloat, scGentleSway;
    animation-duration: 2s, 12s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
    animation-delay: 1.5s, 1.5s;
}

/* Фиолетовые цветы - позиционирование */
.sc-purple-flower-1 {
    top: 12%;
    left: 12%;
    animation-delay: 2s;
    animation-name: scFadeInFloat, scGentleSway2;
    animation-duration: 2s, 9s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
    animation-delay: 2s, 2s;
}

.sc-purple-flower-2 {
    bottom: 25%;
    right: 15%;
    animation-delay: 2.5s;
    animation-name: scFadeInFloat, scGentleSway2;
    animation-duration: 2s, 11s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
    animation-delay: 2.5s, 2.5s;
}

.sc-purple-flower-3 {
    top: 60%;
    right: 5%;
    animation-delay: 3s;
    animation-name: scFadeInFloat, scGentleSway2;
    animation-duration: 2s, 10s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
    animation-delay: 3s, 3s;
}

/* Анимации */
@keyframes scFadeInFloat {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    100% {
        opacity: 0.85;
        transform: translateY(0) scale(1);
    }
}

@keyframes scGentleSway {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    25% {
        transform: translateX(8px) rotate(2deg);
    }

    75% {
        transform: translateX(-8px) rotate(-2deg);
    }
}

@keyframes scGentleSway2 {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    30% {
        transform: translateX(-6px) rotate(-1.5deg);
    }

    70% {
        transform: translateX(6px) rotate(1.5deg);
    }
}

/* ==========================================
   DUAL CYBER TREES (Left & Right)
   ========================================== */
.sc-cyber-tree-left,
.sc-cyber-tree-right {
    position: fixed;
    bottom: 0;
    z-index: -1;
    /* Layer -1: Above Background Gradient, but below ALL content */
    pointer-events: none;
    opacity: 0.7;
    /* Further reduced opacity as requested */
}


.sc-cyber-tree-left {
    left: -50px;
}

.sc-cyber-tree-right {
    right: -50px;
}

.sc-cyber-tree-left svg,
.sc-cyber-tree-right svg {
    overflow: visible;
    width: 35vw;
    /* Reduced from 50vw (approx 30% smaller) */
    max-width: 650px;
    /* Adjusted max-width */
    height: auto;
}



/* Анимация стволов */
.sc-tree-sway-complex-l {
    transform-origin: bottom left;
    animation: scCyberSwayL 10s ease-in-out infinite;
}

.sc-tree-sway-complex-r {
    transform-origin: bottom right;
    animation: scCyberSwayR 11s ease-in-out infinite;
}

/* Анимация листвы */
.sc-leaves-l g,
.sc-leaves-r g {
    animation: scCyberPulse 4s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes scFadeInCyberTree {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scCyberSwayL {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(1.5deg);
    }
}

@keyframes scCyberSwayR {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-1.5deg);
    }
}

@keyframes scCyberPulse {
    0% {
        filter: brightness(1) blur(0px);
    }

    100% {
        filter: brightness(1.3) blur(0.5px);
    }
}


/* ==========================================
   SIDEBAR: Futurism (ABSOLUTE PERMANENT STATIC BEVEL)
   ========================================== */
body.salecore-theme #layout-menu,
body.salecore-theme .bg-menu-theme,
body.salecore-theme .layout-menu {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 245, 255, 0.92) 100%) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    box-shadow: 12px 0 50px rgba(249, 115, 22, 0.18) !important;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Absolute Permanent Bevel Removed for straight sidebar */
    border: none !important;
}

/* Sidebar Pseudo-Element (Static Neon Edge) - Absolutely Permanent */
body.salecore-theme #layout-menu::after { display: none !important; }

/* Bevel is now absolute and static by default - No mode/collapsed overrides needed */

.salecore-theme .menu-inner-shadow {
    display: none !important;
}

.salecore-theme .app-brand {
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid rgba(249, 115, 22, 0.08);
}

.salecore-theme .app-brand-logo {
    border-radius: 50% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important; /* Remove any potential square background */
}


.salecore-theme .app-brand-text {
    /* HellFox Fire Brand */
    background: linear-gradient(135deg, #F97316, #EF4444, #FB923C) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    font-family: 'Exo 2', sans-serif !important;
    letter-spacing: 0.06em;
    animation: scHellFoxFlame 3s ease infinite;
}

@keyframes scHellFoxFlame {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

@keyframes scGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.salecore-theme .menu-inner>.menu-item {
    margin: 0 10px;
}

.salecore-theme .menu-link {
    border-radius: 12px !important;
    padding: 0.65rem 1rem !important;
    color: var(--sc-text-muted) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    border: 1px solid transparent;
    overflow: hidden;
    z-index: 1;
    font-family: 'Exo 2', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 300;
    /* Light as requested */
    letter-spacing: 0.02em;
}

/* Эффект свечения при наведении на пункт меню */
.salecore-theme .menu-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
    transition: 0.5s;
    z-index: -1;
}

.salecore-theme .menu-link:hover::after {
    left: 100%;
}

.salecore-theme .menu-link:hover {
    background: rgba(249, 115, 22, 0.08) !important;
    color: #F97316 !important;
    border-color: rgba(249, 115, 22, 0.15) !important;
    box-shadow: none;
}

.salecore-theme .menu-link:hover .menu-icon {
    color: var(--sc-primary) !important;
    /* Без анимаций и сложных эффектов */
    filter: none;
    transform: none;
}

.salecore-theme .menu-inner {
    background: transparent !important;
}

/* Активный пункт меню: Градиентная рамка + Пульс */
.salecore-theme .menu-item.active>.menu-link,
.salecore-theme .menu-item.active>.menu-link:hover {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.05)) !important;
    color: var(--sc-primary) !important;
    font-weight: 600 !important;
    border: 1px solid transparent !important;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.15), inset 0 0 20px rgba(249, 115, 22, 0.05);
    background-clip: padding-box !important;
    position: relative;
}

/* Градиентная рамка через псевдо-элемент */
/* Removed Circle/Border Marker as requested */
.salecore-theme .menu-item.active>.menu-link::before {
    display: none !important;
}

/* Пульсирующая иконка активного элемента */
.salecore-theme .menu-item.active>.menu-link .menu-icon {
    color: var(--sc-primary) !important;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6));
    animation: none !important;
}

/* Убираем мигание колокольчика уведомлений */
i.bx-bell,
.bx-bell,
[class*="bx-bell"],
.bx-flashing,
[class*="bxs-bell"] {
    animation: none !important;
    transition: none !important;
}

.salecore-theme .menu-header {
    color: var(--sc-text-muted) !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    opacity: 0.55;
    margin-top: 0.5rem;
    font-family: 'Exo 2', sans-serif;
    padding-left: 1.5rem;
}

/* Badge Polish */
.salecore-theme .badge {
    background-color: #FB923C !important; /* Purple for Light Mode */
    color: #fff !important;
}

.dark-style .salecore-theme .badge {
    background-color: #F97316 !important; /* Orange for Dark Mode */
    color: #fff !important;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}


/* ==========================================
   NAVBAR: Центрирование + стекло
   ========================================== */
.salecore-theme .layout-navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 245, 255, 0.88) 100%) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(249, 115, 22, 0.1) !important;
    box-shadow: 0 4px 25px rgba(249, 115, 22, 0.08) !important;
}

.salecore-theme .layout-navbar .navbar {
    background: transparent !important;
    padding: 0.5rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 56px !important;
}

.salecore-theme .navbar-detached {
    border-radius: var(--sc-radius) !important;
    margin: 0.5rem auto 0.5rem !important;
    width: 96% !important;
    border: 1px solid rgba(249, 115, 22, 0.08) !important;
}

/* Правые элементы навбара — идеально по центру */
.salecore-theme .navbar-nav-right {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.salecore-theme .navbar-nav-right>.navbar-nav {
    display: flex !important;
    align-items: center !important;
}

.salecore-theme .navbar .nav-link {
    color: var(--sc-text-muted) !important;
    transition: all 0.3s ease !important;
    border-radius: 12px !important;
    padding: 0.6rem 0.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    border: 1px solid transparent;
}

.salecore-theme .navbar .nav-link:hover {
    background: rgba(249, 115, 22, 0.08) !important;
    color: var(--sc-primary) !important;
    border-color: rgba(249, 115, 22, 0.12) !important;
    transform: translateY(-1px);
    box-shadow: var(--sc-glow-sm);
}

.salecore-theme .navbar .nav-link i {
    font-size: 1.3rem;
    line-height: 1;
    vertical-align: middle;
}

.salecore-theme .navbar .avatar {
    border: 2px solid rgba(249, 115, 22, 0.18) !important;
    box-shadow: 0 2px 12px rgba(249, 115, 22, 0.12) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

.salecore-theme .navbar .avatar:hover {
    border-color: var(--sc-primary) !important;
    box-shadow: var(--sc-glow-md) !important;
    transform: scale(1.08);
}

.salecore-theme .dropdown-menu {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(249, 115, 22, 0.1) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.12) !important;
}

.salecore-theme .dropdown-item {
    border-radius: 10px !important;
    margin: 2px 6px !important;
    transition: all 0.25s ease !important;
}

.salecore-theme .dropdown-item:hover {
    background: rgba(249, 115, 22, 0.08) !important;
    color: var(--sc-primary) !important;
}

/* ==========================================
   КАРТОЧКИ МЕТРИК: Ultra Futuristic
   ========================================== */
.sc-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.sc-metric-card {
    background: var(--sc-card);
    backdrop-filter: blur(20px);
    border-radius: var(--sc-radius);
    padding: 0.75rem 1.15rem;
    box-shadow: var(--sc-shadow);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* Эффект "Голографического стекла" при наведении */
.sc-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.7s ease;
    z-index: -1;
    transform: skewX(-25deg);
}

.sc-metric-card:hover::before {
    left: 150%;
}

/* Анимированная неоновая рамка */
.sc-metric-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sc-radius);
    padding: 2px;
    background: linear-gradient(45deg, transparent, #F97316, #F97316, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.sc-metric-card:hover::after {
    opacity: 1;
    background: linear-gradient(45deg, #F97316, #F59E0B, #FB923C, #FB923C);
    background-size: 300% 300%;
    /* animation убрана для производительности */
}

.sc-metric-card:hover {
    /* transform, box-shadow убраны для производительности */
    border-color: transparent;
}

@keyframes scBorderFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sc-metric-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.sc-metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sc-metric-card:hover .sc-metric-icon {
    /* transform и box-shadow убраны для производительности */
}

.mc-indigo .sc-metric-icon {
    background: linear-gradient(135deg, #F97316, #FB923C);
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

.mc-purple .sc-metric-icon {
    background: linear-gradient(135deg, #FB923C, #FBB97B);
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

.mc-cyan .sc-metric-icon {
    background: linear-gradient(135deg, #F97316, #FB923C);
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

.mc-green .sc-metric-icon {
    background: linear-gradient(135deg, #F97316, #FB923C);
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

.mc-target .sc-metric-icon {
    background: linear-gradient(135deg, #F97316, #FB923C);
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

.sc-metric-label {
    font-size: 0.8rem;
    color: var(--sc-text-muted);
    font-weight: 500;
    margin: 0;
}

.sc-metric-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--sc-text);
    margin: auto 0 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-family: 'Exo 2', sans-serif;
    transition: all 0.3s ease;
}

.sc-metric-card:hover .sc-metric-value {
    /* Градиент, transform и тени убраны для производительности */
}

.sc-metric-change {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #F97316;
    margin-top: 0.5rem;
    background: rgba(249, 115, 22, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    border: 1px solid rgba(249, 115, 22, 0.15);
}

/* Active deals widget currency row */
.sc-active-deals-currencies {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 0.85rem;
    margin: 0 0 0.25rem;
    padding-left: 0;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    position: relative;
    z-index: 2;
}

.sc-active-deals-amount {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.12rem;
    line-height: 1;
    font-weight: 700;
    color: var(--sc-text);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.sc-active-deals-divider {
    width: 2px;
    height: 20px;
    border-radius: 10px;
    background: linear-gradient(180deg, #f97316 0%, #fb923c 100%);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.35);
}

@media (max-width: 576px) {
    .sc-active-deals-currencies {
        gap: 0.6rem;
        justify-content: flex-start;
    }

    .sc-active-deals-amount {
        font-size: 1rem;
    }
}

/* ==========================================
   PIPELINE: Tech Style
   ========================================== */
.sc-pipeline {
    background: var(--sc-card);
    backdrop-filter: blur(20px);
    border-radius: var(--sc-radius);
    padding: 1.25rem;
    box-shadow: var(--sc-shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.sc-pipeline:hover {
    /* box-shadow убран для производительности */
    border-color: rgba(249, 115, 22, 0.3);
}

.sc-pipeline-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.sc-pipeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sc-text);
    margin: 0;
    font-family: 'Exo 2', sans-serif;
}

.sc-pipeline-year {
    font-size: 0.8rem;
    color: var(--sc-primary);
    font-weight: 400;
    font-family: 'Exo 2', sans-serif;
    padding: 2px 10px;
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 20px;
    background: rgba(249, 115, 22, 0.05);
}

.sc-stages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sc-stage {
    padding: 1.25rem;
    border-radius: 14px;
    color: white;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Жидкий градиент на фоне */
.sc-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
    z-index: -1;
}

.sc-stage:hover::before {
    opacity: 1;
    transform: scale(1);
}

.sc-stage:hover {
    /* transform и z-index убраны для производительности */
}

.sc-stage.st-new:hover {
    /* box-shadow убран для производительности */
}

.sc-stage.st-qualified:hover {
    /* box-shadow убран для производительности */
}

.sc-stage.st-proposal:hover {
    /* box-shadow убран для производительности */
}

.sc-stage.st-closed:hover {
    /* box-shadow убран для производительности */
}

.sc-stage.st-new {
    background: linear-gradient(135deg, #F97316, #FB923C);
}

.sc-stage.st-qualified {
    background: linear-gradient(135deg, #FB923C, #FBB97B);
}

.sc-stage.st-proposal {
    background: linear-gradient(135deg, #F97316, #FB923C);
}

.sc-stage.st-closed {
    background: linear-gradient(135deg, #F97316, #FB923C);
}

.sc-stage-label {
    font-size: 0.72rem;
    opacity: 0.9;
    margin-bottom: 0.35rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.sc-stage-num {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.15rem;
    font-family: 'Exo 2', sans-serif;
}

.sc-stage-amount {
    font-size: 0.82rem;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

.sc-stage-detail {
    font-size: 0.7rem;
    opacity: 0.75;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ==========================================
   НИЖНЯЯ СЕКЦИЯ: Active Cards
   ========================================== */
.sc-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sc-card {
    background: var(--sc-card);
    backdrop-filter: blur(20px);
    border-radius: var(--sc-radius);
    padding: 1rem;
    box-shadow: var(--sc-shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Сканирующая линия */
.sc-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(249, 115, 22, 0.1), transparent);
    transition: none;
    pointer-events: none;
}

.sc-card:hover::after {
    animation: scScanline 1.5s linear infinite;
}

@keyframes scScanline {
    0% {
        top: -100%;
    }

    100% {
        top: 200%;
    }
}

.sc-card:hover {
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateY(-4px);
}

.sc-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sc-text);
    margin: 0 0 1.25rem 0;
    font-family: 'Exo 2', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sc-card-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 16px;
    background: var(--sc-primary);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--sc-primary);
}

.sc-target-widget {
    min-height: 230px;
}

.sc-target-widget > * {
    position: relative;
    z-index: 2;
}

.sc-target-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.sc-target-widget-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.sc-target-widget-title .sc-card-title {
    margin: 0;
}

.sc-target-widget-title .sc-card-title::before {
    display: none;
}

.sc-target-widget-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, #F97316, #FB923C);
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

.sc-target-widget-icon i {
    font-size: 1.2rem;
}

.sc-target-period {
    color: var(--sc-text-muted);
    font-size: 0.75rem;
    line-height: 1;
    white-space: nowrap;
}

.sc-target-widget-body {
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sc-target-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    padding: 0.9rem 0.85rem;
    border: 1px solid rgba(249, 115, 22, 0.14);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(251, 146, 60, 0.03));
}

.sc-target-hero-label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--sc-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.sc-target-hero strong {
    display: block;
    color: var(--sc-text);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.sc-target-hero-percent {
    min-width: 58px;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    background: #F97316;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.22);
}

.sc-target-plan-list {
    display: grid;
    gap: 0.75rem;
}

.sc-target-plan-row {
    display: grid;
    gap: 0.55rem;
    min-height: 64px;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(249, 115, 22, 0.08);
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.035);
    color: var(--sc-text-muted);
    line-height: 1.2;
}

.sc-target-plan-row-primary {
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.16);
}

.sc-target-plan-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.sc-target-plan-label {
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.sc-target-plan-value {
    color: var(--sc-text);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    white-space: nowrap;
}

.sc-target-plan-row-primary .sc-target-plan-value {
    font-size: 1.35rem;
}

.sc-target-progress {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.11);
}

.sc-target-progress span {
    display: block;
    height: 100%;
    min-width: 6px;
    border-radius: inherit;
    background: linear-gradient(90deg, #F97316, #FB923C);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.28);
}

.sc-target-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 0.55rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: 20px;
    background: rgba(249, 115, 22, 0.08);
    color: #F97316;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.sc-target-celebration {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.6rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(251, 146, 60, 0.04));
    color: var(--sc-text);
}

.sc-target-celebration i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #F97316, #FB923C);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2);
}

.sc-target-celebration strong {
    display: block;
    color: #F97316;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.sc-target-celebration span {
    display: block;
    margin-top: 0.15rem;
    color: var(--sc-text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.25;
}

/* Donut */
.sc-donut-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sc-donut {
    width: 200px; /* Slightly larger */
    height: 200px;
    border-radius: 50%;
    background: #e2e8f0; /* Neutral fallback */
    position: relative;
    margin-bottom: 0.75rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
}

.dark-style .salecore-theme .sc-donut {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.25), inset 0 0 20px rgba(0, 0, 0, 0.3);
}


.sc-donut:hover {
    transform: scale(1.05);
}

.sc-donut-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 135px; /* Proportional to 200px outer */
    height: 135px;
    background: #ffffff; /* Default for Light Mode */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 5;
}

.dark-style .salecore-theme .sc-donut-hole {
    background: #111827 !important; /* Proper dark hole background */
    box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.6);
}


.sc-donut-hole strong {
    font-size: 1.6rem;
    color: var(--sc-text) !important;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    line-height: 1;
}

.sc-donut-hole small {
    font-size: 0.75rem;
    color: var(--sc-text-muted) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}


.sc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.sc-legend-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: var(--sc-text-muted);
}

.sc-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Leads statuses widget tweaks */
.sc-leads-status-widget .sc-donut-wrapper {
    padding-top: 6px;
}

.sc-leads-status-widget .sc-donut {
    position: relative;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sc-leads-status-widget .sc-donut::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(249, 115, 22, 0.55);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.12);
    pointer-events: none;
}

.sc-leads-status-widget .sc-donut:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(15, 23, 42, 0.14);
}

.sc-leads-status-widget .sc-donut-hole {
    box-shadow: inset 0 0 0 1px rgba(223, 227, 238, 0.95);
    background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f5f7fb 100%);
}

.sc-leads-status-widget .sc-legend-item {
    align-items: center;
    gap: 4px;
}

.sc-leads-status-widget .sc-legend-percent {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Deals */
.sc-deal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(249, 115, 22, 0.06);
    transition: all 0.25s ease;
}

.sc-deal:last-child {
    border-bottom: none;
}

.sc-deal:hover {
    padding-left: 0.5rem;
}

.sc-deal-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.sc-deal-info {
    flex: 1;
}

.sc-deal-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sc-text);
}

.sc-deal-amount {
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.sc-deal-bar {
    width: 100%;
    height: 5px;
    background: rgba(249, 115, 22, 0.08);
    border-radius: 3px;
    margin-top: 0.35rem;
    overflow: hidden;
}

.sc-deal-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-out;
}

/* Tasks */
.sc-task {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: rgba(249, 115, 22, 0.04);
    border: 1px solid rgba(249, 115, 22, 0.06);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sc-task:hover {
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.12);
    transform: translateX(4px);
    box-shadow: var(--sc-glow-sm);
}

.sc-task-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.sc-task-content {
    flex: 1;
}

.sc-task-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sc-text);
}

.sc-task-time {
    font-size: 0.7rem;
    color: var(--sc-text-muted);
}

.sc-task-arrow {
    color: var(--sc-text-muted);
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.sc-task:hover .sc-task-arrow {
    transform: translateX(3px);
    color: var(--sc-primary);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes scFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sc-animate {
    animation: scFadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.sc-delay-1 {
    animation-delay: 0.05s;
}

.sc-delay-2 {
    animation-delay: 0.1s;
}

.sc-delay-3 {
    animation-delay: 0.15s;
}

.sc-delay-4 {
    animation-delay: 0.2s;
}

.sc-delay-5 {
    animation-delay: 0.3s;
}

.sc-delay-6 {
    animation-delay: 0.4s;
}

/* ==========================================
   ЛИСТОЧКИ: 20 штук с разными позициями
   ========================================== */
.sc-leaf {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.sc-leaf-1 {
    top: 4%;
    left: 8%;
    animation: scLeafA 18s ease-in-out infinite;
}

.sc-leaf-2 {
    top: 12%;
    right: 5%;
    animation: scLeafB 22s ease-in-out infinite;
    animation-delay: -3s;
}

.sc-leaf-3 {
    bottom: 30%;
    left: 3%;
    animation: scLeafC 20s ease-in-out infinite;
    animation-delay: -6s;
}

.sc-leaf-4 {
    top: 55%;
    right: 10%;
    animation: scLeafA 25s ease-in-out infinite;
    animation-delay: -10s;
}

.sc-leaf-5 {
    top: 38%;
    left: 15%;
    animation: scLeafB 19s ease-in-out infinite;
    animation-delay: -2s;
}

.sc-leaf-6 {
    bottom: 15%;
    right: 20%;
    animation: scLeafC 23s ease-in-out infinite;
    animation-delay: -14s;
}

.sc-leaf-7 {
    top: 30%;
    left: 6%;
    animation: scLeafA 21s ease-in-out infinite;
    animation-delay: -5s;
}

.sc-leaf-8 {
    bottom: 42%;
    right: 15%;
    animation: scLeafB 24s ease-in-out infinite;
    animation-delay: -9s;
}

.sc-leaf-9 {
    top: 18%;
    left: 22%;
    animation: scLeafC 17s ease-in-out infinite;
    animation-delay: -3s;
}

.sc-leaf-10 {
    bottom: 22%;
    right: 7%;
    animation: scLeafA 26s ease-in-out infinite;
    animation-delay: -11s;
}

.sc-leaf-11 {
    top: 8%;
    left: 35%;
    animation: scLeafB 20s ease-in-out infinite;
    animation-delay: -7s;
}

.sc-leaf-12 {
    top: 65%;
    left: 2%;
    animation: scLeafC 22s ease-in-out infinite;
    animation-delay: -4s;
}

.sc-leaf-13 {
    bottom: 8%;
    left: 12%;
    animation: scLeafA 19s ease-in-out infinite;
    animation-delay: -13s;
}

.sc-leaf-14 {
    top: 45%;
    right: 3%;
    animation: scLeafB 21s ease-in-out infinite;
    animation-delay: -8s;
}

.sc-leaf-15 {
    top: 75%;
    left: 20%;
    animation: scLeafC 24s ease-in-out infinite;
    animation-delay: -1s;
}

.sc-leaf-16 {
    top: 25%;
    right: 25%;
    animation: scLeafA 18s ease-in-out infinite;
    animation-delay: -16s;
}

.sc-leaf-17 {
    bottom: 35%;
    left: 28%;
    animation: scLeafB 23s ease-in-out infinite;
    animation-delay: -6s;
}

.sc-leaf-18 {
    top: 50%;
    left: 40%;
    animation: scLeafC 20s ease-in-out infinite;
    animation-delay: -12s;
}

.sc-leaf-19 {
    bottom: 5%;
    right: 30%;
    animation: scLeafA 22s ease-in-out infinite;
    animation-delay: -9s;
}

.sc-leaf-20 {
    top: 3%;
    right: 18%;
    animation: scLeafB 25s ease-in-out infinite;
    animation-delay: -15s;
}

@keyframes scLeafA {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }

    20% {
        transform: translate(30px, -25px) rotate(35deg);
        opacity: 0.8;
    }

    40% {
        transform: translate(-15px, -55px) rotate(80deg);
        opacity: 0.5;
    }

    60% {
        transform: translate(25px, -35px) rotate(120deg);
        opacity: 0.7;
    }

    80% {
        transform: translate(-10px, -15px) rotate(170deg);
        opacity: 0.55;
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
        opacity: 0.6;
    }
}

@keyframes scLeafB {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.5;
    }

    25% {
        transform: translate(-40px, 25px) rotate(-50deg) scale(1.1);
        opacity: 0.7;
    }

    50% {
        transform: translate(25px, -35px) rotate(50deg) scale(0.9);
        opacity: 0.4;
    }

    75% {
        transform: translate(-30px, 15px) rotate(-20deg) scale(1.05);
        opacity: 0.65;
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.5;
    }
}

@keyframes scLeafC {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.55;
    }

    30% {
        transform: translate(50px, -40px) rotate(160deg) scale(1.08);
        opacity: 0.35;
    }

    60% {
        transform: translate(-30px, 20px) rotate(250deg) scale(0.95);
        opacity: 0.7;
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        opacity: 0.55;
    }
}

/* ==========================================
   РЕАЛИСТИЧНЫЕ ПАПОРОТНИКИ
   ========================================== */
.sc-realistic-flower {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 6px 18px rgba(249, 115, 22, 0.2));
    animation: scFernSway 10s ease-in-out infinite;
}

.sc-realistic-flower-1 {
    bottom: 5%;
    right: 6%;
    animation-delay: 0s;
}

.sc-realistic-flower-2 {
    top: 15%;
    right: 8%;
    animation-delay: -3.5s;
}

.sc-realistic-flower-3 {
    bottom: 40%;
    right: 3%;
    animation-delay: -7s;
}

@keyframes scFernSway {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    25% {
        transform: translateX(-4px) rotate(-1.5deg);
    }

    50% {
        transform: translateX(4px) rotate(1deg);
    }

    75% {
        transform: translateX(-3px) rotate(-0.5deg);
    }
}

.sc-realistic-flower:hover {
    filter: drop-shadow(0 8px 24px rgba(249, 115, 22, 0.35));
    animation-play-state: paused;
}

/* ==========================================
   ФУТУРИСТИЧНЫЕ КНОПКИ И БЛОКИ
   ========================================== */

/* Базовые стили для всех кнопок */
.salecore-theme .btn,
.salecore-theme button:not(.btn-close),
.salecore-theme [type="submit"],
.salecore-theme [type="button"] {
    position: relative;
    border-radius: 12px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 1;
    text-transform: none;
    letter-spacing: 0.3px;
}

/* Эффект свечения при наведении */
.salecore-theme .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.salecore-theme .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Primary кнопка (основная) */
.salecore-theme .btn-primary {
    background: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.salecore-theme .btn-primary:hover {
    background: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
    box-shadow:
        0 8px 25px rgba(249, 115, 22, 0.5),
        0 0 30px rgba(249, 115, 22, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.salecore-theme .btn-primary:active {
    transform: translateY(0);
}

/* Success кнопка (зеленая) */
.salecore-theme .btn-success {
    background: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.salecore-theme .btn-success:hover {
    background: linear-gradient(135deg, #EA580C 0%, #F59E0B 100%);
    box-shadow:
        0 8px 25px rgba(249, 115, 22, 0.5),
        0 0 30px rgba(249, 115, 22, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Danger кнопка (красная) */
.salecore-theme .btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.salecore-theme .btn-danger:hover {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    box-shadow:
        0 8px 25px rgba(239, 68, 68, 0.5),
        0 0 30px rgba(220, 38, 38, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Warning кнопка (оранжевая) */
.salecore-theme .btn-warning {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.salecore-theme .btn-warning:hover {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    box-shadow:
        0 8px 25px rgba(245, 158, 11, 0.5),
        0 0 30px rgba(251, 191, 36, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Outline кнопки */
.salecore-theme .btn-outline-primary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #F97316;
    border: 2px solid #F97316;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.1);
}

.salecore-theme .btn-outline-primary:hover {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.15) 100%);
    border-color: #FB923C;
    color: #FB923C;
    box-shadow:
        0 8px 25px rgba(249, 115, 22, 0.25),
        0 0 20px rgba(249, 115, 22, 0.3),
        inset 0 0 20px rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
}

/* Secondary кнопка */
.salecore-theme .btn-secondary {
    background: rgba(100, 116, 139, 0.15);
    backdrop-filter: blur(10px);
    color: #475569;
    border: 2px solid rgba(100, 116, 139, 0.3);
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.1);
}

.salecore-theme .btn-secondary:hover {
    background: rgba(100, 116, 139, 0.25);
    border-color: rgba(100, 116, 139, 0.5);
    color: #334155;
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.2);
    transform: translateY(-2px);
}

/* Футуристичные карточки/блоки */
.salecore-theme .card,
.salecore-theme .table-responsive,
.salecore-theme .card-body {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow:
        0 8px 32px rgba(249, 115, 22, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.4s ease !important;
}

.salecore-theme .card:hover {
    box-shadow:
        0 12px 40px rgba(249, 115, 22, 0.15),
        0 0 30px rgba(249, 115, 22, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.3) !important;
}

/* Input поля */
.salecore-theme input[type="text"],
.salecore-theme input[type="email"],
.salecore-theme input[type="password"],
.salecore-theme input[type="tel"],
.salecore-theme input[type="search"],
.salecore-theme select,
.salecore-theme textarea,
.salecore-theme .form-control {
    background-color: #f1f5f9;
    /* Slightly darker than white for contrast */
    backdrop-filter: none !important;
    border: 1px solid #cbd5e1 !important;
    /* Visible grey border */
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.2s ease !important;
    color: #334155 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.salecore-theme input:focus,
.salecore-theme select:focus,
.salecore-theme textarea:focus,
.salecore-theme .form-control:focus {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: #F97316 !important;
    box-shadow:
        0 4px 20px rgba(249, 115, 22, 0.15),
        0 0 0 4px rgba(249, 115, 22, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    outline: none !important;
}

/* Таблицы */
.salecore-theme .table {
    background: transparent !important;
}

.salecore-theme .table thead th {
    background: rgba(249, 115, 22, 0.08) !important;
    border-bottom: 2px solid rgba(249, 115, 22, 0.2) !important;
    color: #1E293B !important;
    font-weight: 700 !important;
    padding: 1rem !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.salecore-theme .table tbody tr {
    transition: all 0.3s ease !important;
}

.salecore-theme .table tbody tr:hover {
    background: rgba(249, 115, 22, 0.05) !important;
    transform: scale(1.005);
}

.salecore-theme .table tbody td {
    padding: 0.95rem 1rem !important;
    border-bottom: 1px solid rgba(249, 115, 22, 0.08) !important;
    color: #475569 !important;
}

/* ========================================== */

/* ==========================================
   RESPONSIVE: Полная адаптивность
   ========================================== */

/* Планшет */
@media (max-width: 1200px) {
    .sc-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .sc-stages {
        grid-template-columns: repeat(2, 1fr);
    }

    .sc-bottom-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Мобильный — средний */
@media (max-width: 991px) {
    .salecore-theme .layout-navbar .navbar {
        padding: 0.4rem 1rem !important;
    }

    .salecore-theme .navbar-detached {
        margin: 0.5rem 0.5rem !important;
    }

    .sc-pipeline {
        padding: 1.25rem;
    }

    .sc-stages {
        gap: 0.75rem;
    }

    .sc-stage {
        padding: 1rem;
    }

    .sc-stage-num {
        font-size: 1.6rem;
    }

    .sc-bottom-row {
        grid-template-columns: 1fr;
    }
}

/* Мобильный — маленький */
@media (max-width: 768px) {
    .sc-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .sc-stages {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .sc-bottom-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .salecore-theme .layout-navbar .navbar {
        padding: 0.35rem 0.75rem !important;
    }

    .sc-metric-card {
        padding: 1.15rem;
    }

    .sc-metric-value {
        font-size: 1.5rem;
    }

    .sc-metric-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .sc-pipeline {
        padding: 1rem;
    }

    .sc-pipeline-title {
        font-size: 1rem;
    }

    .sc-card {
        padding: 1.15rem;
    }

    .sc-donut {
        width: 150px;
        height: 150px;
    }

    .sc-donut-hole {
        width: 90px;
        height: 90px;
    }

    .salecore-blob {
        display: none;
    }

    /* Скрываем часть листочков и цветов на мобильном */
    .sc-leaf-31,
    .sc-leaf-32,
    .sc-leaf-33,
    .sc-leaf-34,
    .sc-leaf-35,
    .sc-leaf-36,
    .sc-leaf-37,
    .sc-leaf-38,
    .sc-leaf-39,
    .sc-leaf-40,
    .sc-leaf-41,
    .sc-leaf-42,
    .sc-leaf-43,
    .sc-leaf-44,
    .sc-leaf-45,
    .sc-leaf-46,
    .sc-leaf-47,
    .sc-leaf-48,
    .sc-leaf-49,
    .sc-leaf-50,
    .sc-leaf-51,
    .sc-leaf-52,
    .sc-leaf-53,
    .sc-leaf-54,
    .sc-leaf-55,
    .sc-leaf-56,
    .sc-leaf-57,
    .sc-leaf-58,
    .sc-leaf-59,
    .sc-leaf-60 {
        display: none;
    }

    .sc-realistic-flower {
        opacity: 0.5;
    }

    .sc-realistic-flower-1 img {
        width: 120px;
        height: 120px;
    }

    .sc-realistic-flower-2 img {
        width: 90px;
        height: 90px;
    }

    .sc-realistic-flower-3 {
        display: none;
    }

    .sc-purple-flower {
        opacity: 0.4;
    }

    .sc-purple-flower-3 {
        display: none;
    }
}

/* Очень маленький мобильный */
@media (max-width: 480px) {
    .sc-metrics {
        gap: 0.5rem;
    }

    .sc-metric-card {
        padding: 1rem;
    }

    .sc-metric-value {
        font-size: 1.3rem;
    }

    .sc-metric-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .sc-stage {
        padding: 0.85rem;
    }

    .sc-stage-num {
        font-size: 1.3rem;
    }

    .sc-stage-amount {
        font-size: 0.72rem;
    }

    .sc-card-title {
        font-size: 0.9rem;
    }

    .sc-leaf-11,
    .sc-leaf-12,
    .sc-leaf-13,
    .sc-leaf-14,
    .sc-leaf-15,
    .sc-leaf-16,
    .sc-leaf-17,
    .sc-leaf-18,
    .sc-leaf-19,
    .sc-leaf-20,
    .sc-leaf-21,
    .sc-leaf-22,
    .sc-leaf-23,
    .sc-leaf-24,
    .sc-leaf-25,
    .sc-leaf-26,
    .sc-leaf-27,
    .sc-leaf-28,
    .sc-leaf-29,
    .sc-leaf-30,
    .sc-leaf-31,
    .sc-leaf-32,
    .sc-leaf-33,
    .sc-leaf-34,
    .sc-leaf-35,
    .sc-leaf-36,
    .sc-leaf-37,
    .sc-leaf-38,
    .sc-leaf-39,
    .sc-leaf-40,
    .sc-leaf-41,
    .sc-leaf-42,
    .sc-leaf-43,
    .sc-leaf-44,
    .sc-leaf-45,
    .sc-leaf-46,
    .sc-leaf-47,
    .sc-leaf-48,
    .sc-leaf-49,
    .sc-leaf-50,
    .sc-leaf-51,
    .sc-leaf-52,
    .sc-leaf-53,
    .sc-leaf-54,
    .sc-leaf-55,
    .sc-leaf-56,
    .sc-leaf-57,
    .sc-leaf-58,
    .sc-leaf-59,
    .sc-leaf-60 {
        display: none;
    }

    .sc-realistic-flower {
        display: none;
    }

    .sc-purple-flower {
        display: none;
    }
}

/* ==========================================
   MODERN LIST VIEW (CRUD)
   ========================================== */
.sc-list-card {
    background: rgba(30, 30, 45, 0.98);
    /* Deep dark background */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}



.sc-list-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(249, 115, 22, 0.04) 100%);
    backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 36px;
    position: relative;
    overflow: hidden;
}

/* Luxury Corner Accents */
.sc-list-header::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
    border-top: 2px solid rgba(249, 115, 22, 0.4);
    border-left: 2px solid rgba(249, 115, 22, 0.4);
}

.sc-list-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(249, 115, 22, 0.8) 50%,
            transparent 100%);
    box-shadow: 0 -2px 15px rgba(249, 115, 22, 0.4);
}

.sc-list-title {
    margin: 0;
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(to right, #C2410C 0%, #F97316 40%, #EF4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.6));
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sc-list-title i {
    font-size: 1.8rem;
    color: #F97316;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.8));
}

/* Per-Page Select */
.sc-per-page-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.sc-per-page-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94A3B8;
    -webkit-text-fill-color: #94A3B8;
    text-transform: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    font-family: 'Exo 2', sans-serif;
}

.sc-per-page-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sc-per-page-select-wrap::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 10px;
    height: 7px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='%23F97316' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 10px 7px;
    pointer-events: none;
}

.sc-per-page-select {
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(249, 115, 22, 0.35);
    border-radius: 10px;
    padding: 0.35rem 0.65rem;
    padding-right: 2rem;
    font-size: 0.85rem;
    color: #F97316;
    -webkit-text-fill-color: #F97316;
    font-weight: 700;
    font-family: 'Exo 2', sans-serif;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    min-height: 34px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.08);
}

.sc-per-page-select:hover,
.sc-per-page-select:focus {
    outline: none;
    border-color: #F97316;
    box-shadow: 0 2px 12px rgba(249, 115, 22, 0.15);
}

.sc-per-page-select::-ms-expand {
    display: none;
}

.sc-per-page-select option {
    color: #1E293B;
    -webkit-text-fill-color: #1E293B;
    background: #fff;
}

@media (max-width: 768px) {
    .sc-per-page-wrapper {
        width: 100%;
        margin-top: 8px;
        justify-content: flex-end;
    }
}

.sc-list-content {
    padding: 0;
}

/* Modern Table Styles */
.sc-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.sc-table thead th {
    background: rgba(249, 115, 22, 0.05);
    /* Very subtle purple tint */
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sc-table tbody td {
    padding: 18px 32px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.sc-table tbody tr {
    transition: all 0.2s ease;
}

.sc-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: scale(1.002);
}

.sc-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Action Button */
.sc-table-action-btn {
    color: #334155 !important;
    /* Dark color as requested */
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    /* Added light background for contrast */
}

.sc-table-action-btn:hover {
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
    transform: scale(1.15);
}

/* Dark Glass Dropdown */
.sc-list-card .dropdown-menu {
    z-index: 9999 !important;
    background: rgba(30, 30, 45, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 8px;
}

.sc-list-card .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.sc-list-card .dropdown-item:hover {
    background: rgba(249, 115, 22, 0.15);
    color: #fff;
    transform: translateX(4px);
}

.sc-list-card .dropdown-item i {
    color: rgba(249, 115, 22, 0.8);
}

html:not(.dark-style) .sc-list-card .dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(249, 115, 22, 0.14) !important;
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.12) !important;
}

html:not(.dark-style) .sc-list-card .dropdown-item {
    color: #334155 !important;
    font-weight: 500;
}

html:not(.dark-style) .sc-list-card .dropdown-item:hover {
    background: rgba(249, 115, 22, 0.12) !important;
    color: #F97316 !important;
    transform: none;
}

html:not(.dark-style) .sc-list-card .dropdown-item i {
    color: #F97316 !important;
}

/* Pagination Wrapper */
.sc-pagination-wrapper {
    padding: 32px 0;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}



/* ==========================================
   BEAUTIFUL FOOTER
   ========================================== */
.footer {
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 10px 0 12px;
    margin-top: auto;
    color: #475569;
    /* Darker Slate for contrast */
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.footer .footer-container {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 8px 36px;
    box-shadow:
        0 8px 32px rgba(249, 115, 22, 0.15),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
    min-width: 65%;
    transition: all 0.4s ease;
}

.footer .footer-container:hover {
    box-shadow: 0 12px 48px rgba(249, 115, 22, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.85);
}

.footer-brand {
    font-weight: 800;
    background: linear-gradient(135deg, #F97316, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.2));
}

.footer-links .footer-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b !important;
    position: relative;
    padding: 4px 0;
}

.footer-links .footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #F97316, #F97316);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.footer-links .footer-link:hover {
    color: #1e293b !important;
}

.footer-links .footer-link:hover::after {
    width: 100%;
}

.footer a {
    color: #475569;
    text-decoration: none;
    transition: all 0.3s;
    margin: 0 10px;
    position: relative;
}

.footer a:hover {
    color: #F97316;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

/* Pagination Links */
.page-link {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #f97316;
    margin: 0 4px;
    border-radius: 8px;
    transition: all 0.2s;
}

.page-link:hover {
    background: rgba(249, 115, 22, 0.2);
    color: #fff;
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #F97316 0%, #F97316 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.page-item.disabled .page-link {
    background: transparent;
    border-color: rgba(0, 0, 0, 0.05);
    color: #94a3b8;
}

/* Specific contrast for the "Showing..." text */
.pagination-info,
.text-muted {
    color: #475569 !important;
    font-weight: 500;
}

/* ==========================================
   COMPACT & RESPONSIVE TABLES
   ========================================== */
.sc-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem 1rem;
}

/* Sticky horizontal scrollbar - visible without scrolling down */
@supports (overflow: overlay) {
    .sc-table-responsive {
        overflow: overlay;
    }
}
.sc-table-responsive::-webkit-scrollbar {
    height: 10px;
    position: sticky;
    bottom: 0;
}
.sc-table-responsive::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}
.sc-table-responsive::-webkit-scrollbar-thumb {
    background: rgba(249, 115, 22, 0.4);
    border-radius: 5px;
}
.sc-table-responsive::-webkit-scrollbar-thumb:hover {
    background: rgba(249, 115, 22, 0.7);
}

.sc-table-compact {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.sc-table-compact th {
    padding: 0.75rem 0.5rem !important;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--sc-text-muted);
    border-bottom: 2px solid rgba(249, 115, 22, 0.1) !important;
    white-space: nowrap;
}

.sc-table-compact td {
    padding: 0.625rem 0.5rem !important;
    font-size: 0.85rem !important;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
    color: var(--sc-text);
}

.sc-table-compact tbody tr {
    transition: all 0.2s ease;
}

.sc-table-compact tbody tr:hover {
    background: rgba(249, 115, 22, 0.04) !important;
}

/* Responsive Hide/Compact Utilities */
@media (max-width: 1200px) {
    .sc-hide-xl {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .sc-hide-lg {
        display: none !important;
    }

    .sc-table-compact th,
    .sc-table-compact td {
        padding: 0.5rem 0.25rem !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 768px) {
    .sc-hide-md {
        display: none !important;
    }

    .sc-table-responsive {
        padding: 0 0.5rem 0.5rem;
    }
}

/* ==========================================
   SELECT2: FOUC PREVENTION & BEAUTIFICATION
   ========================================== */
/* Prevent Flash of Unstyled Content for Select2 */
select.select2:not(.select2-hidden-accessible),
select.js-select2:not(.select2-hidden-accessible),
select.js-ajax-select2:not(.select2-hidden-accessible) {
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* Ensure container does not collapse or overflow */
.salecore-theme .select2-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    /* Prevents horizontal page stretching */
}

/* Base styling for the inner bootstrap selection */
.salecore-theme .select2-container .select2-selection {
    min-height: 44px !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 2.5rem 0 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    cursor: pointer !important;
}

/* Text & Placeholder Styling (Simplified) */
.salecore-theme .select2-container .select2-selection__rendered {
    color: var(--sc-text) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    line-height: normal !important;
    display: block !important;
    text-align: left !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.salecore-theme .select2-container .select2-selection__placeholder {
    color: #94a3b8 !important;
    /* Standard Slate Gray placeholder */
    font-weight: 500 !important;
    opacity: 1 !important;
    line-height: normal !important;
    display: block !important;
    text-align: left !important;
}

/* Hover & Focus (Standard Input Match) */
.salecore-theme .select2-container .select2-selection:hover {
    border-color: rgba(249, 115, 22, 0.4) !important;
}

.salecore-theme .select2-container.select2-container--focus .select2-selection,
.salecore-theme .select2-container.select2-container--open .select2-selection {
    border-color: var(--filter-accent) !important;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1) !important;
    background-color: #fff !important;
}

.salecore-theme .select2-container .select2-dropdown {
    border-radius: 12px !important;
    border: 1px solid rgba(249, 115, 22, 0.2) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

/* Base Dropdown List Rules */
.salecore-theme .select2-container .select2-results__option {
    color: var(--sc-text) !important;
}

.salecore-theme .select2-container .select2-results__options {
    overflow-y: auto !important;
    scrollbar-width: thin !important;
}

.salecore-theme .select2-container .select2-results__options::-webkit-scrollbar {
    width: 6px;
}

.salecore-theme .select2-container .select2-results__options::-webkit-scrollbar-thumb {
    background-color: rgba(249, 115, 22, 0.3);
    border-radius: 4px;
}

/* Clear icon positioning */
.salecore-theme .select2-container .select2-selection__clear {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 35px !important;
    z-index: 10 !important;
}

/* ====================================================
   MULTISELECT specific styling
   ==================================================== */
.salecore-theme .select2-container .select2-selection--multiple {
    min-height: 44px !important;
    height: auto !important;
    padding: 4px 2.5rem 4px 0.6rem !important;
    align-items: flex-start !important;
    display: block !important;  /* Override flex - let select2 handle internal layout */
    overflow: hidden !important;
}

.salecore-theme .select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: normal !important;
}

.salecore-theme .select2-container .select2-selection--multiple .select2-selection__placeholder {
    display: block !important;
    line-height: 34px !important;  /* Vertically center placeholder in the box */
    padding-left: 0.5rem !important;
    color: #94a3b8 !important;
}

.salecore-theme .select2-container .select2-selection--multiple .select2-selection__choice {
    display: inline-flex !important;
    align-items: center !important;
    margin: 2px 4px 2px 0 !important;
    padding: 2px 10px 2px 8px !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
    background: rgba(249, 115, 22, 0.12) !important;
    border: 1px solid rgba(249, 115, 22, 0.25) !important;
    color: #4338ca !important;
    line-height: 1.4 !important;
}

.dark-style .salecore-theme .select2-container .select2-selection--multiple .select2-selection__choice {
    background: rgba(249, 115, 22, 0.2) !important;
    border-color: rgba(249, 115, 22, 0.35) !important;
    color: #a5b4fc !important;
}

.salecore-theme .select2-container .select2-selection--multiple .select2-searching .select2-search__field,
.salecore-theme .select2-container .select2-selection--multiple .select2-search__field {
    height: 30px !important;
    padding: 0 6px !important;
    margin-top: 2px !important;
    line-height: 30px !important;
    width: auto !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
}


/* Widened Container - Maximum Use of Space */
.container-xxl {
    max-width: 98% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Fix field visibility and top clipping */
.content-wrapper {
    padding-top: 0 !important;
}

.container-p-y {
    padding-top: 0.5rem !important;
}

.layout-page {
    padding-bottom: 18px !important;
}


/* ==========================================
   DARK THEME OVERRIDES (.dark-style)
   ========================================== */
.dark-style .salecore-theme {
    --sc-primary: #FB923C;
    --sc-secondary: #FB923C;
    --sc-accent: #f0abfc;
    --sc-text: #F8FAFC;
    --sc-text-muted: #94A3B8;
    --sc-card: rgba(15, 23, 42, 0.7);
    --sc-card-hover: rgba(30, 41, 59, 0.85);
    --sc-glass-border: rgba(255, 255, 255, 0.1);
    --sc-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --sc-shadow-hover: 0 10px 30px rgba(249, 115, 22, 0.2);
    /* Neon glows for dark theme */
    --sc-glow-sm: 0 0 15px rgba(249, 115, 22, 0.2);
    --sc-glow-md: 0 0 35px rgba(249, 115, 22, 0.3);
}

.dark-style .salecore-theme .sc-bg-gradient {
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%) !important;
}


/* Dark Navbar and Sidebar Layers */
.dark-style .salecore-theme .layout-navbar,
.dark-style .salecore-theme #layout-menu,
.dark-style .salecore-theme .bg-menu-theme {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.9) 100%) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
}

.dark-style .salecore-theme .menu-link {
    color: var(--sc-text-muted) !important;
}

.dark-style .salecore-theme .menu-link:hover,
.dark-style .salecore-theme .menu-item.active > .menu-link {
    background: rgba(249, 115, 22, 0.12) !important;
    color: #fff !important;
    border-color: rgba(249, 115, 22, 0.3) !important;
    box-shadow: inset 4px 0 0 #F97316, 0 0 20px rgba(249, 115, 22, 0.15) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.dark-style .salecore-theme .menu-link:hover i,
.dark-style .salecore-theme .menu-item.active > .menu-link i {
    color: #F97316 !important;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6));
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.dark-style .salecore-theme .nav-link {
    color: var(--sc-text-muted) !important;
}

.dark-style .salecore-theme .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.dark-style .salecore-theme .app-brand-text {
    background: linear-gradient(135deg, #FB923C, #F97316, #EF4444) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.4));
}

/* Glassy Dark Cards */
.dark-style .salecore-theme .card,
.dark-style .salecore-theme .table-responsive,
.dark-style .salecore-theme .card-body,
.dark-style .salecore-theme .sc-metric-card,
.dark-style .salecore-theme .sc-pipeline,
.dark-style .salecore-theme .sc-card,
.dark-style .salecore-theme .footer-container,
.dark-style .salecore-theme .dropdown-menu {
    background: var(--sc-card) !important;
    border-color: var(--sc-glass-border) !important;
    color: var(--sc-text) !important;
    box-shadow: var(--sc-shadow) !important;
}

.dark-style .salecore-theme .dropdown-divider {
    border: none !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(123, 92, 255, 0.25), transparent) !important;
    margin: 8px 0 !important;
}

.dark-style .salecore-theme .card:hover,
.dark-style .salecore-theme .sc-metric-card:hover,
.dark-style .salecore-theme .sc-pipeline:hover,
.dark-style .salecore-theme .sc-card:hover {
    background: var(--sc-card-hover) !important;
    border-color: rgba(249, 115, 22, 0.4) !important;
    box-shadow: var(--sc-shadow-hover), var(--sc-glow-sm) !important;
}

/* Fix Jumping Dropdowns & Alignment */
.sc-table-responsive td .dropdown-menu {
    margin-top: 0 !important;
    left: auto !important;
    right: 0 !important;
}

.sc-table-responsive .sc-mass-control-menu.show {
    inset: -80px auto auto 0 !important;
    transform: none !important;
    right: auto !important;
    left: 0 !important;
}

.dark-style .salecore-theme .dropdown-item {
    color: var(--sc-text) !important;
    transition: all 0.2s ease;
}

.dark-style .salecore-theme .dropdown-item:hover {
    background: rgba(249, 115, 22, 0.1) !important;
    color: #F97316 !important;
}

.dark-style .salecore-theme .dropdown-item i {
    color: #F97316;
}

/* Inputs & Form Controls */
.dark-style .salecore-theme input[type="text"],
.dark-style .salecore-theme input[type="email"],
.dark-style .salecore-theme input[type="password"],
.dark-style .salecore-theme input[type="tel"],
.dark-style .salecore-theme input[type="search"],
.dark-style .salecore-theme select,
.dark-style .salecore-theme textarea,
.dark-style .salecore-theme .form-control {
    background-color: rgba(2, 6, 23, 0.6) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #F8FAFC !important;
}

.dark-style .salecore-theme input:focus,
.dark-style .salecore-theme select:focus,
.dark-style .salecore-theme textarea:focus,
.dark-style .salecore-theme .form-control:focus {
    background: rgba(15, 23, 42, 0.9) !important;
    border-color: #F97316 !important;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.3) !important;
}

/* Select2 & Buttons Polish for Dark Theme */
.dark-style .salecore-theme .select2-container .select2-selection,
.dark-style .salecore-theme .select2-container .select2-dropdown,
.dark-style .salecore-theme .select2-container--bootstrap-5 .select2-selection,
.dark-style .salecore-theme .select2-container--bootstrap-5 .select2-dropdown {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}

.dark-style .salecore-theme .select2-container .select2-selection__rendered,
.dark-style .salecore-theme .select2-container .select2-selection__placeholder,
.dark-style .salecore-theme .select2-container--bootstrap-5 .select2-selection__rendered,
.dark-style .salecore-theme .select2-container--bootstrap-5 .select2-selection__placeholder {
    color: #cbd5e1 !important;
}

.dark-style .salecore-theme .select2-container .select2-results__option,
.dark-style .salecore-theme .select2-container--bootstrap-5 .select2-results__option {
    background-color: #1e293b !important;
    color: #f8fafc !important;
}

.dark-style .salecore-theme .select2-container .select2-results__option--highlighted,
.dark-style .salecore-theme .select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: rgba(249, 115, 22, 0.2) !important;
    color: #fff !important;
}


.dark-style .salecore-theme .btn-secondary,
.dark-style .salecore-theme .btn-outline-secondary {
    background-color: rgba(148, 163, 184, 0.1) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #cbd5e1 !important;
}

.dark-style .salecore-theme .btn-secondary:hover {
    background-color: rgba(148, 163, 184, 0.2) !important;
    color: #fff !important;
}

/* Tables */
.dark-style .salecore-theme .table thead th {
    background: rgba(249, 115, 22, 0.1) !important;
    border-bottom-color: rgba(249, 115, 22, 0.3) !important;
    color: #e2e8f0 !important;
}

.dark-style .salecore-theme .table tbody td {
    color: #cbd5e1 !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.dark-style .salecore-theme .table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03) !important;
}

.dark-style .salecore-theme .text-muted {
    color: #64748B !important;
}

/* ============================================================
   LIGHT MODE ONLY - DISABLE HOVER ANIMATIONS
   Specifically for html:not(.dark-style)
   ============================================================ */
html:not(.dark-style) .salecore-theme .menu-link:hover,
html:not(.dark-style) .salecore-theme .navbar .nav-link:hover,
html:not(.dark-style) .salecore-theme .navbar .avatar:hover,
html:not(.dark-style) .salecore-theme .sc-metric-card:hover,
html:not(.dark-style) .salecore-theme .sc-stage:hover,
html:not(.dark-style) .salecore-theme .sc-card:hover,
html:not(.dark-style) .salecore-theme .sc-task:hover,
html:not(.dark-style) .salecore-theme .card:hover,
html:not(.dark-style) .salecore-theme .btn:hover,
html:not(.dark-style) .salecore-theme .sc-donut:hover,
html:not(.dark-style) .salecore-theme .table tbody tr:hover {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
}

/* Disable Hover Pseudo-Element Animations (Swipes, Glows) */
html:not(.dark-style) .salecore-theme .menu-link:hover::after,
html:not(.dark-style) .salecore-theme .sc-metric-card:hover::before,
html:not(.dark-style) .salecore-theme .sc-metric-card:hover::after,
html:not(.dark-style) .salecore-theme .sc-stage:hover::before,
html:not(.dark-style) .salecore-theme .sc-card:hover::after,
html:not(.dark-style) .salecore-theme .btn:hover::before {
    display: none !important;
    animation: none !important;
}

/* Keep basic hover background for buttons/links in light mode but remove expansion */
html:not(.dark-style) .salecore-theme .btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

html:not(.dark-style) .salecore-theme .sc-metric-icon {
    transform: none !important;
}

html:not(.dark-style) .salecore-theme .sc-metric-value {
    transform: none !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: var(--sc-text) !important;
}

/* ============================================================
   DARK SCROLLBARS - HellFox Dark Theme
   ============================================================ */

/* Firefox */
.dark-style .salecore-theme,
.dark-style * {
    scrollbar-color: rgba(249, 115, 22, 0.4) rgba(2, 6, 23, 0.8) !important;
    scrollbar-width: thin !important;
}

/* WebKit (Chrome, Edge, Safari) */
.dark-style ::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

.dark-style ::-webkit-scrollbar-track {
    background: rgba(2, 6, 23, 0.85) !important;
    border-radius: 4px !important;
}

.dark-style ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #F97316, #EF4444) !important;
    border-radius: 4px !important;
}

.dark-style ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FB923C, #F87171) !important;
}

.dark-style ::-webkit-scrollbar-corner {
    background: rgba(2, 6, 23, 0.8) !important;
}

/* HellFox Dark sidebar neon edge — fire accent */
.dark-style body.salecore-theme #layout-menu::after {
    background: linear-gradient(180deg,
        rgba(249, 115, 22, 0.5) 0%,
        rgba(239, 68, 68, 0.6) 50%,
        #F97316 100%) !important;
}

/* HellFox dark active menu item */
.dark-style .salecore-theme .menu-item.active > .menu-link {
    box-shadow: inset 4px 0 0 #F97316, 0 0 20px rgba(249, 115, 22, 0.3) !important;
}

/* HellFox brand text — dark theme override */
.dark-style .salecore-theme .app-brand-text {
    background: linear-gradient(135deg, #FB923C, #EF4444, #F59E0B) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.4));
}


/* Branding & Premium Elements */
.sc-brand-workspace {
    font-family: 'Exo 2', sans-serif !important;
    letter-spacing: 2px !important;
    font-size: 1.3rem !important;
    background: linear-gradient(135deg, #F97316 0%, #F59E0B 50%, #EF4444 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.4)) !important;
}

/* Sidebar Custom Styling (HELLFOX Theme) */
.menu-item.active > .menu-link {
    background: rgba(249, 115, 22, 0.1) !important;
    color: #F97316 !important;
    position: relative;
}

.menu-item.active > .menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: #F97316 !important;
    border-radius: 0 4px 4px 0;
}

.menu-item.active > .menu-link i {
    color: #F97316 !important;
}

/* Badge Styling - Keep Orange for Brand */
.menu-vertical .badge {
    background: linear-gradient(135deg, #F97316, #EF4444) !important;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.4) !important;
}

/* Remove Smooth Hover Effects on Light Theme */
.menu-item .menu-link {
    transition: none !important;
}

.menu-item .menu-link:hover {
    background: transparent !important;
    color: inherit !important;
}

/* Icons & Buttons */
.sc-btn-phone {
    background: rgba(249, 115, 22, 0.25) !important;
    border: 1px solid rgba(249, 115, 22, 0.3) !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.sc-btn-phone i {
    color: #F97316 !important;
    width: 1.2rem !important;
}

.sc-btn-phone:hover {
    background: rgba(249, 115, 22, 0.35) !important;
    border-color: rgba(249, 115, 22, 0.5) !important;
}

.sc-btn-dropdown {
    color: var(--sc-text-muted) !important;
    opacity: 0.8 !important;
}

.sc-btn-dropdown:hover {
    opacity: 1 !important;
    color: var(--sc-text) !important;
}

.salecore-theme .sc-lead-comment-cell {
    color: #1e293b !important;
    font-style: italic;
}

.salecore-theme .sc-lead-comment-text,
.salecore-theme .sc-lead-comment-date {
    color: inherit !important;
}

.salecore-theme .sc-lead-comment-date {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
}

.dark-style .salecore-theme .sc-lead-comment-cell {
    color: #f8fafc !important;
}

/* SVG Mask Icons */
.sc-theme-toggle-icon {
    display: none;
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.sc-icon-moon {
    -webkit-mask-image: url('../images/svg/moon.svg');
    mask-image: url('../images/svg/moon.svg');
}

.sc-icon-sun {
    -webkit-mask-image: url('../images/svg/sun.svg');
    mask-image: url('../images/svg/sun.svg');
}

/* Auth Pages Styling */
.sc-auth-logo-box {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 2rem !important;
}

.sc-auth-logo {
    width: 80px !important;
    height: auto !important;
}

/* Fix: backdrop модалки — z-index и непрозрачность */
.modal-backdrop.show {
    opacity: 0.5 !important;
}

/* ==========================================
   FIX: Чекбоксы — цвет сохраняется при любом состоянии
   ========================================== */
.form-check-input {
    cursor: pointer;
    transition: none !important; /* Галочка и цвет появляются мгновенно */
}

/* Цвет при отмеченном состоянии — независимо от фокуса */
.form-check-input:checked {
    background-color: #F97316 !important;
    border-color: #F97316 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

/* Убираем смену цвета при фокусе */
.form-check-input:focus {
    border-color: #F97316 !important;
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25) !important;
    outline: none !important;
}

/* Цвет при checked + focus сохраняется */
.form-check-input:checked:focus {
    background-color: #F97316 !important;
    border-color: #F97316 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

/* Враппер кастомного чекбокса в таблице лидов */
.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

/* Period quick links: text-only styling for the three range links */
.salecore-theme .sc-period-link-item {
    display: flex;
    align-items: center;
}

.salecore-theme .sc-period-link {
    color: #c2410c;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    text-decoration: none;
    text-underline-offset: 4px;
    transition: none !important;
}

.salecore-theme .sc-period-link:hover {
    color: #9a3412;
    text-decoration: underline;
    text-decoration-color: rgba(194, 65, 12, 0.4);
    text-decoration-thickness: 2px;
}

.salecore-theme .sc-period-link-item.active .sc-period-link {
    color: #7c2d12;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #fb923c;
    text-decoration-thickness: 2px;
}

.salecore-theme .sc-period-link:focus-visible {
    outline: 2px solid rgba(249, 115, 22, 0.35);
    outline-offset: 3px;
    border-radius: 3px;
}

@media (max-width: 992px) {
    .salecore-theme .sc-period-link-item {
        justify-content: flex-start;
        margin-top: 0.25rem;
    }

    .salecore-theme .sc-period-link {
        font-size: 0.945rem;
    }
}

.dark-style .salecore-theme .sc-period-link {
    color: #fdba74;
}

.dark-style .salecore-theme .sc-period-link:hover {
    color: #ffedd5;
    text-decoration-color: rgba(253, 186, 116, 0.5);
}

.dark-style .salecore-theme .sc-period-link-item.active .sc-period-link {
    color: #ffedd5;
    text-decoration-color: #fb923c;
}
