﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

.mobile-display {
    display: none !important;
    visibility: hidden !important;
}

@media (min-width:500px) {
    .mobile-display {
        display: block !important;
        visibility: visible !important;

    }
}

.btn-salam {
    color: black;
    border: solid 2px #303992;
    background-color: white;
    border-radius: 5px;
}

.btn-salam:hover {
    background-color: #303992;
    color: white;
}

.text-salam {
    color: #071437 !important;
}

/*th {
    text-align: center !important;
    vertical-align: middle !important; 

}*/
th {
    /*    color: #e !important;*/
    font-weight: 300 !important;
    padding: 15px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    /*    font-size:14px !important;*/
}

td {
    padding: 15px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}


td:hover {
    /*        background-color: #dedede !important;  */
    /*        color: dedede !important;  */
    /*        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05) !important;  */
}

.show-none {
    display: none !important;
}


.spinner {
    position: absolute;
    width: 9px;
    height: 9px;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(9 7 7 / 60%);
    backdrop-filter: blur(5px);
    /* Enhanced blur effect for a glass-like feel */
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.d-none {
    display: none !important;
}


.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    /* Adjust as needed */
}

.loader {
    --c1: #000000;
    --c2: #303992;
    width: 35px;
    height: 60px;
    border-top: 4px solid var(--c1);
    border-bottom: 4px solid var(--c1);
    background: linear-gradient(90deg, var(--c1) 2px, var(--c2) 0 5px, var(--c1) 0) 50%/7px 8px no-repeat;
    display: grid;
    overflow: hidden;
    animation: l5-0 2s infinite linear;
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    width: 75%;
    height: calc(50% - 4px);
    margin: 0 auto;
    border: 2px solid var(--c1);
    border-top: 0;
    box-sizing: content-box;
    border-radius: 0 0 40% 40%;
    -webkit-mask: linear-gradient(#000 0 0) bottom/4px 2px no-repeat, linear-gradient(#000 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    background: linear-gradient(var(--d, 0deg), var(--c2) 50%, #0000 0) bottom /100% 205%, linear-gradient(var(--c2) 0 0) center/0 100%;
    background-repeat: no-repeat;
    animation: inherit;
    animation-name: l5-1;
}

.loader::after {
    transform-origin: 50% calc(100% + 2px);
    transform: scaleY(-1);
    --s: 3px;
    --d: 180deg;
}

.loading-text {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    animation: blink 1.5s infinite;
}

@keyframes l5-0 {
    80% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0.5turn);
    }
}

@keyframes l5-1 {

    10%,
    70% {
        background-size: 100% 205%, var(--s, 0) 100%;
    }

    70%,
    100% {
        background-position: top, center;
    }
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.5;
    }
}

.ui-switch {
    --switch-bg-light: #e2e1e6;
    --switch-bg-dark: #333;
    --switch-width: 60px;
    --switch-height: 28px;
    --circle-diameter: 24px;
    --circle-bg: white;
}

.ui-switch input {
    display: none;
}

.slider {
    width: var(--switch-width);
    height: var(--switch-height);
    background: var(--switch-bg-light);
    border-radius: 999px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    padding: 2px 8px;
}

.menu-icon {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
}

.circle {
    width: var(--circle-diameter);
    height: var(--circle-diameter);
    position: absolute;
    background: var(--circle-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 3px;
    transition: right 0.3s ease-in-out;
}

.circle i {
    font-size: 14px;
    transition: color 0.3s ease-in-out;
}

/* Move the circle to the left for Dark Mode */
.ui-switch input:checked+.slider .circle {
    right: calc(100% - var(--circle-diameter) - 3px);
}

.ui-switch input:checked+.slider {
    background: var(--switch-bg-dark);
}

/* Adjust icons for Dark Mode */
.ui-switch input:checked+.slider #theme-icon {
    color: #fff;
}

.ui-switch input:checked+.slider #sun-icon {
    opacity: 1;
}

.ui-switch input:checked+.slider #moon-icon {
    opacity: 0.5;
}

