:root {
    --wc-blue: #0d6efd;
    --wc-blue-soft: rgba(13, 110, 253, 0.14);
    --wc-blue-glow: rgba(13, 110, 253, 0.28);
    --wc-panel-border: rgba(148, 163, 184, 0.18);
    --wc-panel-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --wc-panel-shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.14);
}

#body:not(.dark-theme) .main-container.bg-additional-grey {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.08), transparent 32rem),
        linear-gradient(135deg, #f7faff 0%, #eef3f9 100%) !important;
}

#body:not(.dark-theme) .main-header {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

#body .main-sidebar {
    background: linear-gradient(180deg, #0c1726 0%, #111c2b 52%, #0b1421 100%);
    box-shadow: 20px 0 45px rgba(15, 23, 42, 0.18);
}

#body .sidebar-brand-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(13, 110, 253, 0.12));
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

#body .sidebar-brand-name h1 {
    letter-spacing: -0.02em;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

#body .pro-name span,
#body .bg-light-green.rounded-circle {
    box-shadow: 0 0 0 6px rgba(39, 220, 69, 0.12), 0 0 18px rgba(39, 220, 69, 0.65);
    animation: wc-status-pulse 2.4s ease-in-out infinite;
}

#body .sidebar-menu .nav-item {
    position: relative;
    margin: 4px 12px;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

#body .sidebar-menu .nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #38bdf8, var(--wc-blue));
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

#body .sidebar-menu .nav-item:hover,
#body .sidebar-menu .nav-item.active,
#body .sidebar-menu .accordionItemHeading.active {
    background: rgba(13, 110, 253, 0.14) !important;
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.18), 0 10px 24px rgba(2, 6, 23, 0.14);
    color: #ffffff !important;
    transform: translateX(4px);
}

#body .sidebar-menu .nav-item:hover::before,
#body .sidebar-menu .nav-item.active::before,
#body .sidebar-menu .accordionItemHeading.active::before {
    transform: scaleY(1);
}

#body .sidebar-menu .nav-item svg,
#body .sidebar-menu .nav-item i {
    transition: transform 180ms ease, color 180ms ease;
}

#body .sidebar-menu .nav-item:hover svg,
#body .sidebar-menu .nav-item:hover i,
#body .sidebar-menu .nav-item.active svg,
#body .sidebar-menu .nav-item.active i {
    color: #60a5fa;
    transform: translateY(-1px) scale(1.06);
}

#body:not(.dark-theme) .emp-dashboard .card,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4,
#body:not(.dark-theme) .emp-dashboard .x-card,
#body:not(.dark-theme) .emp-dashboard .white-box {
    border: 1px solid var(--wc-panel-border) !important;
    box-shadow: var(--wc-panel-shadow) !important;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
    animation: wc-card-rise 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#body:not(.dark-theme) .emp-dashboard .card:hover,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4:hover,
#body:not(.dark-theme) .emp-dashboard .x-card:hover,
#body:not(.dark-theme) .emp-dashboard .white-box:hover {
    border-color: rgba(13, 110, 253, 0.24) !important;
    box-shadow: var(--wc-panel-shadow-hover) !important;
    transform: translateY(-4px);
}

#body:not(.dark-theme) .emp-dashboard .e-d-info {
    position: relative;
    overflow: hidden;
}

#body:not(.dark-theme) .emp-dashboard .e-d-info::after {
    content: "";
    position: absolute;
    inset: auto -12% 0 -12%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #38bdf8, var(--wc-blue), transparent);
    opacity: 0;
    transition: opacity 220ms ease;
}

#body:not(.dark-theme) .emp-dashboard .e-d-info:hover::after {
    opacity: 1;
}

#body:not(.dark-theme) .emp-dashboard .card-img img {
    transition: transform 240ms ease, filter 240ms ease;
}

#body:not(.dark-theme) .emp-dashboard .e-d-info:hover .card-img img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.04);
}

#body:not(.dark-theme) .emp-dashboard .heading-h3 {
    letter-spacing: -0.025em;
}

#body #dashboard-clock {
    display: inline-block;
    letter-spacing: -0.03em;
    animation: wc-clock-in 520ms ease both;
}

#body #clock-in,
#body #clock-out {
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    box-shadow: 0 14px 30px rgba(13, 110, 253, 0.22);
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

#body #clock-out {
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.22);
    animation: wc-action-breathe 2.8s ease-in-out infinite;
}

#body #clock-in::after,
#body #clock-out::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.26) 45%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 540ms ease;
}

#body #clock-in:hover,
#body #clock-out:hover {
    box-shadow: 0 18px 38px rgba(13, 110, 253, 0.32);
    filter: saturate(1.06);
    transform: translateY(-2px);
}

#body #clock-out:hover {
    box-shadow: 0 18px 38px rgba(220, 38, 38, 0.34);
}

#body #clock-in:hover::after,
#body #clock-out:hover::after {
    transform: translateX(130%);
}

#body:not(.dark-theme) .emp-dashboard .progress {
    background: #e5edf5;
    border-radius: 999px;
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

#body:not(.dark-theme) .emp-dashboard .progress-bar.bg-primary {
    background: linear-gradient(90deg, var(--wc-blue), #38bdf8, #2563eb) !important;
    background-size: 220% 100%;
    animation: wc-gradient-flow 4.5s linear infinite;
}

#body:not(.dark-theme) .emp-dashboard .week-pagination .page-link {
    border-color: #e2e8f0;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

#body:not(.dark-theme) .emp-dashboard .week-pagination .page-link:hover,
#body:not(.dark-theme) .emp-dashboard .week-pagination .page-item.active .page-link {
    box-shadow: 0 12px 24px var(--wc-blue-glow);
    transform: translateY(-2px);
}

#body .page-header-right .header-icon-box {
    border-radius: 14px;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

#body .page-header-right .header-icon-box:hover {
    background: var(--wc-blue-soft);
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.14);
    transform: translateY(-2px);
}

#body:not(.dark-theme) .emp-dashboard .text-blue,
#body:not(.dark-theme) .emp-dashboard .text-red {
    transition: transform 180ms ease, text-shadow 180ms ease;
}

