@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
  --quicksand: "Quicksand", sans-serif;
  --small:0.9rem;
  --xs:0.8rem;
  --xxs:0.75rem;
  --off-white:#F8FAFB;
  --gray: #637381;
  --white:#ffffff;
  --blue: #006BBB;
  --orange:#F2672C;
  --green:#31BD2B;
  --dgreen:#007867;
  --purple:#A700FE;
  /* --orange:#FECF23; */
  --light-blue:rgba(48, 160, 224, 0.1);
  --baby-blue:#F5F7FF;
  --light-green: #D6FFD1;
  --red: #FF0000;
  --pastel-red:#FFDEDA;
  --pastel-orange:#fac2ab;
  --pastel-purple:#F0D9FF;


}


.font-quicksand{
font-family: var(--quicksand);
}

.app-sidebar {
    width: 280px;
    background-color: var(--white);
    min-height: 100vh;
    position: fixed;
    padding: 0;
    z-index: 1003;
    box-shadow: 0 0 11px 1px rgba(0,0,0,.05);
    -webkit-box-shadow: 0 0 11px 1px rgba(0,0,0,.05);
    -moz-box-shadow: 0 0 11px 1px rgba(0,0,0,.05);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
  }

  .app-container {
    margin-left: 280px;
    width: calc(100vw - 280px);
    font-family: var(--quicksand);
    background-color: var(--off-white);
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
  }

  .brand-logo{
    width: 100%;

}