/* Adjust icons for Light Mode */
.ui-switch input:not(:checked)+.slider #theme-icon {
    color: #333;
}

.ui-switch input:not(:checked)+.slider #sun-icon {
    opacity: 0.5;
}

.ui-switch input:not(:checked)+.slider #moon-icon {
    opacity: 1;
}

.parent-table {
    background-color: #efefef;
    padding: 10px;
    border-radius: 35px;
}

.parent-table-text {
    color: black !important;
}

.card-table {
    background-color: #efefef;
    padding: 10px;
    border-radius: 35px;
    /*    border-top-right-radius:70px;*/
}

.form-body {
    background-color: #efefef;
    /*    background-color: #e2e7f0;*/
    padding: 8px;
    border-radius: 35px;
}

.menu-text {
    font-size: 0.9px;
}



/* From Uiverse.io by e-coders */
@keyframes ldio-4j5ay0xf86g {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.ldio-4j5ay0xf86g div {
    left: 94px;
    top: 48px;
    position: absolute;
    animation: ldio-4j5ay0xf86g linear 1s infinite;
    background: #303992;
    width: 10px;
    height: 15px;
    border-radius: 6px / 12px;
    transform-origin: 6px 52px;
}

.ldio-4j5ay0xf86g div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -0.9166666666666666s;
    background: #303992;
}

.ldio-4j5ay0xf86g div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -0.8333333333333334s;
    background: #303992;
}

.ldio-4j5ay0xf86g div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.75s;
    background: #303992;
}

.ldio-4j5ay0xf86g div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.6666666666666666s;
    background: #009000;
}

.ldio-4j5ay0xf86g div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.5833333333333334s;
    background: #009000;
}

.ldio-4j5ay0xf86g div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.5s;
    background: #009000;
}

.ldio-4j5ay0xf86g div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.4166666666666667s;
    background: #009000;
}

.ldio-4j5ay0xf86g div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.3333333333333333s;
    background: #303992;
}

.ldio-4j5ay0xf86g div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.25s;
    background: #009000
}

.ldio-4j5ay0xf86g div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.16666666666666666s;
    background: #303992;
}

.ldio-4j5ay0xf86g div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.08333333333333333s;
    background: #303992;
}

.ldio-4j5ay0xf86g div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
    background: #009000;
}

.loadingio-spinner-spinner-977el9wwy2v {
    width: 150px;
    height: 150px;
    display: inline-block;
    overflow: hidden;
}

.ldio-4j5ay0xf86g {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0;
    /* see note above */
}

.ldio-4j5ay0xf86g div {
    box-sizing: content-box;
}

/* From Uiverse.io by vk-uiux */
.cardskelton {
    width: 18rem;
    padding: 1rem;
    text-align: center;
    border-radius: .8rem;
    background-color: white;
}

.card__skeleton {
    background-image: linear-gradient(90deg, #ccc 0px, rgb(229 229 229 / 90%) 40px, #ccc 80px);
    background-size: 300%;
    background-position: 100% 0;
    border-radius: inherit;
    animation: shimmer 1.5s infinite;
}

.card__title {
    height: 15px;
    margin-bottom: 15px;
}

.card__description {
    height: 100px;
}

@keyframes shimmer {
    to {
        background-position: -100% 0;
    }
}


/* From Uiverse.io by Nawsome */
.card-loader {
    position: relative;
    width: 330px;
    height: 220px;
    margin-bottom: 10px;
    border: 1px solid #d3d3d3;
    padding: 15px;
    background-color: #f5f5f5;
    overflow: hidden;
    border-radius: 30px;
}

.card-loader:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(110deg, rgba(227, 227, 227, 0) 0%, rgba(227, 227, 227, 0) 40%, rgba(227, 227, 227, 0.5) 50%, rgba(227, 227, 227, 0) 60%, rgba(227, 227, 227, 0) 100%);
    animation: gradient-animation_2 1.2s linear infinite;
}