#body:not(.dark-theme) .emp-dashboard a:hover .text-blue,
#body:not(.dark-theme) .emp-dashboard a:hover .text-red {
    text-shadow: 0 8px 20px rgba(13, 110, 253, 0.22);
    transform: translateY(-1px);
}

@keyframes wc-card-rise {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes wc-clock-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wc-status-pulse {
    0%, 100% {
        box-shadow: 0 0 0 5px rgba(39, 220, 69, 0.1), 0 0 16px rgba(39, 220, 69, 0.42);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(39, 220, 69, 0.03), 0 0 24px rgba(39, 220, 69, 0.7);
    }
}

@keyframes wc-action-breathe {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1px);
    }
}

@keyframes wc-gradient-flow {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 220% 50%;
    }
}

@media (max-width: 991px) {
    #body .sidebar-menu .nav-item:hover,
    #body .sidebar-menu .nav-item.active,
    #body .sidebar-menu .accordionItemHeading.active,
    #body:not(.dark-theme) .emp-dashboard .card:hover,
    #body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #body *,
    #body *::before,
    #body *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}


:root {
    --wc-indigo: #4f46e5;
    --wc-cyan: #06b6d4;
    --wc-emerald: #10b981;
    --wc-red: #dc2626;
    --wc-card-radius: 22px;
}

#body:not(.dark-theme) .emp-dashboard {
    position: relative;
    overflow: hidden;
    padding-top: 1.75rem !important;
    isolation: isolate;
}

#body:not(.dark-theme) .emp-dashboard::before,
#body:not(.dark-theme) .emp-dashboard::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.7;
}

#body:not(.dark-theme) .emp-dashboard::before {
    width: 460px;
    height: 460px;
    top: -180px;
    right: 18%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.14), rgba(6, 182, 212, 0.04) 54%, transparent 72%);
    animation: wc-orb-drift 14s ease-in-out infinite alternate;
}

#body:not(.dark-theme) .emp-dashboard::after {
    width: 380px;
    height: 380px;
    left: -160px;
    bottom: 18%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1), rgba(16, 185, 129, 0.03) 56%, transparent 74%);
    animation: wc-orb-drift 17s ease-in-out infinite alternate-reverse;
}

#body:not(.dark-theme) .emp-dashboard > .d-lg-flex,
#body:not(.dark-theme) .emp-dashboard > .d-md-flex {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.65rem;
    padding: 22px 26px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(242, 247, 255, 0.84)),
        radial-gradient(circle at 90% 20%, rgba(13, 110, 253, 0.16), transparent 34rem);
    box-shadow: 0 22px 65px rgba(15, 23, 42, 0.09);
    animation: wc-hero-drop 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

#body:not(.dark-theme) .emp-dashboard > .d-lg-flex::before,
#body:not(.dark-theme) .emp-dashboard > .d-md-flex::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.54) 42%, transparent 68%),
        radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.18), transparent 28%);
    transform: translateX(-58%);
    opacity: 0.74;
    animation: wc-panel-sweep 8s ease-in-out infinite;
}

#body:not(.dark-theme) .emp-dashboard > .d-lg-flex > *,
#body:not(.dark-theme) .emp-dashboard > .d-md-flex > * {
    position: relative;
    z-index: 1;
}

#body:not(.dark-theme) .emp-dashboard > .d-lg-flex h3,
#body:not(.dark-theme) .emp-dashboard > .d-md-flex h3 {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #0f172a;
    font-size: clamp(22px, 2vw, 30px) !important;
}

#body:not(.dark-theme) .emp-dashboard > .d-lg-flex h3::after,
#body:not(.dark-theme) .emp-dashboard > .d-md-flex h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 88px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wc-blue), var(--wc-cyan));
    box-shadow: 0 10px 18px rgba(13, 110, 253, 0.2);
}

#body:not(.dark-theme) .clock-in-out {
    gap: 16px;
}

#body:not(.dark-theme) .clock-in-out p {
    min-width: 142px;
    padding: 11px 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

#body:not(.dark-theme) #dashboard-clock {
    background: linear-gradient(90deg, #334155, #0f172a 38%, var(--wc-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#body:not(.dark-theme) .emp-dashboard .card,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4,
#body:not(.dark-theme) .emp-dashboard .x-card,
#body:not(.dark-theme) .emp-dashboard .white-box {
    position: relative;
    overflow: hidden;
    border-radius: var(--wc-card-radius) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
        radial-gradient(circle at 100% 0%, rgba(13, 110, 253, 0.1), transparent 30%) !important;
    backdrop-filter: blur(12px);
}

#body:not(.dark-theme) .emp-dashboard .card::before,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4::before,
#body:not(.dark-theme) .emp-dashboard .x-card::before,
#body:not(.dark-theme) .emp-dashboard .white-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.38), rgba(6, 182, 212, 0.34), transparent);
    opacity: 0.72;
}

#body:not(.dark-theme) .emp-dashboard .card::after,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4::after,
#body:not(.dark-theme) .emp-dashboard .x-card::after,
#body:not(.dark-theme) .emp-dashboard .white-box::after {
    content: "";
    position: absolute;
    inset: -70% auto auto -65%;
    width: 54%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: rotate(18deg) translateX(-120%);
    transition: transform 680ms ease;
    pointer-events: none;
}

#body:not(.dark-theme) .emp-dashboard .card:hover::after,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4:hover::after,
#body:not(.dark-theme) .emp-dashboard .x-card:hover::after,
#body:not(.dark-theme) .emp-dashboard .white-box:hover::after {
    transform: rotate(18deg) translateX(345%);
}

#body:not(.dark-theme) .emp-dashboard .card-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.86) !important;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.64), rgba(255, 255, 255, 0.94)) !important;
}

#body:not(.dark-theme) .emp-dashboard .card-img {
    position: relative;
    margin: 24px 26px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2), 0 14px 30px rgba(15, 23, 42, 0.08);
}