.blur{
  background: rgba( 0, 0, 0, 0.3 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 11px );
-webkit-backdrop-filter: blur( 11px );
border-radius: 3px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.cursor-pointer{
  cursor: pointer;
}

  .sidebar-item{
    list-style: none;
    text-align: left;
    padding: 0;
    font-family: var(--quicksand);
    padding-block: .5rem;
    max-height: 90vh;
    overflow-y: auto;
    padding-right: 1rem;
    /* -ms-overflow-style: none; 
    scrollbar-width: none; */
  }

  .sidebar-item::-webkit-scrollbar {
    width: 2px;
    height: 5px;
  }
  
  .sidebar-item::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }
  
  .sidebar-item::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
  }
  
  .sidebar-item::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(255, 255, 255, 0.3);
  }
  
  

  .sidebar-item a{
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
  }

  .sidebar-item li{
    font-size: var(--small);
    padding: 8px 10px;
    margin-bottom: 1rem;
  }

  
  .sidebar-item li svg{
    margin-right: .5rem;
  }

  .sidebar-item li svg rect{
    fill: #637381;
  }

  .sidebar-item .current svg rect{
    fill:var(--orange)
  }

  .sidebar-item >  .current{
    background-color: var(--pastel-orange);
    width: 100%;
    display: block;
    border-radius: 8px;
    /* padding-block: 5px; */
  }

  .sidebar-item >  .current  a{
    color: var(--orange);
  }


  .nav-container{
    background-color: var(--white);
    padding-inline: 2rem;
    display: flex;
  }

  .nav-container >.child1{
    padding-block: 2rem;
    flex-grow: 1;
  }

  .nav-container > .child1 h1{
    font-size: 1.3rem;
  }

  .nav-container >.child2{
    /* border-left: 1px solid #B6BBC4; */
    padding-left: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  .nav-container >.child2 img{
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 100%;
      object-fit: cover;
  }

  .nav-container >.child2 span{
     font-size: 0.75rem;
     text-align: center;
     color: #B6BBC4;
  }

  .main-content > div > h1{
    font-size: 1.3rem;
    padding-bottom: 2rem;
  }

  .nav-container .notification-dot{
    background-color: var(--orange);
    height: 1.1rem;
    width: 1.1rem;
    border-radius: 100%;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: grid;
    place-content: center;
    position: absolute;
    right:-6px;
    top: -4px;
  }

  .main-content{
    padding: 1rem 1.5rem ;
    min-height: 90vh;
  }

  .fh-1{
    font-size: 1.2rem!important;
    font-weight: 700;
  }

  .w-fitcontent{
    width: fit-content!important;
  }

  .fs-7{
    font-size: var(--small)!important;
  }

  .fs-8{
    font-size: var(--xs) !important;
  }

  .fs-9{
    font-size: var(--xxs) !important;
  }

  .px-7{
    padding-inline: 5rem;
  }

  .pe-6{
    padding-right: 9rem;
  }

  .cshadow{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    
  }

  .bg-theme{
    background-color: var(--orange)!important;
    color: white !important;
  }

  .accordion-button{
    padding-inline: 0!important;
    box-shadow: unset !important;
  }

  .accordion-button:not(.collapsed){
    background-color: var(--pastel-orange)!important;  
    color: var(--orange)!important;  
    box-shadow: 0!important;
    border-radius: 8px!important;
    padding: 8px 10px!important;
  }

  .accordion-button:focus{
    box-shadow: 0;
    outline: 0!important;
  }
  .text-theme{
    color: var(--orange);
  }

  .labeli{
    position: relative;
  }

  .labeli::after{
    content: '*';
    font-size: 1.3rem;
    position: absolute;
    top: -6px;
    right:-9px ;
    color: var(--red);
  }

  .add-btn{
    background-color: var(--orange);
    color: white;
    padding: .6rem 1.3rem;
    font-size: var(--xs);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    border: 0;
  }

  .outline-btn{
    border: 1px var(--orange) solid;
    font-weight: 600;
    border-radius: 6px;
    color: var(--orange);
    padding: .6rem 1.3rem;
    font-size: var(--xs);
    background-color: transparent;
  }


  .custom-table{
    --bs-table-bg: var(--off-white) !important; 
    /* border-collapse: separate; */
    /* table-layout: auto !important; */
  }

  .dashboard-index .custom-table > :not(caption) > * > *{
    padding: 0.8rem 0.5rem!important;
  }

  .custom-table thead > tr th{
    background-color: #F4F6F8;
    border-color: #F4F6F8;;
    font-weight: 500;
  }

  .custom-table th,.custom-table td{
    font-size: var(--small);
  }

  .custom-table tbody td{
    background-color: white;
  }


  .custom-table tbody td p{
    margin-bottom: 0;
  }
  
  .vertical-align{
    vertical-align: middle;
  }

  .custom-table th{
    color: var(--gray) !important;
    font-weight: 400;
  }

  .custom-table .active{
    font-weight: 600;
    background-color: var(--light-green);
    color: var(--dgreen);
    width: fit-content;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: var(--xs);
  }

  .custom-table .expired{
    font-weight: 600;
    background-color: var(--pastel-red);
    color: var(--red);
    width: fit-content;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: var(--xs);
  }
  
  
.custom-table a{
  text-decoration: none;
  font-size: 0.9rem;
  padding: 2px 10px;
}


.cstm-scroll{
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--light-blue);
}

.cstm-scroll::-webkit-scrollbar {
  width: 12px;
}

.cstm-scroll::-webkit-scrollbar-track {
  background-color: var(--light-blue);
  border-radius: 6px;
}

.cstm-scroll::-webkit-scrollbar-thumb {
  background-color: var(--blue);
  border-radius: 6px;

}

.dropdown .btn.show{
outline: none;
--bs-btn-border-width: 0 !important;
}

.h-bg:hover{
  background-color: var(--pastel-orange)!important;
}


.metric {
  margin-bottom: 10px;
}
.label {
  display: flex;
  justify-content: space-between;
}
.value {
  font-weight: bold;
  font-size: var(--small);
}
.percentage {
  color: #666;
  font-size: var(--small);
}
progress {
  width: 100%;
  height: 4px;
  border-radius: 5px;
  overflow: hidden;
}

.metric:nth-child(2) progress::-webkit-progress-bar{
  background-color: var(--light-blue);
}

.metric:nth-child(2) progress::-webkit-progress-value{
  background-color: var(--blue)!important;
}

.metric:nth-child(3) progress::-webkit-progress-bar{
  background-color: #FFE3B3;
}

.metric:nth-child(3) progress::-webkit-progress-value {
  background-color: #ffc107;
}