.card-loader .wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-loader .wrapper>div {
    background-color: #cacaca;
}

.card-loader .round {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.card-loader .button {
    display: inline-block;
    height: 32px;
    width: 75px;
}

.card-loader .line-a {
    position: absolute;
    top: 11px;
    left: 58px;
    height: 10px;
    width: 100px;
}

.card-loader .line-b {
    position: absolute;
    top: 34px;
    left: 58px;
    height: 10px;
    width: 150px;
}

.card-loader .line-c {
    position: absolute;
    top: 57px;
    left: 0px;
    height: 10px;
    width: 100%;
}

.card-loader .line-d {
    position: absolute;
    top: 80px;
    left: 0px;
    height: 10px;
    width: 92%;
}

@keyframes gradient-animation_2 {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* From Uiverse.io by adamgiebl */
.transferbtn {
    display: flex;
    align-items: center;
    font-family: inherit;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.15rem;
    padding: 0.55rem 1rem;
    color: white;
    background: #303992;
    background: -o-linear-gradient(top, #2a428c 10%, #007a3b 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, #2a428c), to(#007a3b));
    background: linear-gradient(180deg, #2a428c 10%, #007a3b 100%);
    border-radius: 0.725rem;
    border: none;
    letter-spacing: 0.05em;

}

button svg {
    margin-right: 3px;
    /*    transform: rotate(30deg);*/
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

button span {
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

button:hover svg {
    transform: translateX(5px) rotate(90deg);
}

button:hover span {
    transform: translateX(7px);
}

.cancelbtn {
    display: flex;
    align-items: center;
    font-family: inherit;
    cursor: pointer;
    font-weight: 500;
    font-size: 17px;
    padding: 0.8em 1.3em 0.8em 0.9em;
    color: white;
    background: #b30000;
    /* Solid fallback red */
    background: -o-linear-gradient(top, #d32f2f 10%, #8b0000 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, #d32f2f), to(#8b0000));
    background: linear-gradient(180deg, #d32f2f 10%, #8b0000 100%);
    border-radius: 35px;
    border: none;
    letter-spacing: 0.05em;
    border-radius: 16px;
}

button svg {
    margin-right: 3px;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

button span {
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

button:hover svg {
    transform: translateX(5px) rotate(90deg);
}

button:hover span {
    transform: translateX(7px);
}

.text-skeleton {
    display: inline-block;
    width: 100px;
    /* Adjust width as needed */
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loading 1.5s infinite linear;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

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


#tasks-card {
    width: 250px;
    height: 200px;
    background: #2a428c;
    /*    background: -o-linear-gradient(top, #2a428c 10%, #007a3b 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, #2a428c), to(#007a3b));
    background: linear-gradient(180deg, #2a428c 10%, #007a3b 100%);*/
    border-radius: 20px;
    color: white;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
}

#card-content {
    padding: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

#card-content #task-card-title {
    font-size: 15px;

}

#card-content .card-para {
    color: inherit;
    font-size: 14px;
}

#tasks-card:hover {
    transform: rotateY(10deg) rotateX(10deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#tasks-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2a428c;
    /* Fallback solid deep blue */
    background: -o-linear-gradient(top, #2a428c 10%, #007a3b 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, #2a428c), to(#007a3b));
    background: linear-gradient(180deg, #2a428c 10%, #007a3b 100%);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
}

#tasks-card:hover:before {
    transform: translateX(-100%);
}

#tasks-card:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
}

#tasks-card:hover:after {
    transform: translateX(100%);
}

.g1 {
    background: #3494E6;
    /* fallback for old browsers */
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fad0c4, #ffdde1);
}

.g2 {
    background: #7F7FD5;
    /* fallback for old browsers */
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb, #cfd9df, #e2ebf0);
}

.g3 {
    background: #7F7FD5;
    /* fallback for old browsers */
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb, #cfd9df, #e2ebf0);
}

.g4 {
    background: #3494E6;
    /* fallback for old browsers */
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fad0c4, #ffdde1);
}


.chart-container {
    max-height: 500px !important;
    /* Adjust based on layout */
    overflow-y: auto !important;

}

.receipt {
    /*border-radius: 30px !important;*/
    padding: 2.1rem !important;
}


/* From Uiverse.io by Maximinodotpy */
.floatInputLabel {
    font-family: 'Segoe UI', sans-serif;
    margin: 2em 0 1em 0;
    max-width: 100%;
    position: relative;
}

.floatInputLabel input {
    font-size: 100%;
    padding: 0.8em;
    outline: none;
    border: 1px solid #303992;
    background-color: transparent;
    border-radius: 10px;
    width: 100%;
}

.floatInputLabel label {
    font-size: 100%;
    position: absolute;
    left: 0;
    padding: 0.8em;
    margin-left: 0.5em;
    pointer-events: none;
    transition: all 0.3s ease;
    color: #009000;
}

.floatInputLabel :is(input:focus, input:valid)~label {
    transform: translateY(-50%) scale(.9);
    margin: 0em;
    margin-left: 1.3em;
    padding: 0.4em;
    background-color: white;
}

.floatInputLabel :is(input:focus, input:valid) {
    border-color: #303992;
}

.icon-sm {
    width: 16px !important;
    height: 16px !important;
}

.icon-lg {
    width: 20px !important;
    height: 20px !important;
}

.mh-400 {
    height: 400px !important;
}

.maincenter {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;

    box-sizing: border-box;
    background-color: #f8f9fa;
    /*    text-align: center;*/
}

/*.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    cursor: pointer;
    color: #999;
    z-index: 2;
}

    .toggle-password:hover {
        color: #333;
    }

.position-relative {
    position: relative;
}

/* ==========================================================================
   Iteration 13: Aero Elite Sidebar Redesign
   ========================================================================== */

.app-sidebar {
    background: linear-gradient(165deg, #253992 0%, #1a2a6c 100%) !important;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Localized Mesh Depth Effect */
.app-sidebar::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(119, 192, 51, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.app-sidebar::after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 57, 146, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Sidebar Menu Heading */
.app-sidebar .menu .menu-item .menu-heading {
    color: rgba(255, 255, 255, 0.35) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    padding-left: 2rem !important;
}

/* Menu Links and Icons */
.app-sidebar .menu .menu-item .menu-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.85rem 1.5rem !important;
    border-radius: 12px !important;
    margin: 0.2rem 1rem !important;
    transition: all 0.3s ease !important;
}

.app-sidebar .menu .menu-item .menu-link .menu-icon i {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.4rem !important;
    transition: all 0.3s ease !important;
}

/* Glassmorphic Hover State */
.app-sidebar .menu .menu-item .menu-link:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(4px);
    color: #ffffff !important;
}

.app-sidebar .menu .menu-item .menu-link:hover .menu-icon i {
    color: #ffffff !important;
    transform: translateX(3px);
}

/* Active State - Bloom Green Refraction */
.app-sidebar .menu .menu-item .menu-link.active {
    background: rgba(119, 192, 51, 0.15) !important;
    color: #77c033 !important;
    box-shadow: inset 0 0 15px rgba(119, 192, 51, 0.1);
}

.app-sidebar .menu .menu-item .menu-link.active .menu-icon i {
    color: #77c033 !important;
    text-shadow: 0 0 12px rgba(119, 192, 51, 0.4);
}

/* Menu Sub-Accordion Refinement */
.app-sidebar .menu .menu-item.menu-accordion.show>.menu-link {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* Menu Bullets */
.app-sidebar .menu .menu-item .menu-link .menu-bullet .bullet-dot {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

.app-sidebar .menu .menu-item .menu-link.active .menu-bullet .bullet-dot,
.app-sidebar .menu .menu-item:hover .menu-bullet .bullet-dot {
    background-color: #77c033 !important;
}

/* Sidebar Toggle Button - Premium Round */
#kt_app_sidebar_toggle {
    background-color: #77c033 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(119, 192, 51, 0.3) !important;
}

/* Scrollbar styling for Sidebar */
.app-sidebar .hover-scroll-y::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px;
}


/* ==========================================================================
   Modern Executive Dashboard Styles (Iteration 12)
   ========================================================================== */

/* Stat Cards / Premium Widgets */
.stat-widget-premium {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.stat-widget-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.stat-icon-outer {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
}

.stat-icon-outer i {
    font-size: 1.75rem !important;
}

/* Brand Icon Backgrounds with subtle glows */
.bg-light-blue-glow {
    background-color: rgba(37, 57, 146, 0.1) !important;
}

.bg-light-green-glow {
    background-color: rgba(119, 192, 51, 0.1) !important;
}

.bg-light-orange-glow {
    background-color: rgba(243, 112, 33, 0.1) !important;
}

.text-bloom-blue {
    color: #253992 !important;
}

.text-bloom-green {
    color: #77c033 !important;
}

.text-bloom-orange {
    color: #f37021 !important;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #071437;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #99a1b7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Profile / Welcome Header */
.executive-welcome-card {
    background: linear-gradient(135deg, #253992 0%, #1a2a6c 100%) !important;
    border-radius: 24px !important;
    padding: 2.5rem !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(37, 57, 146, 0.2) !important;
}

.executive-welcome-card::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(119, 192, 51, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Activity Feed Modernization */
.activity-item-premium {
    padding: 1.25rem;
    border-radius: 16px;
    transition: background 0.2s ease;
    border: 1px solid transparent;
}

.activity-item-premium:hover {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.03);
}

.activity-icon-premium {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

/* Chart Container Refinement */
.chart-container-premium {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 1.5rem !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

/* ==========================================================================
   Iteration 14: Elite Command Centre Redesign
   ========================================================================== */

/* 1. Skeleton Intelligence (Shimmer Loaders) */
.skeleton-shimmer {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 1048px;
    display: inline-block;
    position: relative;
    animation-duration: 1.2s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: skeletonShimmer;
    animation-timing-function: linear;
    border-radius: 8px;
}

@keyframes skeletonShimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.skeleton-text {
    height: 20px;
    width: 100%;
    margin-bottom: 10px;
}

.skeleton-title {
    height: 30px;
    width: 60%;
    margin-bottom: 15px;
}

.skeleton-circle {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

/* 2. Glass Intensity & Refinement */
.stat-widget-premium {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.03) !important;
}

.stat-widget-premium:hover .stat-icon-outer i {
    transform: scale(1.15) rotate(5deg);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 3. Entrance Core (Animations) */
.entrance-stagger {
    opacity: 0;
    transform: translateY(20px);
    animation: entranceStaggerMove 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

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

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* 4. ApexCharts Elite Tooltip Refinement */
.apexcharts-tooltip {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
}

.apexcharts-tooltip-title {
    background: #f8f9fa !important;
    border-bottom: 1px solid #eee !important;
    font-weight: 800 !important;
    padding: 10px !important;
}

/* 5. Refined Spacing & Shadow Depth */
.activity-feed-scroll::-webkit-scrollbar {
    width: 4px;
}

.activity-feed-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.activity-item-premium:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* ==========================================================================
   Iteration 15: Sidebar Expansion & Visual Balance
   ========================================================================== */

/* Override Metronic Sidebar Width for Elite Executive Look */
:root {
    --kt-app-sidebar-width: 300px !important;
    --kt-app-sidebar-width-minimize: 80px !important;
}

@media (min-width: 992px) {
    .app-default[data-kt-app-sidebar-minimize="on"] {
        --kt-app-sidebar-width: 80px !important;
    }
}

/* Ensure Logo Scales with Expanded Area */
.app-sidebar-header img {
    height: 25px !important;
    /* Increased from 15px for better visibility in 300px width */
    transition: height 0.3s ease;
}

[data-kt-app-sidebar-minimize="on"] .app-sidebar-header img {
    height: 20px !important;
}