#body:not(.dark-theme) .emp-dashboard .card-img::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 28px;
    background: conic-gradient(from 160deg, var(--wc-blue), transparent 26%, var(--wc-cyan), transparent 70%, var(--wc-blue));
    opacity: 0.0;
    z-index: -1;
    transition: opacity 220ms ease, transform 520ms ease;
}

#body:not(.dark-theme) .emp-dashboard .e-d-info:hover .card-img::after {
    opacity: 0.34;
    transform: rotate(16deg);
}

#body:not(.dark-theme) .emp-dashboard .card-title,
#body:not(.dark-theme) .emp-dashboard h4,
#body:not(.dark-theme) .emp-dashboard h5 {
    letter-spacing: -0.02em;
}

#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4 h5::after,
#body:not(.dark-theme) .emp-dashboard .card h4::after,
#body:not(.dark-theme) .emp-dashboard .card .card-title::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wc-blue), transparent);
    opacity: 0.38;
    transition: width 200ms ease, opacity 200ms ease;
}

#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4:hover h5::after,
#body:not(.dark-theme) .emp-dashboard .card:hover h4::after,
#body:not(.dark-theme) .emp-dashboard .card:hover .card-title::after {
    width: 58px;
    opacity: 0.72;
}

#body:not(.dark-theme) .emp-dashboard .text-blue,
#body:not(.dark-theme) .emp-dashboard .text-red {
    font-size: 28px !important;
    line-height: 1.1;
}

#body:not(.dark-theme) .emp-dashboard .text-blue {
    color: var(--wc-blue) !important;
}

#body:not(.dark-theme) .emp-dashboard .text-red {
    color: var(--wc-red) !important;
}

#body:not(.dark-theme) .emp-dashboard .fa-list,
#body:not(.dark-theme) .emp-dashboard .fa-layer-group,
#body:not(.dark-theme) .emp-dashboard .fa-file-alt,
#body:not(.dark-theme) .emp-dashboard .fa-file,
#body:not(.dark-theme) .emp-dashboard .bi-file-earmark-text {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: var(--wc-blue) !important;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(6, 182, 212, 0.1));
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.12);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

#body:not(.dark-theme) .emp-dashboard .card:hover .fa-list,
#body:not(.dark-theme) .emp-dashboard .card:hover .fa-layer-group,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4:hover .fa-list,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4:hover .fa-layer-group,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4:hover .fa-file-alt,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4:hover .fa-file,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4:hover .bi-file-earmark-text {
    box-shadow: 0 16px 34px rgba(13, 110, 253, 0.18), inset 0 0 0 1px rgba(13, 110, 253, 0.18);
    transform: translateY(-2px) rotate(-2deg);
}

#body:not(.dark-theme) .emp-dashboard .badge,
#body:not(.dark-theme) .emp-dashboard .label,
#body:not(.dark-theme) .emp-dashboard .tag {
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.12);
}

#body:not(.dark-theme) .emp-dashboard .badge-primary {
    background: linear-gradient(90deg, var(--wc-blue), var(--wc-cyan)) !important;
}

#body:not(.dark-theme) .emp-dashboard .progress {
    height: 24px !important;
    padding: 3px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, #eaf1f8, #dde8f2) !important;
}

#body:not(.dark-theme) .emp-dashboard .progress-bar {
    border-radius: 999px;
}

#body:not(.dark-theme) .emp-dashboard .week-pagination {
    gap: 7px;
}

#body:not(.dark-theme) .emp-dashboard .week-pagination li {
    margin-right: 0;
}

#body:not(.dark-theme) .emp-dashboard .week-pagination .page-link {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    font-weight: 700;
    color: #475569;
    background: rgba(255, 255, 255, 0.82);
}

#body:not(.dark-theme) .emp-dashboard .week-pagination .page-item.active .page-link {
    color: #fff;
    background: linear-gradient(135deg, var(--wc-blue), #38bdf8) !important;
    animation: wc-pill-pop 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

#body:not(.dark-theme) .emp-dashboard .text-lightest:has(+ .f-21),
#body:not(.dark-theme) .emp-dashboard .card-text,
#body:not(.dark-theme) .emp-dashboard small {
    color: #64748b !important;
}

#body:not(.dark-theme) .emp-dashboard .text-center .fa,
#body:not(.dark-theme) .emp-dashboard .text-center .bi,
#body:not(.dark-theme) .emp-dashboard .text-center i {
    animation: wc-empty-float 3.6s ease-in-out infinite;
}

#body .page-header-right ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

#body .page-header-right .header-icon-box {
    width: 42px;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

#body .page-header-right .header-icon-box i {
    transition: color 180ms ease, transform 180ms ease;
}

#body .page-header-right .header-icon-box:hover i {
    color: var(--wc-blue) !important;
    transform: scale(1.08);
}

#body .sidebar-menu .nav-item span:not(.badge) {
    transition: transform 180ms ease;
}

#body .sidebar-menu .nav-item:hover span:not(.badge),
#body .sidebar-menu .accordionItemHeading.active span:not(.badge) {
    transform: translateX(2px);
}

#body .sidebar-menu .accordionItem {
    animation: wc-sidebar-in 480ms ease both;
}

#body .sidebar-menu .accordionItem:nth-child(1) { animation-delay: 20ms; }
#body .sidebar-menu .accordionItem:nth-child(2) { animation-delay: 45ms; }
#body .sidebar-menu .accordionItem:nth-child(3) { animation-delay: 70ms; }
#body .sidebar-menu .accordionItem:nth-child(4) { animation-delay: 95ms; }
#body .sidebar-menu .accordionItem:nth-child(5) { animation-delay: 120ms; }
#body .sidebar-menu .accordionItem:nth-child(6) { animation-delay: 145ms; }
#body .sidebar-menu .accordionItem:nth-child(7) { animation-delay: 170ms; }
#body .sidebar-menu .accordionItem:nth-child(8) { animation-delay: 195ms; }
#body .sidebar-menu .accordionItem:nth-child(9) { animation-delay: 220ms; }
#body .sidebar-menu .accordionItem:nth-child(10) { animation-delay: 245ms; }

