/* ===== Google Font Import - Poppins ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');
.dash > *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
:root{
    /* ===== Colors ===== */
    --bg-color-top:#ffffff;
    --primary-color-dark: #3A3B3C;
    --primary-color: #0E4BF1;
    --panel-color:#f3f1f2; /*#ffffff; */
    --side-bar-color:#FCFDFD;
    --text-color: #000;
    --black-light-color: #707070;
    --border-color: #e6e5e5;
    --toggle-color: #DDD;
    --box1-color: #4DA3FF;
    --box2-color: #FFE6AC;
    --box3-color: #E7D1FC;
    --title-icon-color: #fff;
    
    
    /* ====== Transition ====== */
    --tran-05: all 0.5s ease;
    --tran-03: all 0.3s ease;
    --tran-03: all 0.2s ease;
}
body{
    min-height: 100vh;
    /* background-color: var(--primary-color)!important; */
}
body.dark{
    --primary-color: #3A3B3C;
    --panel-color: #242526;
    --bg-color-top: #242526;
    --side-bar-color:#242526;
    --text-color: #CCC;
    --black-light-color: #CCC;
    --border-color: #4D4C4C;
    --toggle-color: #FFF;
    --box1-color: #3A3B3C;
    --box2-color: #3A3B3C;
    --box3-color: #3A3B3C;
    --title-icon-color: #CCC;
    --bs-app-secondary:#ccc;
    --bs-border-color:#5d5c5c;
    --bs-app-border-secondary:#5d5c5c;

}
/* === Custom Scroll Bar CSS === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: #0b3cc1;
}
body.dark::-webkit-scrollbar-thumb:hover,
body.dark .activity-data::-webkit-scrollbar-thumb:hover{
    background: #3A3B3C;
}

body.dark .text-black{
color:white!important;
}
body.dark .top-login-icon-img, .top .icon-img,
body.dark .bg-white {
    background: #3A3B3C!important;
    background-color: #3A3B3C!important;
    color:white!important;
}

body.dark .form-control.bg-white {
    color:white!important;
}

/* Placeholder text color */
body.dark .form-control.bg-white::placeholder {
    color: #aaa;
}

/* Placeholder text color for Webkit browsers */
body.dark .form-control.bg-white::-webkit-input-placeholder {
     color: #aaa;
}

/* Placeholder text color for Firefox */
body.dark .form-control.bg-white:-moz-placeholder {
     color: #aaa;
}

/* Placeholder text color for Internet Explorer 10+ */
body.dark .form-control.bg-white:-ms-input-placeholder {
     color: #aaa;
}

/* serch for dash */

.-margin-top-19px{
    margin-top:-19px!important;
}
/* end gride view */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 9px;
    font-size: 15px;
    color: #aaa;
    pointer-events: none;
    /* Prevent the icon from being clickable */
}

.search-input:focus::placeholder {
    color: #fff;
}

.search-input:focus+.search-icon {
    display: none;
}

.search-input {
    padding-left: 25px;
    /* Increase padding-left by 2px when focused */
}

.search-input:focus {
    padding-left: 20px;
    /* Increase padding-left by 2px when focused */
}
/* end */
/* plus other */
.bg-white-hover:hover {
    background: var(--primary-color-dark) !important;
    color: white !important;
}

/* grid view */
.banner-lyer-plus {
    position: absolute;
    height: -webkit-fill-available;
    width: 100%;
    background: black;
    z-index: 0;
    opacity: 0.2;
}

/* end */

#dashboard-nav > nav{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 225px;
    /* padding: 10px 14px; */
    background-color: var(--side-bar-color);
    border-right: 1px solid var(--border-color);
    transition: var(--tran-05);
}
#dashboard-nav > nav.close{
    width: 73px;
}
#dashboard-nav > nav .logo-name{
    display: flex;
    align-items: center;
}
#dashboard-nav > nav .logo-image{
    display: flex;
    justify-content: center;
    min-width: 45px;
}
#dashboard-nav > nav .logo-image img{
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
}
#dashboard-nav > nav .logo-name .logo_name{
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin-left: 14px;
    transition: var(--tran-05);
}
#dashboard-nav > nav.close .logo_name{
    opacity: 0;
    pointer-events: none;
}
#dashboard-nav > nav .menu-items{
    /* margin-top: 40px; */
    height: calc(100% - 90px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.rotated {
    transform: rotateY(180deg); 
    transition: transform .3s ease-in-out;
}
.breadcrumb-divider {
    --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%236c757d'/%3E%3C/svg%3E");
  }
.menu-items li{
    list-style: none;
}
.menu-items li a{
    display: flex;
    align-items: center;
    height: 45px;
    text-decoration: none;
    position: relative;
}
.nav-links li a:hover:before{
    content: "";
    position: absolute;
    left: -7px;
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background-color: var(--primary-color);
}
body.dark li a:hover:before{
    background-color: var(--text-color);
}
.menu-items ul li a i{
    font-size: 20px;
    min-width: 45px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-light-color);
}