/* #expenses-progress::-webkit-progress-value, #expenses-progress::slider-fill,#expenses-progress::-moz-progress-bar {
  background-color: #ffc107!important;
} */

.tsearch-input{
  background: #efeded;
  width: 300px;
  height: 36px;
  top: 20px;
  left: 48px;
  padding: 3px 10px;
  gap: 0px;
  border-radius: 10px ;
  opacity: 0px;
  border: 0;
}

.cinput{
  background: #efeded;
  /* width: 300px; */
  height: 36px;
  top: 20px;
  left: 48px;
  padding: 3px 10px;
  gap: 0px;
  border-radius: 10px ;
  border: 0;
}

.ctextarea{
  background: #efeded;
  /* width: 300px; */
  top: 20px;
  left: 48px;
  padding: 3px 10px;
  gap: 0px;
  border-radius: 10px ;
  border: 0;
}


input::placeholder,select{
  font-size: var(--xs)!important;
}

input[type="time"],input[type="date"]{
  font-size: var(--xs);
  color: var(--gray);
}

.clabel{
  font-size: var(--xs);
  color: var(--gray);
  margin-bottom: .5rem;
}




/* .upload-product-images {
  display: flex;
  gap: 30px;
} */
.product-img-box {
  position: relative;
  width: 100%; /* Adjust as needed */
  height: 220px; /* Adjust as needed */
  border: 1px dashed var(--gray);
  /* padding: 1rem; */
  border-radius: 10px;
}

.product-img-box2 {
  position: relative;
  width: 80px; /* Adjust as needed */
  height: 70px; /* Adjust as needed */
  border: 1px dashed var(--gray);
  border-radius: 10px;
}

.product-img-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.product-img-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-img-preview2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-img-wrapper {
  position: relative;
}


#downloadTrendsChart{
  width: 100%!important;
  object-fit:fill;
  font-size: 0.7rem!important;
}


.swiper {
  width: 100%;
  height: 100%;

}

.red-gradient{
  background:
linear-gradient(97.33deg, rgba(255, 86, 48, 0.2) -0.89%, #B71D18 111.06%);
}

.teal-gradient{
  background: rgb(0,120,103);
  background: linear-gradient(96deg, rgba(0,120,103,0.6907095601912641) 15%, rgba(0,167,111,1) 74%); 
}

.swiper-pagination-bullet-active{
  background-color: #fff!important;
}

.bg-an1{
  background:linear-gradient(136.84deg, rgba(255, 214, 102, 0.2) 0%, rgba(255, 171, 0, 0.2) 100%);
}

.bg-an2{
  background:linear-gradient(136.84deg, rgba(97, 243, 243, 0.2) 0%, rgba(0, 184, 217, 0.2) 100%);
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #efeded;;
}

.toggle-input {
  display: none;
}

.toggle-label {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 18px;
  background-color: #ddd;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.toggle-label::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  background-color: white;
  border-radius: 50%;
  transition: all 0.3s;
}

.toggle-input:checked + .toggle-label {
  background-color: #006BBB; /* Blue color */
}

.toggle-input:checked + .toggle-label::before {
  transform: translateX(25px);
}

.toggle-input:not(:checked) + .toggle-label {
  background-color: #d9534f; /* Red color */
}

.toggle-text {
  font-size: 16px;
  color: #666;
  transition: color 0.3s;
}

.toggle-input:checked ~ .enable {
  color: #006BBB; /* Blue color for "Enable" */
}

.toggle-input:checked ~ .disable {
  color: #666;
}

.toggle-input:not(:checked) ~ .enable {
  color: #666;
}

.toggle-input:not(:checked) ~ .disable {
  color: #d9534f; /* Red color for "Disable" */
}


.chartind-dot{
  width: 1.7rem;
  height: 8px;
  border-radius: 1rem;
  display: inline-block;
}

.nav-pills .nav-link.active{
  background-color: var(--orange)!important;
}


.rotate-icon {
  transition: transform 0.3s ease-in-out;
}

.rotate-icon.rotated {
  transform: rotate(180deg);
}

.active>.page-link, .page-link.active{
  background-color: var(--orange)!important;
  border-color: var(--orange) !important;
}