#body:not(.dark-theme) .emp-dash-detail > div:nth-child(1) .card,
#body:not(.dark-theme) .emp-dash-detail > div:nth-child(1) .bg-white.rounded.b-shadow-4 { animation-delay: 70ms; }
#body:not(.dark-theme) .emp-dash-detail > div:nth-child(2) .card,
#body:not(.dark-theme) .emp-dash-detail > div:nth-child(2) .bg-white.rounded.b-shadow-4 { animation-delay: 130ms; }
#body:not(.dark-theme) .emp-dash-detail .row > div:nth-child(2) .card,
#body:not(.dark-theme) .emp-dash-detail .row > div:nth-child(2) .bg-white.rounded.b-shadow-4 { animation-delay: 170ms; }
#body:not(.dark-theme) .emp-dash-detail .row > div:nth-child(3) .card,
#body:not(.dark-theme) .emp-dash-detail .row > div:nth-child(3) .bg-white.rounded.b-shadow-4 { animation-delay: 220ms; }

@keyframes wc-hero-drop {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes wc-panel-sweep {
    0%, 34%, 100% {
        transform: translateX(-64%);
    }
    52%, 62% {
        transform: translateX(64%);
    }
}

@keyframes wc-orb-drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(26px, 18px, 0) scale(1.05);
    }
}

@keyframes wc-pill-pop {
    from {
        transform: translateY(4px) scale(0.94);
    }
    to {
        transform: translateY(0) scale(1);
    }
}

@keyframes wc-empty-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes wc-sidebar-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 767px) {
    #body:not(.dark-theme) .emp-dashboard > .d-lg-flex,
    #body:not(.dark-theme) .emp-dashboard > .d-md-flex {
        padding: 18px;
        border-radius: 22px;
    }

    #body:not(.dark-theme) .clock-in-out p {
        min-width: 100%;
    }

    #body:not(.dark-theme) .emp-dashboard .week-pagination .page-link {
        width: 36px;
        height: 36px;
    }
}


/* Professional dashboard layer */
#body:not(.dark-theme) .main-container.bg-additional-grey {
    background: #f4f7fb !important;
}

#body:not(.dark-theme) .emp-dashboard {
    width: 100%;
    max-width: 1580px;
    margin: 0 auto;
    padding: 28px 30px 42px !important;
    overflow: visible;
    isolation: auto;
}

#body:not(.dark-theme) .emp-dashboard::before,
#body:not(.dark-theme) .emp-dashboard::after,
#body:not(.dark-theme) .wc-dashboard-hero::before,
#body:not(.dark-theme) .wc-dashboard-hero::after,
#body:not(.dark-theme) .emp-dashboard .card::after,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4::after,
#body:not(.dark-theme) .emp-dashboard .x-card::after,
#body:not(.dark-theme) .emp-dashboard .white-box::after {
    display: none !important;
}

#body:not(.dark-theme) .wc-dashboard-hero {
    position: relative;
    margin: 0 0 18px !important;
    padding: 28px 30px !important;
    border: 1px solid rgba(205, 213, 224, 0.9) !important;
    border-radius: 26px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 58%, rgba(239, 246, 255, 0.96) 100%) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07) !important;
    overflow: hidden;
    animation: none !important;
}

#body:not(.dark-theme) .wc-dashboard-hero::selection {
    background: rgba(37, 99, 235, 0.18);
}

#body:not(.dark-theme) .wc-hero-content {
    max-width: 760px;
}

#body:not(.dark-theme) .wc-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.07);
    color: #1d4ed8;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#body:not(.dark-theme) .wc-dashboard-hero h3 {
    position: static !important;
    display: block !important;
    margin-bottom: 10px !important;
    color: #0f172a !important;
    font-size: clamp(26px, 2.2vw, 36px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.045em !important;
    font-weight: 900 !important;
}

#body:not(.dark-theme) .wc-dashboard-hero h3::after {
    display: none !important;
}

#body:not(.dark-theme) .wc-hero-subtitle {
    max-width: 640px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 600;
}

#body:not(.dark-theme) .wc-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

#body:not(.dark-theme) .wc-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

#body:not(.dark-theme) .wc-hero-meta i {
    color: #2563eb;
}

#body:not(.dark-theme) .wc-hero-clock {
    align-items: center;
    gap: 14px;
    min-width: 350px;
}

#body:not(.dark-theme) .wc-hero-clock p {
    min-width: 154px;
    margin: 0 !important;
    padding: 13px 16px;
    border: 1px solid #dbe4f0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

#body:not(.dark-theme) #dashboard-clock {
    color: #0f172a !important;
    background: none !important;
    -webkit-background-clip: initial;
    background-clip: initial;
    font-size: 22px;
    letter-spacing: -0.045em;
    animation: none !important;
}

#body #clock-in,
#body #clock-out {
    min-height: 54px !important;
    padding: 0 24px !important;
    border-radius: 18px !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em;
    animation: none !important;
}

#body #clock-out {
    background: #dc2626 !important;
    box-shadow: 0 14px 26px rgba(220, 38, 38, 0.22) !important;
}

#body #clock-in {
    background: #2563eb !important;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22) !important;
}

#body #clock-in:hover,
#body #clock-out:hover {
    transform: translateY(-1px) !important;
}

#body:not(.dark-theme) .wc-dashboard-kpis {
    margin-bottom: 6px;
}

#body:not(.dark-theme) .wc-kpi-card {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

#body:not(.dark-theme) .wc-kpi-link:hover,
#body:not(.dark-theme) .wc-kpi-card:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.085);
    color: #0f172a;
    transform: translateY(-2px);
}

#body:not(.dark-theme) .wc-kpi-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 18px;
}

#body:not(.dark-theme) .wc-kpi-blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
#body:not(.dark-theme) .wc-kpi-red { background: rgba(220, 38, 38, 0.1); color: #dc2626; }
#body:not(.dark-theme) .wc-kpi-indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
#body:not(.dark-theme) .wc-kpi-green { background: rgba(16, 185, 129, 0.12); color: #059669; }

