/* button css start  */
.btn {
    padding: auto 20px !important;
    border-radius: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* .btn>i {
    margin-bottom: 3px;
} */

.btn-pill {
    border-radius: 50px;
}

.btn-theme {
    /* border-radius: 50px; */
    background: var(--ColorPrimary);
    color: var(--ColorLightPrimary);
    /* display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; */
    overflow: hidden;
    transition: .2s linear;
    position: relative;
    box-shadow: var(--BoxShadow) !important;
    z-index: 2;
    border: 1px solid var(--ColorPrimary);
    min-height: 40px;
}

.btn-theme:hover {
    color: var(--ColorPrimary);
    background: var(--ColorLightPrimary);
    border: 1px solid var(--ColorPrimary);
}

.btn-theme:focus {
    outline: none !important;
    box-shadow: var(--BoxShadow);
}

.btn-theme:active {
    box-shadow: var(--BoxShadow);
}

.btn-theme,
.btn-theme * {
    position: relative;
    z-index: 2;
}





.btn-theme-light {
    border-radius: 10px;
    background: var(--ColorLightPrimary);
    color: var(--ColorPrimary);
    /* display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; */
    overflow: hidden;
    transition: .2s linear;
    position: relative;
    box-shadow: var(--BoxShadow) !important;
    z-index: 2;
    border: 1px solid var(--ColorLightPrimary);
    min-height: 40px;
}

.btn-theme-light:hover {
    color: var(--ColorLightPrimary);
    background: var(--ColorPrimary);
    border: 1px solid var(--ColorLightPrimary);
}

.btn-theme-light:focus {
    outline: none !important;
    box-shadow: var(--BoxShadow);
}

.btn-theme-light:active {
    box-shadow: var(--BoxShadow);
}

.btn-theme-light,
.btn-theme-light * {
    position: relative;
    z-index: 2;
}





.btn-icon {
    width: 50px;
    height: 50px;
    color: var(--ColorLightPrimary);
    background-color: var(--ColorSecondary);
}

.btn-icon:hover {
    color: var(--ColorLightPrimary);
    background-color: var(--ColorPrimary) !important;
}







/* Ripple effect */
.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--ColorPrimary);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 1;
    /* always behind the content */
    opacity: 0;
}

/* Ripple animation when active */
.ripple:active::before {
    width: 300px;
    height: 300px;
    opacity: 1;
}

/* Ripple animation class for after click release */
.ripple.ripple-animating::before {
    width: 300px;
    height: 300px;
    opacity: 1;
}

/* Ripple shrinking animation */
.ripple.ripple-shrinking::before {
    width: 0;
    height: 0;
    opacity: 0;
}

/* CRITICAL FIX: Override hover state during active ripple */
.btn-theme.ripple:active,
.btn-theme.ripple:active *,
.ripple:active,
.ripple:active * {
    color: var(--ColorLightPrimary) !important;
    transition: color 0.3s ease-in-out !important;
}

/* button css end  */











/* ==========================================================================
   MODERN ASSET SHEBA CSS - CLEAN VERSION
   ========================================================================== */

/* Hide native search clear button */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

/* ==========================================================================
   LAYOUT & RESPONSIVE
   ========================================================================== */



/* ====================================
   HEADER BASE
==================================== */
header {
    background: var(--ColorLightPrimary);
    border-bottom: 1px solid var(--ColorPrimaryAlpha);
    box-shadow: var(--BoxShadow);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header .side-content {
    display: flex;
    align-items: center;
    height: auto;
}

/* ====================================
   LEFT & RIGHT SIDE CONTENT
==================================== */
header .left-side .side-content,
header .right-side .side-content {
    min-width: 300px;
    max-width: 300px;
}

@media (max-width: 1200px) {

    header .left-side .side-content,
    header .right-side .side-content {
        width: auto !important;
        min-width: auto !important;
        max-width: 100% !important;
    }
}

/* ====================================
   RIGHT SIDE MOBILE FIXED
==================================== */
@media (max-width: 991.98px) {
    header .right-side {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        background: var(--ColorLightPrimary);
        z-index: 1000;
        padding: 10px;
        border-radius: 10px 10px 0 0;
        height: auto !important;
        justify-content: center;
        gap: 10px;
    }
}

/* ====================================
   LEFT SIDE MOBILE
==================================== */
/* @media (max-width: 991.98px) {
    .left-side .side-content {
        flex: 1 1 auto;
        justify-content: flex-start;
        gap: 10px;
    }
} */

/* ====================================
   BUTTONS & BRAND
==================================== */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

/* ====================================
   MOBILE HEADER PADDING ADJUST
==================================== */




/* ==========================================================================
   DROPDOWN
   ========================================================================== */
/* .navbar-nav .nav-item .dropdown-toggle:hover {
    background: var(--ColorLightPrimary);
    color: var(--ColorPrimary);
    box-shadow: var(--BoxShadow);
}

.navbar-nav .nav-item .dropdown-toggle:focus {
    outline: none;
    box-shadow: var(--BoxShadow);
}

.navbar-nav .nav-item .dropdown-toggle:active {
    box-shadow: var(--BoxShadow);
} */


.dropdown-menu {
    background: var(--ColorLightPrimary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--ColorPrimaryAlpha);
    border-radius: 12px;
    box-shadow: var(--BoxShadow);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 250px;
    max-width: 300px;
    max-height: 400px;
    overflow-y: auto;
    position: absolute;
    left: 0;
    right: auto;
    z-index: 1050;
    padding: 4px 10px;
}


/* @media (max-width: 1200px) {
    .dropdown-menu {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        max-width: 90vw;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        left: 10px;
        right: 10px;
        transform: none;
        max-width: calc(100vw - 20px);
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .dropdown-menu {
        left: 5px;
        right: 5px;
        max-width: calc(100vw - 10px);
    }
} */

.dropdown-menu .dropdown-header {
    color: var(--ColorLightPrimary);
    font-weight: 700;
    font-size: var(--FontSizeSmall);
    background: var(--ColorPrimary);
    border-radius: 10px;
    padding: 10px;
}

.dropdown-menu .dropdown-footer {
    border-radius: 10px;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu .dropdown-footer:hover {
    background: var(--ColorPrimary) !important;
    color: var(--ColorLightPrimary) !important;
    box-shadow: var(--BoxShadow);
    cursor: pointer;
}

.dropdown-menu .dropdown-divider {
    margin: 8px 0;
    border-color: var(--ColorPrimaryAlpha);
}

.dropdown-menu .dropdown-item {
    color: var(--ColorDarkPrimary);
    font-size: var(--FontSizeSmall);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    position: relative;
    margin: 6px 0;
}

.dropdown-menu .dropdown-item:hover {
    background: var(--ColorPrimaryAlpha);
    color: var(--ColorPrimary);
    box-shadow: var(--BoxShadow);
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    background-color: var(--ColorPrimary) !important;
    color: var(--ColorLightPrimary);
}

/* Dropdown Arrow Animation */
.dropdown-toggle::after {
    display: none;
    box-shadow: none !important;
}

.dropdown-toggle::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: transform 0.3s ease;
    margin-left: 8px;
    display: inline-block;
    border: none;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: start;
}

.dropdown-item span {
    margin-top: 5px;
}