.menu-items li a .link-name{
    font-size: 18px;
    font-weight: 400;
    color: var(--black-light-color);    
    transition: var(--tran-05);
}
nav.close li a .link-name{
    opacity: 0;
    pointer-events: none;
}


.nav-links li.active,
.nav-links li:hover{
    background: #F0F9FB;
    border-radius: 25px;
}
body.dark ,body.dark .text-muted{
    color: var(--black-light-color)!important;
}

body.dark .nav-links li.active,
body.dark .nav-links li:hover{
    background:#69696B;
    border-radius: 25px;
}
.nav-links li a:hover i,
.nav-links li a:hover .link-name{
    color: var(--primary-color);
}
body.dark .nav-links li a:hover i,
body.dark .nav-links li a:hover .link-name{
    color: var(--text-color);
    
}
.menu-items .mode{
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.menu-items .mode-toggle{
    position: absolute;
    right: 14px;
    height: 50px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mode-toggle .switch{
    position: relative;
    display: inline-block;
    height: 22px;
    width: 40px;
    border-radius: 25px;
    background-color: var(--toggle-color);
}
.switch:before{
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    height: 15px;
    width: 15px;
    background-color: var(--panel-color);
    border-radius: 50%;
    transition: var(--tran-03);
}
body.dark .switch:before{
    left: 20px;
}
.dashboard{
    position: relative;
    left: 225px;
    background-color: var(--panel-color);
    min-height: 100vh;
    width: calc(100% - 225px);
    padding: 10px 14px;
    transition: var(--tran-05);
}
.dash-content{
    margin-top: 50px;
}
nav.close ~ .dashboard{
    left: 73px;
    width: calc(100% - 73px);
}
.dashboard .top{
    position: fixed;
    top: 0;
    left: 225px;
    display: flex;
    width: calc(100% - 225px);
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 14px; */
    background-color: var(--bg-color-top);
    transition: var(--tran-05);
    z-index: 10;
}
.top .sidebar-toggle-icon {
    left: -13px;
    width: 25px;
    height: 25px;
    /* top: -5px; */
}
nav.close ~ .dashboard .top{
    left: 73px;
    width: calc(100% - 73px);
}
.dashboard .top .sidebar-toggle{
    cursor: pointer;
}

.top-login-icon-img,
.top .icon-img {
    width: 33px;
    height: 33px;
    background: #FCFCFC;
}

.top .img-icon {
    width: 24px;
    height: 24px;
}

.top .img-icon-2{
    width: 20px;
    height: 18px;
}


@media (max-width: 1000px) {
    nav{
        width: 73px;
    }
    nav.close{
        width: 225px;
    }
    nav .logo_name{
        opacity: 0;
        pointer-events: none;
    }
    nav.close .logo_name{
        opacity: 1;
        pointer-events: auto;
    }
    nav li a .link-name{
        opacity: 0;
        pointer-events: none;
    }
    nav.close li a .link-name{
        opacity: 1;
        pointer-events: auto;
    }
    nav ~ .dashboard{
        left: 73px;
        width: calc(100% - 73px);
    }
    nav.close ~ .dashboard{
        left: 225px;
        width: calc(100% - 225px);
    }
    nav ~ .dashboard .top{
        left: 73px;
        width: calc(100% - 73px);
    }
    nav.close ~ .dashboard .top{
        left: 225px;
        width: calc(100% - 225px);
    }
   
}

@media (max-width: 400px) {
    nav{
        width: 0px;
    }
    nav.close{
        width: 73px;
    }
    nav .logo_name{
        opacity: 0;
        pointer-events: none;
    }
    nav.close .logo_name{
        opacity: 0;
        pointer-events: none;
    }
    nav li a .link-name{
        opacity: 0;
        pointer-events: none;
    }
    nav.close li a .link-name{
        opacity: 0;
        pointer-events: none;
    }
    nav ~ .dashboard{
        left: 0;
        width: 100%;
    }
    nav.close ~ .dashboard{
        left: 73px;
        width: calc(100% - 73px);
    }
    nav ~ .dashboard .top{
        left: 0;
        width: 100%;
    }
    nav.close ~ .dashboard .top{
        left: 0;
        width: 100%;
    }
}

.h-th{
    height: 100px;
}