#body:not(.dark-theme) .wc-kpi-copy {
    display: grid;
    gap: 4px;
}

#body:not(.dark-theme) .wc-kpi-copy small {
    color: #64748b !important;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

#body:not(.dark-theme) .wc-kpi-copy strong {
    color: #0f172a;
    font-size: 27px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.045em;
}

#body:not(.dark-theme) .emp-dash-detail {
    margin-top: 2px;
}

#body:not(.dark-theme) .emp-dashboard .card,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4,
#body:not(.dark-theme) .emp-dashboard .x-card,
#body:not(.dark-theme) .emp-dashboard .white-box {
    border: 1px solid #e2e8f0 !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055) !important;
    backdrop-filter: none !important;
    animation: none !important;
}

#body:not(.dark-theme) .emp-dashboard .card:hover,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4:hover,
#body:not(.dark-theme) .emp-dashboard .x-card:hover,
#body:not(.dark-theme) .emp-dashboard .white-box:hover {
    border-color: #d5e0ee !important;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.075) !important;
    transform: none !important;
}

#body:not(.dark-theme) .emp-dashboard h4,
#body:not(.dark-theme) .emp-dashboard h5,
#body:not(.dark-theme) .emp-dashboard .card-title {
    color: #1e293b !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em;
}

#body:not(.dark-theme) .emp-dashboard h4::after,
#body:not(.dark-theme) .emp-dashboard h5::after,
#body:not(.dark-theme) .emp-dashboard .card-title::after,
#body:not(.dark-theme) .emp-dashboard .e-d-info::after {
    display: none !important;
}

#body:not(.dark-theme) .emp-dashboard .card-footer {
    background: #f8fafc !important;
}

#body:not(.dark-theme) .emp-dashboard .text-blue,
#body:not(.dark-theme) .emp-dashboard .text-red {
    font-size: 26px !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}

#body:not(.dark-theme) .emp-dashboard .progress {
    height: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #e8eef5 !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08) !important;
}

#body:not(.dark-theme) .emp-dashboard .progress-bar.bg-primary {
    background: #2563eb !important;
    animation: none !important;
}

#body:not(.dark-theme) .emp-dashboard .week-pagination .page-link {
    width: 38px;
    height: 38px;
    border-color: #e2e8f0;
    background: #ffffff;
    box-shadow: none !important;
    font-weight: 800;
}

#body:not(.dark-theme) .emp-dashboard .week-pagination .page-item.active .page-link {
    background: #2563eb !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2) !important;
    animation: none !important;
}

#body:not(.dark-theme) .emp-dashboard .fa-list,
#body:not(.dark-theme) .emp-dashboard .fa-layer-group,
#body:not(.dark-theme) .emp-dashboard .fa-file-alt,
#body:not(.dark-theme) .emp-dashboard .fa-file,
#body:not(.dark-theme) .emp-dashboard .bi-file-earmark-text {
    background: #f1f5f9 !important;
    color: #64748b !important;
    box-shadow: none !important;
}

#body:not(.dark-theme) .main-header {
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

#body .page-header-right .header-icon-box:hover {
    background: #eff6ff !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    #body:not(.dark-theme) .emp-dashboard {
        padding: 22px 18px 34px !important;
    }

    #body:not(.dark-theme) .wc-dashboard-hero {
        padding: 24px !important;
    }

    #body:not(.dark-theme) .wc-hero-clock {
        min-width: 0;
        width: 100%;
        justify-content: flex-start !important;
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    #body:not(.dark-theme) .emp-dashboard {
        padding: 18px 12px 28px !important;
    }

    #body:not(.dark-theme) .wc-dashboard-hero {
        border-radius: 20px !important;
        padding: 20px !important;
    }

    #body:not(.dark-theme) .wc-kpi-card {
        min-height: 94px;
        border-radius: 18px;
        padding: 16px;
    }

    #body:not(.dark-theme) .wc-hero-meta span {
        width: 100%;
    }
}


/* Dashboard cleanup v3 */
#body:not(.dark-theme) .emp-dashboard {
    max-width: 1540px;
    padding-top: 24px !important;
}

#body:not(.dark-theme) .wc-dashboard-hero {
    margin-bottom: 16px !important;
    padding: 24px 28px !important;
    border-radius: 22px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 64%, #f1f6ff 100%) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
}

#body:not(.dark-theme) .wc-hero-eyebrow {
    margin-bottom: 10px;
    padding: 6px 11px;
    font-size: 10px;
}

#body:not(.dark-theme) .wc-dashboard-hero h3 {
    margin-bottom: 8px !important;
    font-size: clamp(24px, 1.9vw, 32px) !important;
}

#body:not(.dark-theme) .wc-hero-subtitle {
    max-width: 590px;
    font-size: 14px;
    line-height: 1.55;
}

#body:not(.dark-theme) .wc-hero-meta {
    margin-top: 14px;
    gap: 8px;
}

#body:not(.dark-theme) .wc-hero-meta span {
    min-height: 31px;
    padding: 0 11px;
    font-size: 11px;
}

#body:not(.dark-theme) .wc-hero-clock {
    min-width: 320px;
}

#body:not(.dark-theme) .wc-hero-clock p {
    min-width: 142px;
    padding: 11px 15px;
    border-radius: 17px;
}

#body:not(.dark-theme) #dashboard-clock {
    font-size: 20px;
}

#body #clock-in,
#body #clock-out {
    min-height: 50px !important;
    padding: 0 22px !important;
    border-radius: 16px !important;
}

#body:not(.dark-theme) .wc-dashboard-kpis {
    margin-bottom: 12px;
}

#body:not(.dark-theme) .wc-dashboard-kpis > [class*="col-"] {
    margin-bottom: 14px !important;
}

#body:not(.dark-theme) .wc-kpi-card {
    min-height: 94px;
    padding: 17px 18px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

#body:not(.dark-theme) .wc-kpi-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 14px;
}

#body:not(.dark-theme) .wc-kpi-copy {
    gap: 2px;
}

#body:not(.dark-theme) .wc-kpi-copy strong {
    font-size: 24px;
}

#body:not(.dark-theme) .wc-kpi-copy em {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 800;
}

#body:not(.dark-theme) .wc-dashboard-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 12px;
    color: #475569;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#body:not(.dark-theme) .wc-dashboard-section-title::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #dbe4f0;
}

#body:not(.dark-theme) .emp-dash-detail > .e-d-info-notices,
#body:not(.dark-theme) .emp-dash-detail > .e-d-tasks-projects-events {
    margin-top: 2px;
}

#body:not(.dark-theme) .e-d-tasks-projects-events > .row.mb-3 {
    margin-top: 0 !important;
}

#body:not(.dark-theme) .emp-dashboard .e-d-info {
    min-height: auto;
}

#body:not(.dark-theme) .emp-dashboard .e-d-info .card-horizontal {
    padding: 18px 22px;
}

#body:not(.dark-theme) .emp-dashboard .e-d-info .card-img {
    width: 88px;
    height: 88px;
    min-width: 88px;
    margin: 0 20px 0 0;
    border-radius: 22px;
}

#body:not(.dark-theme) .emp-dashboard .e-d-info .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

#body:not(.dark-theme) .emp-dashboard .e-d-info .card-body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#body:not(.dark-theme) .emp-dashboard .e-d-info .card-footer {
    display: none !important;
}

#body:not(.dark-theme) .emp-dashboard .card,
#body:not(.dark-theme) .emp-dashboard .bg-white.rounded.b-shadow-4,
#body:not(.dark-theme) .emp-dashboard .x-card,
#body:not(.dark-theme) .emp-dashboard .white-box {
    border-radius: 18px !important;
    box-shadow: 0 9px 22px rgba(15, 23, 42, 0.045) !important;
}

#body:not(.dark-theme) .emp-dashboard .bg-white.p-20.rounded.b-shadow-4,
#body:not(.dark-theme) .emp-dashboard .card .card-header,
#body:not(.dark-theme) .emp-dashboard .card .card-body {
    padding: 18px !important;
}

#body:not(.dark-theme) .emp-dashboard h4,
#body:not(.dark-theme) .emp-dashboard h5,
#body:not(.dark-theme) .emp-dashboard .card-title {
    font-size: 16px !important;
}

#body:not(.dark-theme) .emp-dashboard .badge {
    box-shadow: none !important;
}

#body:not(.dark-theme) .emp-dashboard .week-pagination {
    margin-bottom: 14px;
}

#body:not(.dark-theme) .emp-dashboard .week-pagination .page-link {
    width: 36px;
    height: 36px;
    font-size: 12px !important;
}

#body:not(.dark-theme) .emp-dashboard .progress {
    height: 16px !important;
}

#body:not(.dark-theme) .document-list,
#body:not(.dark-theme) .h-200 {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

#body:not(.dark-theme) .main-header {
    height: 78px;
}

#body:not(.dark-theme) .main-header .navbar-left,
#body:not(.dark-theme) .main-header .page-header-right {
    height: 78px;
}

@media (max-width: 1199px) {
    #body:not(.dark-theme) .wc-hero-clock {
        min-width: 0;
        width: 100%;
        justify-content: flex-start !important;
        margin-top: 18px !important;
    }
}

@media (max-width: 575px) {
    #body:not(.dark-theme) .wc-dashboard-hero {
        padding: 18px !important;
    }

    #body:not(.dark-theme) .wc-kpi-card {
        min-height: 86px;
    }
}

/* Sidebar menu refinement v4 */
#body .main-sidebar {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 4%, rgba(37, 99, 235, 0.22), transparent 26%),
        linear-gradient(180deg, #0d1726 0%, #111c2b 44%, #0b1421 100%) !important;
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 18px 0 42px rgba(2, 6, 23, 0.22) !important;
}

#body .main-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.85;
}

#body .sidebar-brand-box {
    position: relative;
    min-height: 96px;
    padding: 18px 18px 16px !important;
    background: rgba(15, 23, 42, 0.38) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.035);
}

#body .sidebar-brand {
    min-height: 60px;
    padding: 0 !important;
}

#body .sidebar-brand-name {
    min-width: 0;
}

#body .sidebar-brand-name h1 {
    max-width: 184px;
    overflow: hidden;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: none !important;
}

#body .sidebar-brand-name h1 .icons,
#body .sidebar-brand-logo .icons {
    color: #60a5fa !important;
    font-size: 12px;
}

#body .sidebar-brand-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

#body .sidebar-brand-logo img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

#body .pro-name {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    max-width: 210px;
    margin-top: 9px !important;
    padding: 5px 9px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
}

#body .pro-name span,
#body .bg-light-green.rounded-circle {
    width: 9px !important;
    height: 9px !important;
    margin: 0 !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12), 0 0 10px rgba(34, 197, 94, 0.52) !important;
    animation: none !important;
}

#body .pro-name p {
    max-width: 150px;
    overflow: hidden;
    color: #b8c4d6 !important;
    font-size: 12px !important;
    line-height: 1.25;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#body .sidebar-menu {
    position: relative;
    padding: 14px 0 92px !important;
    background: transparent !important;
}

#body #sideMenuScroll::-webkit-scrollbar {
    width: 6px;
}

#body #sideMenuScroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.22);
}

#body #sideMenuScroll::-webkit-scrollbar-track {
    background: transparent;
}

#body .sidebar-menu .accordionItem {
    margin: 0 !important;
    padding: 0 !important;
    animation: none !important;
}

#body .sidebar-menu .nav-item {
    position: relative;
    min-height: 52px;
    display: flex !important;
    align-items: center;
    margin: 4px 14px !important;
    padding: 0 16px !important;
    border: 1px solid transparent;
    border-radius: 16px !important;
    color: #97a6ba !important;
    font-size: 14px !important;
    line-height: 1;
    font-weight: 750 !important;
    letter-spacing: -0.01em;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden;
    transform: none !important;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

#body .sidebar-menu .nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: #3b82f6;
    opacity: 0;
    transform: none !important;
    transition: opacity 160ms ease;
}

#body .sidebar-menu .nav-item:hover {
    border-color: rgba(96, 165, 250, 0.10) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #e5edf8 !important;
}

#body .sidebar-menu .nav-item.active,
#body .sidebar-menu .accordionItemHeading.active,
#body .sidebar-menu li.active > .nav-item {
    border-color: rgba(59, 130, 246, 0.24) !important;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.22), rgba(37, 99, 235, 0.08)) !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.06), 0 10px 22px rgba(37, 99, 235, 0.12) !important;
}

#body .sidebar-menu .nav-item:hover::before,
#body .sidebar-menu .nav-item.active::before,
#body .sidebar-menu .accordionItemHeading.active::before,
#body .sidebar-menu li.active > .nav-item::before {
    opacity: 1;
}

#body .sidebar-menu .nav-item svg,
#body .sidebar-menu .nav-item i {
    width: 19px;
    min-width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8ea0b8 !important;
    transform: none !important;
    transition: color 160ms ease;
}

#body .sidebar-menu .nav-item:hover svg,
#body .sidebar-menu .nav-item:hover i,
#body .sidebar-menu .nav-item.active svg,
#body .sidebar-menu .nav-item.active i,
#body .sidebar-menu .accordionItemHeading.active svg,
#body .sidebar-menu .accordionItemHeading.active i {
    color: #60a5fa !important;
}

#body .sidebar-menu .nav-item span:not(.badge) {
    min-width: 0;
    overflow: hidden;
    padding-left: 14px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: none !important;
}

#body .sidebar-menu .nav-item .menu-item-count,
#body .sidebar-menu .nav-item .badge {
    margin-left: auto;
    border-radius: 999px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 900 !important;
}

#body .sidebar-menu .accordionItemContent {
    margin: -1px 14px 8px !important;
    padding: 7px 0 7px 34px !important;
    border-left: 1px solid rgba(148, 163, 184, 0.12);
}

#body .sidebar-menu .accordionItemContent a {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px !important;
    border-radius: 12px;
    color: #8ea0b8 !important;
    font-size: 13px !important;
    font-weight: 700;
    transition: color 160ms ease, background-color 160ms ease;
}

#body .sidebar-menu .accordionItemContent a:hover,
#body .sidebar-menu .accordionItemContent a.active {
    background: rgba(255, 255, 255, 0.055) !important;
    color: #ffffff !important;
}

#body .sidebarTogglerBox {
    min-height: 58px;
    padding: 0 16px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(11, 20, 33, 0.92) !important;
    backdrop-filter: blur(10px);
}

#body #sidebarToggle {
    width: 34px;
    height: 34px;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #aebcd0 !important;
    transition: background-color 160ms ease, color 160ms ease;
}

#body #sidebarToggle:hover {
    background: rgba(37, 99, 235, 0.18) !important;
    color: #ffffff !important;
}

#body .sidebarTogglerBox .btn-primary {
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(37, 99, 235, 0.18) !important;
    color: #bfdbfe !important;
    font-weight: 800 !important;
}

#body .sidebarTogglerBox p,
#body .sidebarTogglerBox a {
    color: #7f8da3 !important;
}
@media (max-width: 991px) {
    #body .sidebar-menu .nav-item {
        min-height: 50px;
        margin-left: 12px !important;
        margin-right: 12px !important;
    }
}

/* Sidebar reference style v5 */
@media (min-width: 992px) {
    #body .main-sidebar,
    #body aside,
    #body .sidebarTogglerBox {
        width: 240px !important;
    }

    #body .main-header,
    #body .main-container {
        margin-left: 240px !important;
    }
}

#body .main-sidebar {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 18% 0%, rgba(34, 211, 238, 0.20), transparent 30%),
        radial-gradient(circle at 100% 26%, rgba(79, 70, 229, 0.16), transparent 28%),
        linear-gradient(180deg, #041b3d 0%, #061936 48%, #061326 100%) !important;
    border-right: 1px solid rgba(96, 165, 250, 0.14) !important;
    box-shadow: 22px 0 52px rgba(2, 6, 23, 0.28) !important;
}

#body .main-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.020) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(0,0,0,0.25));
}

#body .sidebar-brand-box {
    position: relative;
    z-index: 1;
    min-height: 88px !important;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 18px 22px 16px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#body .sidebar-brand {
    width: 100%;
    min-height: 52px !important;
    justify-content: flex-start !important;
    gap: 12px;
    padding: 0 !important;
}

#body .sidebar-brand-logo {
    order: -1;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    margin: 0 !important;
    border: 1px solid rgba(34, 211, 238, 0.45) !important;
    border-radius: 18px !important;
    background: rgba(4, 20, 45, 0.56) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 14px 30px rgba(14, 165, 233, 0.12) !important;
}

#body .sidebar-brand-logo img {
    max-width: 36px !important;
    max-height: 36px !important;
    object-fit: contain;
}

#body .sidebar-brand-name {
    min-width: 0;
    flex: 1;
}

#body .sidebar-brand-name h1 {
    max-width: 142px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.14 !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em !important;
    white-space: normal !important;
    text-shadow: none !important;
}

#body .sidebar-brand-name h1 .icons,
#body .sidebar-brand-logo .icons {
    display: none !important;
}

#body .pro-name {
    display: none !important;
}

#body .sidebar-menu {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
    padding: 4px 0 10px !important;
    background: transparent !important;
}

#body .sidebar-menu::-webkit-scrollbar,
#body #sideMenuScroll::-webkit-scrollbar {
    width: 4px !important;
}

#body .sidebar-menu::-webkit-scrollbar-thumb,
#body #sideMenuScroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.20) !important;
}

#body .sidebar-menu::-webkit-scrollbar-track,
#body #sideMenuScroll::-webkit-scrollbar-track {
    background: transparent !important;
}

#body .sidebar-menu .accordionItem {
    margin: 0 !important;
    padding: 0 !important;
    animation: none !important;
}

#body .sidebar-menu .nav-item {
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    margin: 4px 14px !important;
    padding: 0 16px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.84) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: -0.012em;
    transform: none !important;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

#body .sidebar-menu .nav-item::before {
    display: none !important;
}

#body .sidebar-menu .nav-item svg,
#body .sidebar-menu .nav-item i {
    width: 21px !important;
    min-width: 21px !important;
    height: 21px !important;
    color: rgba(255,255,255,0.90) !important;
    transform: none !important;
    transition: color 160ms ease, opacity 160ms ease;
}

#body .sidebar-menu .nav-item span:not(.badge) {
    padding-left: 15px !important;
    color: inherit !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: none !important;
}

#body .sidebar-menu .nav-item:hover {
    border-color: rgba(255, 255, 255, 0.10) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: #ffffff !important;
}

#body .sidebar-menu .nav-item.active,
#body .sidebar-menu .accordionItemHeading.active,
#body .sidebar-menu li.active > .nav-item {
    border-color: rgba(129, 140, 248, 0.34) !important;
    background: linear-gradient(135deg, #3578ff 0%, #635bff 52%, #7847ff 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 15px 28px rgba(79, 70, 229, 0.30), inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

#body .sidebar-menu .nav-item.active svg,
#body .sidebar-menu .nav-item.active i,
#body .sidebar-menu .accordionItemHeading.active svg,
#body .sidebar-menu .accordionItemHeading.active i,
#body .sidebar-menu li.active > .nav-item svg,
#body .sidebar-menu li.active > .nav-item i {
    color: #ffffff !important;
}

#body .sidebar-menu .nav-item .menu-item-count,
#body .sidebar-menu .nav-item .badge {
    margin-left: auto;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.22) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 900 !important;
}

#body .sidebar-menu .accordionItemContent {
    margin: -2px 14px 6px !important;
    padding: 6px 0 6px 38px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.09) !important;
}

#body .sidebar-menu .accordionItemContent a {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 10px !important;
    border-radius: 8px !important;
    color: rgba(255,255,255,0.66) !important;
    font-size: 13px !important;
    font-weight: 750 !important;
}

#body .sidebar-menu .accordionItemContent a:hover,
#body .sidebar-menu .accordionItemContent a.active {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #ffffff !important;
}

#body .wc-sidebar-bottom-panel {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    padding: 10px 14px 70px;
}

#body .wc-sidebar-help-card {
    margin: 0 10px 18px;
    padding: 20px 18px;
    border: 1px solid rgba(129, 140, 248, 0.18);
    border-radius: 9px;
    background:
        radial-gradient(circle at 24% 18%, rgba(99, 102, 241, 0.38), transparent 34%),
        linear-gradient(145deg, rgba(31, 42, 94, 0.96), rgba(20, 35, 82, 0.92));
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}

#body .wc-sidebar-help-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #5c7cff, #7c3aed);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.36);
    font-size: 20px;
}

#body .wc-sidebar-help-card h4 {
    margin: 0 0 6px;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.2;
    font-weight: 900 !important;
}

#body .wc-sidebar-help-card p {
    margin: 0 0 16px;
    color: rgba(255,255,255,0.76) !important;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 700;
}

#body .wc-sidebar-support-btn {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #4f6dff, #6d5cff);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.28);
}

#body .wc-sidebar-support-btn:hover {
    filter: brightness(1.05);
}

#body .wc-sidebar-footer {
    margin: 0 10px;
    color: rgba(255,255,255,0.74);
    font-size: 11px;
    line-height: 1.55;
    font-weight: 700;
}

#body .wc-sidebar-footer span {
    display: block;
}

#body .sidebarTogglerBox {
    left: 0 !important;
    bottom: 14px !important;
    width: 240px !important;
    min-height: 44px !important;
    padding: 0 22px !important;
    justify-content: flex-end !important;
    border: 0 !important;
    background: transparent !important;
    pointer-events: none;
}

#body .sidebarTogglerBox > .d-flex {
    display: none !important;
}

#body #sidebarToggle {
    width: 36px !important;
    height: 36px !important;
    pointer-events: auto;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.10) !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 10px 22px rgba(2, 6, 23, 0.24) !important;
}

#body #sidebarToggle:hover {
    background: rgba(99, 102, 241, 0.38) !important;
}

@media (max-height: 820px) and (min-width: 992px) {
    #body .sidebar-menu .nav-item {
        min-height: 50px !important;
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }

    #body .wc-sidebar-help-card {
        display: none !important;
    }
}

@media (max-width: 991px) {
    #body .wc-sidebar-bottom-panel {
        padding-bottom: 22px;
    }

    #body .sidebarTogglerBox {
        display: none !important;
    }
}

/* Sidebar fixed-shell repair v6 */
@media (min-width: 992px) {
    body#body > aside {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 240px !important;
        height: 100vh !important;
        z-index: 1040 !important;
        overflow: hidden !important;
        background: #061326 !important;
    }

    body#body .main-sidebar {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: 240px !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        transform: none !important;
    }

    body#body .main-header,
    body#body .main-container {
        margin-left: 240px !important;
        width: calc(100% - 240px) !important;
    }

    body#body .body-wrapper {
        margin-left: 0 !important;
    }

    body#body .sidebar-brand-box {
        flex: 0 0 88px !important;
        width: 240px !important;
    }

    body#body .sidebar-menu {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    body#body .wc-sidebar-bottom-panel {
        flex: 0 0 auto !important;
        width: 240px !important;
        max-height: 300px;
        overflow: hidden;
    }

    body#body .sidebarTogglerBox {
        position: fixed !important;
        left: 0 !important;
        bottom: 14px !important;
        width: 240px !important;
        z-index: 1041 !important;
    }
}

@media (min-width: 992px) and (max-height: 780px) {
    body#body .wc-sidebar-help-card {
        display: none !important;
    }

    body#body .wc-sidebar-bottom-panel {
        max-height: 118px;
        padding-top: 6px !important;
    }
}

@media (max-width: 991px) {
    body#body > aside {
        position: static !important;
        width: auto !important;
        height: auto !important;
    }

    body#body .main-header,
    body#body .main-container {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

