@font-face {
  font-family: 'HelveticaNeueCyrRoman';
  src: url('assets/fonts/HelveticaNeueCyr Roman.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Roboto;
}

.k-bg-gradient{ 
  background: linear-gradient(to right, #103496, #08044d) !important;
  border:1px solid #103496 !important;
}

.k-bg-gradient-medium{ 
  background: linear-gradient(to right, #2279c0, #0d3e6b) !important;
  border:1px solid #2279c0 !important;
}

.k-bg-gradient-light{ 
  background: linear-gradient(to right, #fcfeff, #e6f3ff) !important;
  border:1px solid #ffe6e6 !important;
}

input::placeholder{
  opacity: 0.5 !important;
}

input:focus{
  outline: none !important;
}

body{
  background: rgb(255, 255, 255);
}

.animate{
  animation : fadeInDown .5s ease-in-out;
}

.delay-1s{
  animation : fadeInDown 1s ease-in-out;
}

.delay-2s{
  animation : fadeInDown 1.5s ease-in-out;
}

.delay-3s{
  animation : fadeInDown 2s ease-in-out;
}

.delay-4s{
  animation : fadeInDown 2.5s ease-in-out;
}

.delay-5s{
  animation : fadeInDown 3s ease-in-out;
}

.delay-6s{
  animation : fadeInDown 3.5s ease-in-out;
}

.delay-7s{
  animation : fadeInDown 4s ease-in-out;
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}


::-webkit-scrollbar {
  width: 10px;
}

button{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 20px;
}

button img{
width: 18px;
height: 18px;
margin:3px;
object-fit: contain;
}

input[type=text],input[type=number], input[type=file], input[type=password]{
width: 100%;
padding: 10px !important;
margin: 5px 0;
border: none;
border: 1px solid #F1F1F1;
background: white;
font-size: 14px;
border-radius: 20px;
}

input[type=date]{
width: 100%;
padding: 10px;
margin: 5px 0;
border: none;
border: 1px solid #F1F1F1;
background: white;
font-size: 14px;
cursor: pointer;
border-radius: 20px;
}

textarea{
  width: 100%;
  padding: 5px;
  margin: 5px 0;
  border: none;
  border: 1px solid #F1F1F1;
  background: white;
  font-size: 14px;
  white-space: normal;
  height: auto;
  border-radius: 20px;
}

select{
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: none;
  border: 1px solid #F1F1F1;
  background: white;
  font-size: 14px;
  cursor: pointer;
  border-radius: 20px;
}



hr{
  width: 100%;
  margin: 20px 0;
  border: none;
  border-bottom: 1px solid #dbdbdb;
}

a{
  text-decoration: none !important;
}

a:hover{
  text-decoration: none !important;
}

.text-center{
  text-align: center !important;
}

.text-left{
  text-align: left !important;
}

.text-right{
  text-align: right !important;
}


.redText{
  color: rgb(177, 9, 9) !important;
}

.caption{
  font-size: 12px;
  color: #838383;
}


.input-box {
  width: 100%;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  font-family: sans-serif;
  margin: 0.5rem 0;
  border: 1px solid #F1F1F1;
}

.input-box .prefix {
  font-weight: bold;
  font-size: 18px;
  color: green;
  padding-left: 0.5rem;
}

.input-box .suffix {
  font-weight: bold;
  font-size: 18px;
  color: green;
  padding-right: 0.5rem;
}

.input-box input {
  flex-grow: 1;
  font-size: 14px;
  background: #fff;
  border: none;
  outline: none;
  padding: 0.5rem;
}

.input-box:focus-within {
  border-color: #777;
}

.required-star{
  font-size: 14px;
  color: rgb(177, 9, 9);
  margin-left: 3px;
  font-variant-position: sub;
}

.errorText{
  width: 100%;
  color: rgb(177, 9, 9) !important;
  text-align: center;
}

.primary{
  border: none;
  background: rgb(177, 9, 9);
  padding: 10px !important;
  margin: 3px !important;
  color: white;
  cursor: pointer;
  width: 100% !important;
  transition: .5s;
}

.secondary{
  background: rgb(177, 9, 9);
  color: white;
}
.success{
  background: rgb(0,200,0);
  color: black;
}

.transparent{
  border: none;
  background: none;
  padding: 10px;
  margin: 10px 0;
  cursor: pointer;
  width: 100%;
  transition: .5s;
}

.transparent:hover{
  transform: scale(1.1);
}

.report-header{
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.report-header img{
  height: 100%;
  object-fit: contain;
}


.primary:hover{
  background: rgb(177, 9, 9);
  box-shadow: 2px 2px 8px #F1F1F1;
    transform: scale(1.05);
}

.success:hover{
  background: rgb(0,220,0);
  box-shadow: 2px 2px 12px #F1F1F1;
  transform: scale(1.05);
}

.primary-small{
  width: auto;
  white-space: nowrap;
}

.bg-white{
  background-color: white;
  color: white;
  border-radius: 10px;
}

.radius-10{
  border-radius: 10px !important;
}

.radius-20{
  border-radius: 20px !important;
}

.main {
  padding-top: 20px;
}

.main_outer{
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  background-color: #ffffff;
  position: relative;
}

.main_inner{
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: auto;
  position: relative;
  padding-top: 70px; /* room for header */
  padding-bottom: 90px; /* room for fixed footer buttons */
}

.container{
  width: 100%;
  max-width: 100% !important;
  height: auto;
  margin: 0;
  padding: 0 12px;
}

@media (min-width: 768px) {
  .container{
  width: 100%;
  max-width: 100% !important;
  height: auto;
  margin: 0;
  padding: 0 12px;
}
}

.width-auto{
  width: auto !important;
}

.display-inlin-flex{
  display:inline-flex;
}

.row{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.kts-form-group{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.section-container{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.kts-form input[type="text"],
.kts-form input[type="number"],
.kts-form{
  width: 100%;
  padding: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
input:focus,select:focus, textarea:focus{
  outline: none !important;
}

.width-70{
  width: 70%;
}
.width-60{
  width: 60%;
}
.width-30{
  width: 30%;
}
.width-40{
  width: 40%;
}

.align-start{
align-items: flex-start !important;
}

.align-center{
align-items: center !important;
}

.align-end{
align-items: flex-end;
}

.justify-start{
  justify-content: flex-start;
}
.justify-center{
  justify-content: center !important;
}

.justify-end{
  justify-content: flex-end;
}

.justify-space-around{
  justify-content: space-around;
}

.justify-space-between{
  justify-content: space-between;
}

.justify-space-evenly{
  justify-content: space-evenly;
}


  /* width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  background-color: white;
  border-radius: 10px; */


.kts-section-inner{
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* stretch children to full width */
  justify-content: flex-start;
}

/* Ensure section children span full width */
.kts-section-inner > .coupon-header,
.kts-section-inner > .coupon-section,
.kts-section-inner > .kts-card { width: 100%; }

/* Make inputs/buttons inside cards full width on mobile */
@media (max-width: 640px){
  .kts-card input[type="number"], .kts-card input[type="text"], .kts-card input[type="date"]{ max-width:100%; width:100%; }
  .kts-card .primary{ max-width:100%; width:100%; }
}

.kts-section-head{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;


}

.head-buttons{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.kts-section-head h2{
  font-size: 14px;
  padding: 5px 10px;
  padding-left: 0;
  text-align: left;
  border-bottom: 2px solid rgb(177, 9, 9);
  color: rgb(177, 9, 9);
  margin-bottom: 10px;
}
.padding-10{
  padding: 10px !important;
}

.padding-20{
  padding: 10px !important;
}

.margin-5{
  margin: 5px !important;
}

.margin-10{
  margin: 10px !important;
}

.margin-bottom-50{
  margin-bottom: 50px !important;
}

.padding-top-0{
  padding-top: 0;
}

.padding-bottom-0{
  padding-bottom: 0;
}

.kts-table{
  width: 100%;
  overflow: hidden;
  overflow: scroll;
  max-height: 80vh;
 
}


.cost-table{
  max-height: 100% !important;
}

.kts-table table{
  width: 100%;
  border-collapse: collapse;
  border: none;
  font-size: 12px;
  background-color: white;
}

.kts-table td{
  padding: 8px !important;
  text-align: left;
  vertical-align: top;
}


.kts-table td span{
  padding: 10px;
}

.kts-table td img{
  width: 100px;
  height: 100px;
  object-fit: cover !important;
  object-position: top;
  border-radius: 10px;
}
.kts-table thead tr, .kts-table tfoot tr{
  border: .75px solid #fceaea !important;
  background-color: #fceaea;
}

.kts-table th{
  padding: 10px;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
  
}

.kts-table tbody tr{
  transition: .5s;
  cursor: pointer;
  border: .75px solid #ededed;
}

.popup-menu{
  width: 100vw;
  height: 100vh;
  background-color: rgba(255,255,255,.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999999;
  display: none;
}

.show-popup{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup-menu .poup-menu-inner{
  min-width: 400px;
  max-height: 80vw;
  max-width: 80vh;
  background-color: white;
  border: .5px solid #f6d5eb;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  box-shadow: 2px 2px 8px #f5eef6;
}

.with-out-border tbody tr{
  border: none;
}

.kts-table tbody tr:hover{
  background: #F1F1F1;
}

.kts-table tbody td{
  padding: 5px;
}

.kts-table tbody td:last-child{
  border: none;
  padding: 0;
}

.kts-table tbody td button{
  padding: 5px !important;
  margin: 0;
}

.kts-table tbody td button img{
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin: 0;
  border-radius: 5px;
  padding: 5px;
  background-color: rgb(255, 237, 237);
}

.kts-table tfoot tr{
  color: black;
}

.kts-table tfoot th{
  padding: 5px;
  font-weight: bold;
}

.kts-table tfoot input[type=text]{
  border: none;
  color: black;
  font-weight: bold;
}

.kts-table tfoot input[type=text]::placeholder{
  color: black;
  font-weight: bold;
}

.kts-table button{
  width: 100%;
  padding: 0;
}

.kts-tab-section{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.kts-tab-section .kts-tabs{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.kts-tab-section .kts-tabs .kts-tab{
  border: 1px solid #f2f2f2;
  padding: 5px 10px;
  transition: .5s;
  cursor: pointer;
}

.kts-tab-section .kts-tabs .tab-active{
  background-color: #3150b5;
  color: white;
}

.kts-tab-section .kts-tabs .kts-tab span{
  font-size: 12px;
}

.kts-tab-section .kts-tabs .kts-tab:hover{
  background-color: #3150b5;
  color: white;
}

.kts-tab-contents{
  width: 100%;
}

.kts-tab-content{
  display: none;
}

.kts-tab-content-show{
  width: 100% !important;
  min-width: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}


.pending{
  font-size: 12px;
  padding: 3px;
  background: rgb(177, 9, 9);
  color: white;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}

.cleared, .stock{
  font-size: 12px;
  padding: 3px;
  background: green;
  color: white;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}

.waiting{
  font-size: 12px;
  padding: 3px;
  background: green;
  color: white;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}

.no-stock{
  font-size: 12px;
  padding: 3px;
  background: rgb(196, 12, 12);
  color: white;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}

.non-active{
  font-size: 12px;
  padding: 3px;
  background: rgb(228, 244, 7);
  color: black;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}

.pre-loader-outer{
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255,255,255,.98);
  z-index: 9999999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.pre-loader-inner{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pre-loader-inner img{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
  animation: scale-in infinite 2s;
}

.selectPopupTable{
  width: 100%;
  position: relative;
}

.selectPopupTable_outer{
  width: 100%;
  height: 200px;
  padding: 10px 0;
  position: absolute;
  overflow: hidden;
  overflow-y: scroll;
  border: 1px solid #f4f4f4;
    background: white;
}

.selectPopupTable_inner{
  width: 100%;
  height: 100%;
  padding: 0;
  top: 0;
}

.selectPopupTable_inner table{
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  padding: 0;
  padding-bottom: 5px;
  margin: 0;
}

.selectPopupTable_inner td{
  padding: 10px;
  border-right: 1px solid grey;
}

.selectPopupTable_inner tr{
  transition: .5s;
  cursor: pointer;
  width: 100%;
  border: 1px solid grey;
}


.selectPopupTable_inner tr:hover{
  background: #F1F1F1;
}

.order-table table{
  width: 100%;
  box-sizing: border-box;
  border-collapse: collapse;
}

.order-table table thead th{
  font-size: 12px;
  padding: 5px;
  text-align: center;
}
.text-left
{
  text-align: left !important;
}

.text-right
{
  text-align: right !important;
}

.order-table table tfoot th{
  font-size: 12px;
  padding: 5px;
  text-align: left;
}

.order-table table tbody tr, .order-table table tbody td{
  padding: 0;
}

.order-table table tfoot td .discount-value{
  color: rgb(177, 9, 9);
  font-weight: 400;
}

.order-table table tfoot td .cash-value{
  color: green;
  font-weight: 400;
}

.order-table table tfoot td .cash-bold{
  font-weight: bold;
  font-size: 14px;
}

.order-table table tfoot td .g-total{
  color: green;
  font-weight: bold;
}

.order-table table tbody td input{
 text-align: center;
 border: none;
 border-bottom: 1px solid #F1F1F1;
}

.order-table table tfoot td input{
  border: none;
  text-align: right;
}

.order-table table tfoot td input:read-only:focus{
  outline: none !important;
  border: none;
}

.order-table table tfoot td input:focus{
  outline: none;
  border-bottom: 1px solid rgb(200, 200, 200);
}

.order-table table tbody td input:focus{
  outline: none;
}



.widget-outer{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  overflow-x: scroll;
}

.widget{
  width: 150px;
  min-width: 150px;
  height: 180px;
  border-radius: 10px;
  margin: 5px;
  position: relative;
  overflow: hidden;
}

.widget img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.widget .widget-content{
  position: absolute;
  bottom: 35px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.widget .widget-content h2{
  font-size: 14px;
  color: white;
  background-color: rgb(175, 10, 10);
  padding: 3px;
  text-align: center;
}

.widget .widget-content h3{
  font-size: 14px;
  color: white;
  background-color: green;
  padding: 3px;
  text-align: center;
}

.widget .widget-content span{
  font-weight: 400;
  font-size: 12px;
  padding: 3px;
  background-color: white;
  color: green;
  position: absolute;
  right: 0;
}

.widget .widget-footer{
  width: 100%;
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
}

.widget .widget-footer table th, .widget .widget-footer table td{
  width: 20%;
  text-align: center;
  font-size: 10px;
}

@keyframes scale-in {
  0%{
    transform: scale(.5) rotate(0deg);
  }
  100%{
    transform: scale(.8) rotate(-10deg);
  }
}

@media (min-width: 768px) {
  .mobile-only-br {
    display: none;
  }
}

@media (max-width: 768px) {
  .kts-form-group.jobheader {
    display: none;
  }
}

@media only screen and (max-width: 1024px) {

.container{
  width: 100%;
  max-width: 100% !important;
  height: auto;
  margin: 0;
  padding: 0 12px;
}

}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
      display: block;
  }
}

@media only screen and (max-width: 768px) {
  *{
    font-size: 12px;
  }
  .hide-on-mobile{
    right: 80px;
  }

  body{
    overflow: scroll;
    
  }

  .main_outer{
    height: unset;
  }

  .main_inner{
    padding-top: 0;
  }

  .container{
  width: 100%;
  max-width: 100% !important;
  height: auto;
  margin: 0;
  padding: 0 12px;
}

  .kts-form-group{
    flex-direction: column;
  }

  .popupHeading{
    flex-direction: row !important;
  }

  .width-70, .width-30{
    width: 100%;
  }

  .kts-section-inner .kts-table {
    display: none;
  }


  /* .kts-table thead{
    width: 100px !important;
    min-width:100px !important;
    font-size: 12px !important;
  }

  .kts-table td, .kts-table .mobile-view tr th{
    width: 100px !important;
    min-width:100px !important;
    font-size: 12px !important;
  } */

/*..............................................................mobile view.................................................*/

  .kts-view {
    height: calc(100vh - 310px);
    padding: 0;
    overflow-y: auto;
    width: 100%;
  }

  .kts-view-no-balance {
    height: calc(100vh - 260px);
    padding: 0;
    overflow-y: auto;
    width: 100%;
  }

  .kts-view-customer-centre {
    height: calc(100vh - 560px);
    padding: 0;
    overflow-y: auto;
    width: 100%;
  }

  .kts-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 15px 10px;
    background-color: #fff;
    width: 100%;
    border-bottom: 1px solid #e6e6e6;
  }

  .kts-card-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-right: 1cm;
    color: #333;
  }

  .kts-card-body {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
  }

  .kts-card-body div {
    margin: 5px 0;
  }


  .kts-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .three-dots-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 25px;
    height: 25px;
  }


  .three-dots-btn img {
    width: 100%;
    height: 100%;
  }

  .action-menu {
    position: absolute;
    display: none;
    top: 32px;
    right: 0;
    z-index: 99999;
    /* padding: 4px 0; */
    flex-direction: column;
    align-items: flex-end;
    /* gap: 1px; */
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform-origin: top right;
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
  }

  .action-menu.open {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: dropdown-pop 0.18s ease-out;
  }

  .action-menu button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    text-align: center;
    color: #111827;
    border-radius: 8px;
  }



  @keyframes dropdown-pop {
    from {
      transform: translateY(-6px) scale(0.96);
      opacity: 0;
    }
    to {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }

  .action-menu button:hover {
    background: rgba(0,0,0,0.06);
  }

  .action-menu button img {
    width: 18px;
    height: 18px;
    margin: 0;
  }

  .kts-card-actions button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
  }

  .kts-card-actions img {
    width: 20px;
    height: 20px;
  }

  .kts-overall-total {
    position: fixed;
    bottom: 10%;
    right: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: #fff;
    text-align: center;
    font-weight: bold;
    z-index: 999;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .kts-overall-total .item {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .kts-overall-total .item strong {
      font-size: 12px;
      margin-bottom: 5px;
  }

  .kts-overall-total .item span {
      font-size: 16px;
  }

  .kts-total {
    position: fixed;
    top: 6cm;
    right: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: #fff;
    text-align: center;
    font-weight: bold;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid #ddd;
  }

  .kts-total .item {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .kts-total .item strong {
      font-size: 12px;
      margin-bottom: 5px;
  }

  .kts-total .item span {
      font-size: 16px;
  }

.kts-footer-buttons {
    width: 100vw;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    box-shadow: 0 -2px 8px rgba(0,0,0,.06);
    background: #ffffff;
    z-index: 99999;
}

.kts-footer-buttons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

  .kts-footer-buttons button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 12px;
    color: #555;
    transition: color 0.3s ease;
  }

  .kts-footer-buttons button img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
  }

  .kts-footer-buttons button span {
    font-size: 12px;
  }

  .kts-footer-buttons button .dashboard-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .kts-footer-buttons button .dashboard-img:hover {
    transform: scale(1.1);
  } 

  .amount-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    margin-top: 10px;
  }

  .amount-grid > div {
    width: calc(50% - 15px);
    font-size: 15px;
    font-weight: bold;
  }

}

/*...............................................................................................................*/


@media only screen and (min-width: 769px) {
  .kts-view {
    display: none;
  }

  .kts-view-no-search {
    display: none;
  }

  .kts-view-no-balance {
    display: none;
  }

  .kts-view-customer-centre
  {
    display: none;
  }
  .kts-view-invoice {
    display: none;
  }
  .kts-overall-total {
    display: none;
  }

  .kts-footer-buttons {
    display: none;
  }

  .menu{
    display: none;
  }

    .kts-view-trans{
    display: none;
  }

}

/*.................................. Mobile view: Convert table rows into stacked columns ............................................*/

@media screen and (max-width: 768px) {
  .kts-table {
    width: 100%;
    overflow: visible;
  }

  .kts-table{
    width: 100%;
    overflow: hidden;
    overflow: scroll;
    max-height: 100%;
  }

  .kts-table table {
    width: 100%;
    table-layout: fixed;
  }

  .kts-table thead {
    display: none;
  }

  .kts-table tbody tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    padding: 10px;
    background: #f9f9f9;
  }

  .kts-table td {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  .kts-table td:before {
    content: attr(data-label);
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 5px;
    display: block;
    width: 100%;
    text-align: center;
  }

  .kts-table td[data-label="Quantity"]:before,
  .kts-table td[data-label="Unit Price"]:before,
  .kts-table td[data-label="Price"]:before,
  .kts-table td[data-label="Debit"]:before,
  .kts-table td[data-label="Credit"]:before,
  .kts-table td[data-label="Margintotal"]:before,
  .kts-table td[data-label="Margin"]:before,
  .kts-table td[data-label="Ref"]:before,
  .kts-table td[data-label="Ordered Quantity"]:before,
  .kts-table td[data-label="Received Quantity"]:before,
  .kts-table td[data-label="Balance Quantity"]:before,
  .kts-table td[data-label="Amount"]:before {
    text-align: right;
    content: attr(data-label);
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 5px;
    display: block;
    width: 100%;
  }

  .kts-table td:last-child {
    border-bottom: none;
  }

  .kts-table input,
  .kts-table textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .kts-table tfoot {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    width: 100%;
  }

  .kts-table tfoot tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 5px 10px;
    background-color: #f9f9f9;
  }

  .kts-table tfoot th {
    text-align: left;
    font-size: 14px;
    padding: 5px;
    white-space: nowrap;
  }

  .kts-table tfoot th span {
    font-weight: bold;
    margin-right: 5px;
  } 

  .kts-table tbody tr td:first-child:before {
    position: relative;
    text-align: center;
  }
}

/* Default Web View (Desktop) */
.total {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.total .kts-form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 15px;
  width: auto;
}

.total .kts-form.align-end,.kts-form.align-end.net-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.total .kts-form.align-end span.caption {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}

.total .kts-form.align-end input,
.total .kts-form.align-end h4 {
  text-align: right;
  margin: 0;
  padding: 5px;
  box-sizing: border-box;
}

/* ......................................END.........................................*/

@media screen and (max-width: 768px) {
  .total .kts-form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    
  }

  .total {
    padding: 10% 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  
  }

  .total .kts-form .align-end {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
  }

  .total .kts-form.align-end span.caption {
    display: block;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 0;

  }

  .total .kts-form.align-end input,
  .total .kts-form.align-end h4 {
    text-align: center;
    margin: 0;
    font-size: 20px;
    line-height: 0;
  }

  .total .kts-form input {
    max-width: 100px;
    text-align: center;
  }

  .total .kts-form.align-end h4 {
    font-size: 20px;
    font-weight: bold;
    line-height: 0;
  }
}


/*.................................. end ............................................*/


/*-------------- HEADER --------------------*/


.header{
  
  width: 100vw;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 2px 2px 8px rgba(0,0,0,.1);
  background: white;
  z-index: 99999;
}

.toggle-mobile-menu{
display: none;
}


.wrapper{
  width: 80%;
}


.header-right{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.header-right a{
  text-decoration: none;
  color: black;
}

.header-right h2{
  font-size: 14px;
  font-weight: bold;
  margin-left: 10px;
}

.logo{
  width: 30%;
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 5px;
}

.logo img{
  height: 100%;
  object-fit: contain;
}

.app-nav{
  width: 60%;
  height: 60px;
  display: flex;
  flex-direction: row;
  align-items:center;
  justify-content: flex-end;
  margin: 0;
  margin-right: 10px;
}

.app-nav a{
  height: 100%;
  text-decoration: none;
  color: grey;
  font-size: 12px;
  padding: 10px;
  transition: .5s;
  border: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.app-nav a:hover{
  color: rgb(177, 9, 9);
}

.app-nav a span{
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.hide-on-mobile{
  height: 60px;
  margin: none;
}

.bottom_line{
  position: absolute;
  border-bottom: 2px solid rgb(177, 9, 9);
  width: 100%;
  bottom: 0;
  opacity: 0;
}

.header_active{
  opacity: 1;
}
.right-nav{
  width: 10%;
  height: 60px;
  display: flex;
  flex-direction: row;
  align-items:center;
  justify-content: flex-end;
  position: relative;
}

.user-nav{
  display: flex;
  flex-direction: row;
  align-items:center;
  justify-content: flex-end;
  cursor: pointer;
}

.icon-logo{
  width: 20px;
  height: 100%;
  object-fit: contain;
  margin-right: 5px;
  opacity: .5;
}

.user-nav-dropdown{
  width: 120px;
  background: white;
  position: absolute;
  z-index: 99999;
  color: white;
  box-shadow: 2px 2px 8px #F1F1F1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 60px;
  left: 0;
  transition: .5s;
  transform: translateY(-200px) scaleY(0);
  opacity: 0;
  white-space: nowrap;
}

.user-nav-dropdown a{
  font-size: 14px;
  text-decoration: none;
  width: 100%;
  padding: 15px;
  background: white;
  color: grey;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.user-nav-dropdown a:hover{
  color: black;
  background: grey;
}

.user-nav-dropdown img{
  width: 15px;
  height: 15px;
  margin-right: 5px;
  opacity: .5;
}
.dropdown-label{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}


.user-id span{
  font-size: 14px;
  padding: 5px;
  color: black;

}

.dropdown-menu{
  height: 100%;
  position: relative;
}

.dropdown-menu a{
  cursor: pointer;
  height: 100%;
}

.dropdown {
  position: absolute;
  transform: translateY(-200px) scaleY(0);
  width: 150px;
  background: white;
  z-index: 99999;
  box-shadow: 2px 2px 8px #F1F1F1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0;
}


.dropdown-show{
  transform: translateY(0) scaleY(1);
  opacity: 1;
  

}

.dropdown a {
  width: 100%;
  padding: 10px;
  color: grey !important;
  background: white;
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  text-decoration: none;
}

.dropdown a:hover {
  color: rgb(177, 9, 9);
  background: #F1F1F1;
  text-decoration: none;
}


@media only screen and (max-width: 1024px) {
.wrapper{
  width: 90%;
}
}


@media only screen and (max-width: 768px) {
  .header {
    display: none;
  }

}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #333;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 9999999;
}

.sidenav a {
  padding: 10px 15px;
  text-decoration: none;
  font-size: 20px; /* Increased font size */
  color: #f1f1f1;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  background-color: #575757;
  color: #ffffff;
}

.sidenav .side-dropdown {
  position: relative;
  margin-bottom: 15px;
}

.sidenav .dropdown-btn {
  font-size: 20px;
  color: white;
  padding: 10px 15px;
  border: none;
  background: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.sidenav .dropdown-btn i {
  margin-left: auto;
}

.sidenav .dropdown-btn:hover {
  background-color: #575757;
}

.sidenav .dropdown-container {
  max-height: 0;
  overflow: hidden;
  background-color: #444;
  padding-left: 20px;
  transition: max-height 0.5s ease-out;
}

.sidenav .dropdown-container.active {
  max-height: 400px;
}

.sidenav .dropdown-container a {
  padding: 8px 15px;
  font-size: 18px;
}

.sidenav .dropdown-container a:hover {
  background-color: #575757;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 36px;
  color: white;
}

@media screen and (max-width: 600px) {
  .sidenav a {
    font-size: 18px;
  }

  .sidenav .dropdown-btn {
    font-size: 18px;
  }

  .sidenav .dropdown-container a {
    font-size: 16px;
  }


}
/*-------------- END HEADER --------------------*/




/*-------------- Dashboard ---------------*/

.dashboard-head{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.dashboard-head h2{
  font-size: 20px;
  font-weight: normal;
}

.dashboard-head strong{
  font-size: 20px;
  font-weight: bold;
}

.dashboard-widgets {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

/*..............................................................setting list.php.................................................*/

.dashboard-widgetss {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px !important;
  width: 100%;
  height: 100%;

}

/*..............................................................................................................*/


.kts-widget-outer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.kts-widget{
  text-decoration: none;
  background: white;
  color: black !important;
  width: 100%;
  min-width: 150px;
  height: 120px;
  margin: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #F1F1F1;
  border-radius: 10px;
  overflow: hidden;
  transition: .5s;
  cursor: pointer;
  position: relative;
}


.kts-widget:hover{
  transform: scale(1.02);
  box-shadow: 2px 2px 6px #F1F1F1;
}

.kts-widget-footer{
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: green;
  height: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.kts-widget-footer span{
  color: white;
  font-size: 12px;
}

.kts-widget-inner{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  padding: 10px;
}

.kts-widget-inner .kts-widget-heading{
  color: black !important;
  position: absolute;
  top: 10%;
  left: 3%;
}

.kts-widget-inner .kts-widget-heading h2{
  color: black !important;
  font-size: 14px;
  font-weight: 400;
}

.kts-widget-inner .kts-widget-heading h3{
  color: rgb(148, 166, 210) !important;
  font-size: 11px;
  font-weight: normal;
}

.kts-widget-inner h4{
  color: rgb(129, 129, 129) !important;
  font-size: 10px;
  font-weight: normal;
}

.kts-widget-inner h1{
  color: black !important;
  position: absolute;
  bottom: 23px;
  left: 10px;
  font-size: 20px;
  font-weight: normal;
  text-align: center;
}

.kts-widget-inner .cash::before{
  font-size: 60px;
  content: "₹";
  opacity: .1;
  color: #afafaf;
  bottom: 0;
  left: 3%;
  position: absolute;
}

.kts-widget-inner img{
  position: absolute;
  top: 5%;
  right: 3%;
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: .1;
}


.kts-product-widget-outer{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

.kts-product-widget-inner{
  width: 100%;
  display: flex;
  flex-direction: grid;
  grid-template-columns: auto auto auto auto;
}

.kts-product-widget{
  width: 200px;
  min-width: 200px;
  height: 400px;
  border-radius: 10px;
  border: 1px solid #F4F4F4;
  margin: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  
}

.kts-product-widget img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 0;
  cursor: pointer;
}

.kts-product-widget .buttons{
  position: absolute;
  z-index: 999999;
  top: -40px;
  right: 0;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.kts-product-widget button{
  width: 30px;
  height: 30px;
  object-fit: contain;
  background-color: white;
  border-radius: 10px;
  padding: 5px;
  margin: 3px;
  
}

.kts-product-widget-content{
  width: 90%;
  position: absolute;
  font-size: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  z-index: 1;
  bottom: 2%;
  border-radius: 10px;
}

.kts-product-widget-content table{
  width: 100%;
  border-collapse: collapse;
}

.kts-product-widget-content table td,.kts-product-widget-content table th{
  padding: 5px;
  line-height: 18px;
  border-bottom: 1px solid #fceaea;
  text-align: center;
}

.kts-product-widget-content span{
  display: flex;
  flex-direction: row;
  font-weight: bold;
}

.kts-product-widget-content span h3{
  font-weight: 400;
}
.widget-table table{
  width: 100%;
}

.widget-table table td{
  padding: 3px;
  font-size: 12px;
  border-bottom: .5px solid #e0e0e0;
}


.design-approved{
  background-color: rgb(33, 164, 33);
  padding: 3px;
  color: white;
  text-align: center !important;
  justify-content: center;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
}

.design-pending{
  background-color: rgb(255, 230, 0);
  padding: 3px;
  color: black;
  text-align: center !important;
  justify-content: center !important;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
}

.design-reject{
  background-color: rgb(177, 9, 9);
  padding: 3px;
  color: rgb(255, 255, 255);
  text-align: center !important;
  justify-content: center;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {

  .kts-widget-outer{
    width: 100%;
  }

  .dashboard-widgets {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 10px;
  }

  /*..............................................................setting list.php.................................................*/
  .dashboard-widgetss {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 2cm;
  }
  
  /*...............................................................................................................*/


  .kts-widget {
    width: 100%;
  }



  .kts-product-widget{
    width: 300px;
    height: 450px !important;
  }
}





/*-------------- END Dashboard ---------------*/

.paymentPopup{
  width: 100vw !important;
  height: 100vh !important;
  top: 0;
  left: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  background: rgba(255,255,255,.7);
  transform: translateY(-100vh);
  transition: .5s;
  opacity: 0;

}

.design-2-popup{
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: rgb(254, 250, 250);
  width: 100vw;
  height: 500px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  transform: translateX(100vw);
  opacity: 0;
  border: 1px solid #F1F1F1;
  overflow: hidden;
  overflow-y: scroll;
}

.design-2-popup-show{
  animation: design-in .5s;
  transform: translateX(0);
  opacity: 1;
}

@keyframes design-in {
  0%{
    opacity: 0;
    transform: translateX(100vw);
  }
  100%{
    opacity: 1;
    transform: translateX(0);
  }
  
}

.design-2-popup-inner{
  width: 80%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.paymentPopup-show{
  opacity: 1;
  transform: translateY(0);
}

.paymentPopup-inner{
  max-width: 90vw;
  min-width: 50vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: white;
  box-shadow: 2px 2px 15px rgba(176, 176, 176, 0.156);
  position: relative;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: auto;
  padding: 20px;
  

}

.medium-popup{
  min-width: 60vw !important;
  height: 60vh !important;
}

.paymentPopup-inner .close-btn{
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 0;
}

.paymentPopup-inner .close-btn img{
  width: 30px;
  height: 30px;
}

.paymentPopup-inner-content{
  width: 100% !important;
  height: 100%;
  overflow-y: scroll;
  padding: 10px !important;
  background-color: #fffafa6e;
}

.paymentPopup-inner-image{
  height: 500px;
  width: 350px;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
}

.paymentPopup-inner-image img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.popupHeading{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.popupHeading .button-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

@media only screen and (max-width: 1024px) {

  .paymentPopup-inner{
    width: 100%;
    height: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .paymentPopup {
    z-index: 999999;
    height: 100vh;
    width: 100vw;
    
  }

  .paymentPopup-show {
    opacity: 1;
    transform: translateY(0);
  }

  .paymentPopup-inner {
    width: 100%;
    min-width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    background-color: white;
    border-radius: 0;
    max-height: 100vh;
    scroll-behavior: smooth;
    padding-bottom: 20%;
  }

  .popupHeading img {
    width: 20px;
    height: 20px;
    padding: 0;
    object-fit: contain;
    background-color: white;
    border-radius: 3px;
    margin: 0;
  }

  .paymentPopup-inner-content {
    width: 100%;
    padding: 10px;
    background: rgb(248, 248, 248) !important;
    overflow-y: auto;
  }

  .paymentPopup-inner-image {
    width: 100%;
    max-height: 300px;
  }

  
  .kts-table table {
    min-width: 100%;
  }

  * {
    font-size: 12px;
  }

  .kts-form-group .kts-form {
    width: 100%;
  }

  .caption {
    font-size: 14px;
  }

  .kts-form input,
  .kts-form select,
  .kts-form textarea {
    width: 100%;
    font-size: 14px;
  }

  .kts-form-group,
  .kts-table,
  .popupHeading {
    animation: none !important;
  }
}

/*-------------- Footer ---------------*/

.footer{
  width: 100vw;
  height: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed !important;
  bottom: 0 !important;
  overflow: hidden;
  background-color: rgb(250, 250, 250);
}

.footer-inner{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
} 

.footer-inner h2{
  font-size: 12px;
  font-weight: normal;
  color: rgb(15, 15, 15);
}

.footer-inner a{
  text-decoration: none;
  color: rgb(101, 101, 101);
}

/*-------------- END Footer ---------------*/


/*-------------- SLIDE ITEMS ---------------*/

.item-slide{
  position: relative;
  width: 100%;
  height: 70vh;
}



.mySlides {display: none}
.mySlides img {
  vertical-align: middle;
  width: 100%;
  height: 70vh !important;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  height: 100%;
  background: white;
}
.item-slide-table{
  position: absolute;
  bottom: 0;
  background: white !important;
}
.item-slide-table-top{
  position: absolute;
  top: 0;
  background: none;
}


/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

/*-------------- END SLIDE ITEMS ---------------*/



/*-------------- NOTIFICATION ---------------*/

.notification{
  width: 100vw;
  height: 50px;
  position: fixed;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 999999999999999999;
  transform: translateY(100px);
}

.notification-show{
  animation: notify-in .5s;
  transform: translateY(0);
  opacity: 1;
}

@keyframes notify-in {
  0%{
    transform: translateY(100px);
    opacity: 0;
  }
  100%{
    transform: translateY(0);
    opacity: 1;
  }
  
}

.notification-inner{
  max-width: 600px;
  height: 100%;
  padding: 10px;
  border-radius: 10px;
  background-color: #7f2e2e;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.notification-inner img{
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.notification-inner .green{
  background-color: green !important;
}
.notification-inner .red{
  background-color: rgb(177, 9, 9) !important;
}

.notification-inner .blue{
  background-color: #287bb6 !important;
}

.notification-inner .close-btn{
  cursor: pointer;
  transition: .5s;
  height: 25px;
  width: 25px;
}

.notification-inner .close-btn:hover{
  background-color: #6d1d1d;
}



.notification-show .notification-inner img{
  animation: rotate-in .75s;
}

@keyframes rotate-in {
  0%{
    transform: rotate(45deg) scale(0);
    opacity: 0;
  }
  100%{
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

.notification-inner span{
  font-size: 12px;
  color: white;
  padding: 10px;
}

/*-------------- END NOTIFICATION ---------------*/



/*-------------- CHECK IN FORM ---------------*/


.checkin-form{
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
  background-color: rgba(237, 236, 236, 0.8);
}

.checkinBtn{
  position:fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999999;
}

.saleBtn{
  position:fixed;
  bottom: 60px;
  right: 20px;
  z-index: 9999999;
}

.reloadBtn{
  position:fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999999;
}

.checkin-form-inner{
  width: 500px;
  background-color: white;
  padding:10px;
  border: 1px solid #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.checkin-form-inner h3{
  font-size: 30px;
  margin-bottom: 10px;
  padding: 10px;
}

.checkin-form-inner .checkin-data{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.checkin-form-inner .checkin-data img{
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.checkin-form-inner .checkin-buttons{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
.checkin-form-inner span{
  font-size: 12px;
  padding: 10px;
}

/*-------------- END CHECK IN FORM ---------------*/


/*-------------- LOADING ---------------*/

.loading-outer{
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999999999;
  display: none;
}

.loading-outer-show{
  display: none;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  background-color: rgba(255,255,255,.98);
}

.loading-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;

}

.loading-inner img{
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  border: 2px solid rgb(177, 9, 9);
  border-radius: 50%; 
  padding:5px;
}

.loading-inner .loading-icons{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.loading-inner .percentage-section{
  padding: 10px 0;
  position: absolute;
  right: -200px;
}

.loading-inner .percentage-section h4{
  font-size: 30px;
  font-weight: 200;
  text-align: center;
}

.loading-inner .loading-icons span{
  width: 10px;
  height: 10px;
  background-color: black;
  border-radius: 50%;
  margin: 10px;
  opacity: 0;
  animation: slide-first 3s infinite ease-in-out;
  text-align: center;
}

.loading-inner .loading-icons span:nth-child(3)
{
  animation: slide-third 3s infinite ease-in-out;
}

.loading-inner .loading-icons span:nth-child(2)
{
  animation: slide-second 3s infinite ease-in-out;
}

@keyframes slide-first {
  0%{
    transform: scale(2);
    opacity: 0;
  }
  50%{
    transform: scale(1);
    opacity: 1;
  }
  
}

@keyframes slide-second {
  0%{
    transform: scale(2);
    opacity: 0;
  }
  70%{
    transform: scale(1);
    opacity: 1;
  }
  
}

@keyframes slide-third {
  0%{
    transform:  scale(2);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
  
}

.loading-inner h3{
  font-size: 22px;
  letter-spacing: 3px;
  text-transform: capitalize;
  opacity: 1;
  text-align: center;
}

.loading-inner p{
  font-size: 12px;
  letter-spacing: 1px;
  color: #464444;
  margin-top: 10px;
  text-align: center;
}


.whatsapp-sidebar{
  width: 100%;
  height: calc(80vh - 40px);
  border: 1px solid #c4c4c4;
  background-color: #f8f8f8;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.whatsapp-sidebar .whatsapp-sidebar-inner{
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.whatsapp-sidebar .whatsapp-sidebar-inner .whatsapp-sidebar-content{
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  overflow-y: scroll;
}

.whatsapp-sidebar .whatsapp-sidebar-inner .whatsapp-sidebar-content .sidebar-content{
  width: 100%;
  height: 60px;
  min-height: 60px;
  border-bottom: 1px solid #F1F1F1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding:5px;
  transition: .5s;
  cursor: pointer;
}

.whatsapp-sidebar .whatsapp-sidebar-inner .whatsapp-sidebar-content .sidebar-content img{
  width: 30px;
  height: 30px;
  margin: 10px;
  object-fit: cover;
  border-radius: 50%;
}

.whatsapp-sidebar .whatsapp-sidebar-inner .whatsapp-sidebar-content .sidebar-content .msg-content{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.whatsapp-sidebar .whatsapp-sidebar-inner .whatsapp-sidebar-content .sidebar-content:hover{
  background-color: #eeeeee;
}

.whatsapp-sidebar .whatsapp-sidebar-inner .whatsapp-sidebar-content .sidebar-content .name{
  font-size: 12px;
  color: grey;
  padding: 3px;
  margin: 0;
}

.whatsapp-sidebar .whatsapp-sidebar-inner .whatsapp-sidebar-content .sidebar-content .mobile{
  font-size: 14px;
  padding: 3px;
  margin: 0;
  color: black;
}

.whatsapp-new-msg{
  width: 300px;
  padding: 10px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: white;
  z-index: 999999;
  transform: translateX(-100vw);
  box-shadow: 5px 5px 10px rgb(216, 216, 216);
}

.new-msg-show{
  animation: slide-in-left .5s;
  transform: translateX(0);
}

@keyframes slide-in-lef {
  0%{
    transform: translateX(-100vw);
  }
  100%{
    transform: translateX(0);
  }
  
}



.whatsapp-body{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 80vh;
  border: 1px solid #dedcdc;
  background-color: #e7e4e4;
}

.whatsapp-body .whatsapp-body-inner{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
   position: relative;

}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox{
  width: 100%;
  height: 80vh;
  display: flex;
  flex-direction: column; /* 'column' for start, 'column-reverse' for end */
  overflow-y: scroll;
}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  
}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat-right{
  align-items: flex-end !important;
}


.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat .chat-inner{
  max-width: 300px;
  padding: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px;
  background: #fff7f7;
  border-radius: 10px;
}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat-right .chat-inner{
  align-items: flex-end;
  justify-content: flex-end;
}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat .content{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 3px;
}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat-right .content{
  align-items: flex-end;
  justify-content: flex-end;
}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat .content span{
  font-size: 12px;
  padding: 3px;
}


.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat .chat-footer{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat .chat-footer a{
  text-decoration: none;
  font-size: 10px;
  padding: 3px;
  color: #aaa7a7;
}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat .chat-footer .time{
  font-size: 10px;
  padding: 3px;
  color: #aaa7a7;
}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat .chat-footer .status{
  font-size: 10px;
  padding: 3px;
  color: #6d1d1d;
}

.whatsapp-body .whatsapp-body-inner .whatsapp-chatbox .chat .chat-footer .payment{
  font-size: 10px;
  color: rgb(11, 139, 41);
  padding: 3px;
}

.whtasapp-chat{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  background-color: white;
  padding: 5px;
  padding-top: 10px;
  z-index: 9999999;
}

.whtasapp-chat textarea{
  border: none;
  padding: 5px;
  font-size: 12px;
  border-radius: 5px;
  margin: 5px;
  border: 1px solid #F1F1F1;
}

.whtasapp-chat button{
  border: none;
  background-color: green;
  color: white;
  padding: 5px;
  width: 60px;
  border-radius: 20px;
  cursor: pointer;
  transition: .5s;
}

.whtasapp-chat button:hover{
  background-color: #36ca2b;
}

.whatsapp-chatbox button{
  position: absolute;
  top: 0;
  right: 0;
  opacity: .5;
  z-index: 9999999999999;

}

.whatsapp-chatbox button:hover{
  opacity: 1;

}




/*-------------- END LOADING ---------------*/






/*-------------- IMAGE ---------------*/

.image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.image-grid img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border: 1px solid #ccc;
  padding: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.image-grid div {
  position: relative;
}
.delete-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 0, 0, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  padding: 2px 5px;
  font-size: 12px;
}
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.9); 
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
.modal-content img {
  width: 100%;
  height: auto;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* TAB */

.jobheader h3,.jobheader h4{
  font-size: 18px;
}

.color-red{
  color: red;
}

.color-green{
  color: green;
}

.tabs{
  width: 100%;
  justify-content: space-around;
}

.tabs .active{
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.tab{
  padding: 10px;
  border: 1px solid #fceaea;
  cursor: pointer;
  transition: .5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tab span{
  white-space: nowrap;
  font-size: 12px;
  text-align: center;
}

.tab:hover{
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
}

  .tabcontent {
      display: none;
      padding: 10px;
      width: 100%;
      min-height: 500px;
  }

  .tabcontent h3{
    font-size: 16px;
    font-weight: 400;
    margin: 20px 0;
  }
  .tabcontent .tabheader{
    justify-content: space-between;
  }

  .active {
      display: block;
  }

  .kts-table th {
    cursor: pointer;
  }


.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    border: 1px solid #ddd;
    max-height: 150px;
    overflow-y: auto;
    background-color: #fff;
    z-index: 1000;
    width: 100%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 4px;
}


.autocomplete-suggestion {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}


.autocomplete-suggestion:hover {
    background-color: #f9f9f9;
}


.parent-container {
    position: relative; 
}


@media screen and (max-width: 768px) {
    .autocomplete-suggestions {
        position: absolute;
        border: 1px solid #ccc;
        max-height: 200px;
        overflow-y: scroll;
        width: 100%;
        left: 0;
        right: 0;
        margin-top: 0;
        box-sizing: border-box;
    }

    .autocomplete-suggestion {
        font-size: 16px;
        padding: 12px;
    }

    input[type="text"] {
        width: 100%;
        box-sizing: border-box;
    }

    .parent-container {
        padding: 0;
        margin: 0;
        width: 100%;
    }
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 4px;
  box-sizing: border-box;
}

.checkbox-container input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin-right: 8px;
  box-sizing: border-box;
}

.checkbox-container label {
  font-size: 14px;
}

.button-cotainer {
  display: block;
}

.table-controls {
  display: flex;
  justify-content: flex-start;
  width: 100px;
  gap: 1px;
}

/*....................................................Balance Sheet CSS...................................................*/

.balance-sheet{
  width: 100%;
  background-color: white;
  margin-bottom: 1cm;
}

.balance-head1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

.balance-head2 {
  text-align: center;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 20px;
  color: #666;
}

.assets {
  margin-bottom: 20px;
}

.balance-head3 {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  /* margin: 0 -20px; */
  font-size: 18px;
  border-radius: 5px 5px 0 0;
  width: 100%;
}

.balance-head3 .total {
  text-align: right;
  margin-top: -0.5cm;
  font-weight: normal;
}

.more {
  margin: 10px 0;
}

.more .balance-head4 {
  font-size: 16px;
  padding: 2px;
  color: #000000;
  background-color: #e1f4f7;
}

p {
  margin: 5px 0;
  font-size: 14px;
}

.amount {
  float: right;
  font-weight: bold;
}

.total-line {
  border-top: 1px solid #ddd;
  padding-top: 5px;
  font-weight: bold;
}

.grand-total{
  border-top: 1px solid #ddd;
  background-color: #467b8111;
  padding-top: 5px;
  padding: 10px;
  font-weight: bold;
}

.final-total {
  font-weight: bold;
  text-align: center;
  border-top: 2px solid #ddd;
  padding-top: 10px;
  margin-top: 20px;
  font-size: 16px;
}

/*....................................................Balance Sheet CSS END...................................................*/

/*....................................................Profit/Loss CSS...................................................*/

.header-section {
  text-align: center;
  margin-bottom: 40px;
}

.header-section h1 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.header-section h2 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.header-section h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #666;
}

.btn-new-construction {
  background-color: #4c9ed9;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

.btn-new-construction:hover {
  background-color: #3b8aba;
}

.pl-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-bottom: 1cm;

}

.pl-table thead th {
  background-color: #e3e3e3;
  font-weight: 600;
  padding: 10px;
  text-align: left;
  border-bottom: 2px solid #ccc;
}

.pl-table tbody tr {
  border-bottom: 1px solid #ddd;
}

.first-col {
  width: 60%;
  padding: 8px;
}

.amount-col {
  width: 13%;
  padding: 8px;
  text-align: right;
  white-space: nowrap;
}

.child-indent {
  padding-left: 40px;
}

.arrow {
  display: inline-block;
  margin-right: 5px;
  transition: transform 0.2s ease;
  cursor: pointer;
  font-size: 0.9rem;
}
.arrow.rotated {
  transform: rotate(90deg);
}

.hidden {
  display: none;
}

.total-row,
.final-row {
  font-weight: bold;
  background-color: #fafafa;
  border-bottom: 2px solid #000;
}

.final-row-label {
  background-color: #d9ebd7;
}
.final-row-amount {
  background-color: #d9ebd7;
  font-weight: bold;
}

/*...............................................CHART.................................................*/

.charts-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.chart-box {
  background-color: #fff;
  border: 1px solid #ececec;
  padding: 30px !important;
  border-radius: 5px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chart-box canvas {
  height: 100% !important; 
  width: 100% !important;
}

@media screen and (max-width: 768px) {
  .charts-container {
    display: flex;
    flex-direction: column;
    padding-bottom: 2cm;
  }
}

.reference-id {
  display: inline-block;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 12px;
  margin: 2px;
  font-size: 0.9em;
}
/*...............................................CHART END.................................................*/


/*...............................................BUTTONS DROPDOWN STYLE.................................................*/

.kts-form.align-start {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kts-dropdown {
  position: relative;
  display: inline-block;
}

.kts-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.kts-dropdown-btn:hover {
  background-color: #f0f0f0;
}

.kts-dropdown-btn img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.kts-dropdown-content {
  display: none; 
  position: absolute; 
  right: 0; 
  background-color: white; 
  min-width: 160px; /* or set a fixed width: 200px, for example */
  width: 200px;     /* this fixes the width */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 4px 0;
  z-index: 9999;
  white-space: nowrap;
}

.kts-dropdown-content a {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  text-decoration: none;
  color: black;
  font-size: 12px;
  transition: background-color 0.2s;
}

.kts-dropdown-content a:hover {
  background-color: #f9f9f9;
}

.kts-dropdown-content a img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.table-container {
  overflow: visible !important;
}

/*...............................................BUTTONS DROPDOWN STYLE END.................................................*/

/*...............................................Filter Mobile..............................................................*/

@media (max-width: 768px) {
#toggleFilterBtn {
  position: fixed;
  bottom: 15%;
  right: 29px;
  background-color: #1d1d1e;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: 1102;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.filter-toggle-btn {
  position: fixed;
  bottom: 15%;
  right: 20px;
  background-color: #007bff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: 1102;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.filter-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.5s ease;
}

.filter-toggle-btn.active {
  opacity: 0.3;
}

.filter-toggle-btn.active .filter-icon {
  transform: rotate(180deg);
}

.filter-data {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 90%;
  background: white;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translate(-50%, 100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1101;
  padding: 16px;
  height: calc(75vh - 80px);
  overflow-y: auto;
  box-sizing: border-box;
  padding-bottom: 100px;
}

.filter-data.show {
  transform: translate(-50%, 0);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.filter-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.close-btn {
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.filter-data-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-data input,
.filter-data select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-sizing: border-box;
}

.mobile-only {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-only label {
  font-size: 14px;
  color: #555;
  font-weight: 500;
}
}

/*...............................................Filter Desktop..............................................................*/

@media (min-width: 769px) {
#toggleFilterBtn,
.filter-header {
  display: none !important;
}

.mobile-only {
  display: none !important;
}

.filter-data {
  width: auto;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 20px;
  padding: 8px 12px;
  position: fixed;
  top: 70px;
  z-index: 9999;
  background-color: white;
  transform: none !important;
  height: auto;
  overflow: visible;
}

.filter-data-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
}

.filter-data input,
.filter-data select {
  border: none;
  background-color: white;
  color: #333;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  min-width: 120px;
  text-align: center;
}

.filter-data input {
  cursor: text;
}

.filter-data input::placeholder {
  color: #999;
  opacity: 0.7;
}
}
/* ---- Login tabs and alignment tweaks ---- */
.login-tabs { width:100%; display:flex; gap:8px; margin-top:6px; align-items:center; }
.login-tabs button { flex:1; min-height:38px; border-radius:20px; }
.login-tabs .transparent { border:1px solid #cfcfcf; }
.gap-8 { gap:8px; }
.input-row { width:100%; display:flex; align-items:center; gap:8px; }
.input-row input { flex:1; }
.input-row button { width:auto; white-space:nowrap; }

/* Small-screen simplifications without separate mobile.css */
@media (max-width: 640px) {
  .kts-table table th:nth-child(n+4),
  .kts-table table td:nth-child(n+4) { display:none; }
  .row { flex-wrap: wrap; }
  .login_form button, .login_form .primary, .login_form .secondary { min-height:42px; }
}

.login_form .row{ width:100%; justify-content:space-between; }
.login_form .row button{ width:auto; }
.login_form .row #btnSend{ flex:1; }

/* Strong styles for login tabs */
.login-tabs { width:100%; display:flex; gap:8px; margin-top:6px; align-items:center; }
.login-tabs button { flex:1; min-height:38px; border-radius:999px; font-size:14px; width:auto !important; padding:8px 12px; border:1px solid #e5e7eb; background:#f8fafc; color:#0f172a; }
.login-tabs .secondary { background:#0ea5e9 !important; color:#fff !important; border:1px solid #0ea5e9 !important; }
.login-tabs .transparent { background:#fff !important; color:#333 !important; border:1px solid #cfcfcf !important; }
.login_form .row{ width:100%; justify-content:space-between; }
.login_form .row button{ width:auto; }
.login_form .row #btnSend{ flex:1; }
#btnResend[disabled]{ opacity:.6; }
/* ============ COUPON: Light Theme ============ */
.coupon-wrap { display:grid; gap:16px; color:#111827; width:100%; }
.coupon-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px; border:1px solid #e5e7eb; border-radius:14px; background:#ffffff; color:#111827; width:100%; }
.coupon-meta { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.coupon-pill { border:1px solid #e5e7eb; border-radius:999px; padding:6px 12px; font-size:12px; color:#111827; background:#f9fafb; }
.coupon-section { display:grid; gap:12px; width:100%; }
.coupon-title { font-weight:800; font-size:18px; color:#111827; }
.coupon-grid { display:grid; gap:14px; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; justify-items:stretch; align-items:stretch; }
@media (max-width:1200px){ .coupon-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:992px){ .coupon-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .coupon-grid{ grid-template-columns:1fr; } .coupon-header{ flex-direction:column; align-items:flex-start; } }
.coupon-card { display:flex; flex-direction:column; gap:8px; padding:16px; border:1px solid #e5e7eb; border-radius:14px; background:#ffffff; color:#111827; box-shadow:0 1px 4px rgba(0,0,0,.06); min-height:170px; width:100%; }
.coupon-card b { font-size:16px; color:#111827; }
.coupon-sub { font-size:13px; opacity:.9; color:#374151; }
.coupon-warn { color:#dc2626; font-size:12px; margin-top:4px; }
.coupon-actions { margin-top:auto; display:flex; gap:10px; }
.coupon-btn, .coupon-btn.primary { width:100%; padding:12px 14px; border-radius:10px; cursor:pointer; border:1px solid #d1d5db; font-weight:700; letter-spacing:.2px; }
.coupon-btn { background:#ffffff; color:#111827; }
.coupon-btn.primary { background:#16a34a; border-color:#16a34a; color:#ffffff; }
.coupon-btn[disabled]{ opacity:.6; cursor:not-allowed; background:#f9fafb; color:#9ca3af; border-color:#e5e7eb; }

/* ============ Modal (kts) : Light Theme ============ */
.kts-modal { position:fixed; inset:0; display:none; z-index:9999; }
.kts-modal[aria-hidden="false"]{ display:block; }
.kts-modal__overlay { position:absolute; inset:0; background:rgba(0,0,0,.45); backdrop-filter:blur(1px); }
.kts-modal__dialog { position:relative; width:92%; max-width:460px; margin:8vh auto; background:#ffffff; color:#111827; border-radius:14px; box-shadow:0 10px 30px rgba(0,0,0,.2); outline:none; display:flex; flex-direction:column; border:1px solid #e5e7eb; }
.kts-modal__header{ display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border-bottom:1px solid #e5e7eb; background:linear-gradient(0deg,#ffffff,#f9fafb); }
.kts-modal__body{ padding:16px; }
.kts-modal__footer{ padding:12px 16px; display:flex; gap:10px; justify-content:flex-end; border-top:1px solid #e5e7eb; background:#f9fafb; }
.kts-modal__close{ border:0; background:transparent; color:#6b7280; font-size:22px; line-height:1; cursor:pointer; padding:4px; border-radius:8px; }
.kts-modal__close:hover{ color:#111827; background:#f3f4f6; }
.kts-modal__close:focus-visible{ outline:2px solid #2563eb; outline-offset:2px; }
.kts-btn{ padding:10px 14px; border-radius:10px; border:1px solid transparent; cursor:pointer; font-weight:600; transition:background .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease; }
.kts-btn--primary{ background:#2563eb; color:#fff; border-color:#2563eb; }
.kts-btn--primary:hover{ background:#1d4ed8; border-color:#1d4ed8; }
.kts-btn--primary:active{ background:#1e40af; border-color:#1e40af; }
.kts-btn--primary[disabled]{ opacity:.6; cursor:not-allowed; }
.kts-btn--ghost{ background:#ffffff; color:#111827; border:1px solid #d1d5db; }
.kts-btn--ghost:hover{ background:#f3f4f6; border-color:#cbd5e1; }
.kts-btn--ghost:active{ background:#e5e7eb; }
.kts-btn:focus-visible{ outline:2px solid #2563eb; outline-offset:2px; }
.kts-error{ color:#dc2626; font-weight:600; }
@media (max-width:420px){ .kts-modal__dialog{ margin:10vh auto; width:94%; } .kts-btn{ flex:1 1 auto; } }
.kts-modal[aria-hidden="false"] .kts-modal__dialog{ animation:ktsModalIn .16s ease-out; }
@keyframes ktsModalIn{ from{ transform:translateY(8px); opacity:.92;} to{ transform:translateY(0); opacity:1;} }
/* ============ Dashboard: Redeem & Referrals (Light) ============ */
.redeem-card { border:1px solid #e5e7eb; border-radius:12px; padding:16px; background:#ffffff; box-shadow:0 1px 4px rgba(0,0,0,.06); margin-top:14px; width:100%; margin-left:auto; margin-right:auto; margin-bottom:24px; box-sizing:border-box; }
.redeem-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.redeem-head h3 { margin:0; font-size:18px; }
.badge-soft { font-size:12px; padding:4px 8px; border-radius:999px; background:#eef2ff; color:#1e3a8a; border:1px solid #e0e7ff; }
#cashRedeemCard { justify-self:center; align-self:start; }
.redeem-grid { display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center; }
.redeem-grid input[type="number"] { width:100%; padding:10px 12px; background-color:#ffffff; color:#111827; border:1px solid #d1d5db; border-radius:10px; font-size:15px; outline:none; }
.redeem-grid input[type="number"]:focus { border-color:#60a5fa; box-shadow:0 0 0 3px rgba(96,165,250,.3); }
.redeem-grid .eq { min-width:180px; text-align:center; font-size:14px; padding:10px 12px; background:#f9fafb; color:#111827; border:1px dashed #cbd5e1; border-radius:10px; }
.redeem-grid button { padding:10px 16px; border:0; border-radius:10px; cursor:pointer; background:#b10909; color:#fff; font-weight:600; transition:transform .06s ease, opacity .2s ease; }
.redeem-grid button:hover { transform: translateY(-1px); }
.redeem-grid button:active { transform: translateY(0); }
.redeem-grid button[disabled]{ opacity:.5; cursor:not-allowed; }
.quick-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.chip { padding:6px 10px; border-radius:999px; border:1px solid #d1d5db; background:#ffffff; color:#111827; cursor:pointer; font-size:12px; transition:background .15s ease, border-color .15s ease, transform .06s ease; user-select:none; }
.chip:hover { background:#f3f4f6; border-color:#cbd5e1; }
.chip:active { transform:scale(.98); }
.note-row { margin-top:8px; font-size:12px; color:#6b7280; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
.split .stat { background:#f9fafb; color:#111827; border:1px solid #e5e7eb; border-radius:10px; padding:10px; text-align:center; font-size:13px; }
@media (max-width:700px){ .redeem-grid{ grid-template-columns:1fr; align-items:stretch; row-gap:12px; } .redeem-grid .eq{ min-width:unset; } .split{ grid-template-columns:1fr; } }

#refCard .ref-head { display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; color:#111827; }
#refCard .ref-actions { display:flex; gap:8px; align-items:center; }
.ref-actions button { min-height:36px; }
#refCard .ref-chip { font-size:12px; padding:4px 8px; border-radius:999px; background:#f3f4f6; color:#111827; border:1px solid #e5e7eb; }
/* === Simple UI overrides (added) === */
.container{
  width: 100%;
  max-width: 100% !important;
  height: auto;
  margin: 0;
  padding: 0 12px;
}

  /* width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  background-color: white;
  border-radius: 10px; */

.kts-section .kts-section-inner { padding: 12px; }
.kts-section { width:100% !important; display:flex; flex-direction: row; align-items: stretch; justify-content: flex-start; }
.kts-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px; }
.kts-card-header { font-weight: 700; margin-bottom: 8px; }
.kts-card-body { display: grid; gap: 6px; }
.kts-btn, .primary, .kts-btn.kts-btn--primary { background:#0ea5e9; color:#fff; border:none; padding:10px 16px; border-radius:10px; cursor:pointer; }
.kts-btn--ghost, .secondary { background:#e5e7eb; color:#111827; border:none; }
.kts-btn:disabled { opacity:.65; cursor:not-allowed; }
#toggleFilterBtn, .filter-data { display: none !important; }
.kts-table table { width: 100%; border-collapse: collapse; }
.kts-table th, .kts-table td { padding: 10px; border-bottom: 1px solid #e5e7eb; text-align:left; }
.kts-table th.text-right, .kts-table td.text-right { text-align: right; }
.coupon-grid { display:grid; gap:14px; grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width: 992px){ .coupon-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px){ .coupon-grid { grid-template-columns:1fr; } .coupon-header{flex-direction:column; align-items:flex-start;} }
.coupon-card { background:#ffffff; color:#111827; border-radius:14px; padding:16px; border:1px solid #e5e7eb; box-shadow:0 1px 4px rgba(0,0,0,.06); }
.coupon-actions { margin-top:10px; display:flex; gap:8px; }
.coupon-actions .coupon-btn{ width:100%; }
.coupon-btn { background:#e5e7eb; color:#111827; border:none; border-radius:10px; padding:8px 12px; cursor:pointer; }
.coupon-btn.primary { background:#10b981; color:#fff; }
.coupon-warn { margin-top:8px; font-size:12px; opacity:.85; }
.coupon-title { font-weight:800; margin-bottom:8px; }
.coupon-sub { opacity:.9; font-size:13px; }
.coupon-pill { background:#1f285f; color:#cbd5e1; padding:6px 10px; border-radius:999px; font-size:12px; }
.kts-modal { position:fixed; inset:0; background:rgba(2,6,23,.44); z-index:9999; display:block; }
.kts-modal[aria-hidden="true"] { display:none; }
.kts-modal__overlay { position:absolute; inset:0; }
.kts-modal__dialog { position:relative; width:92%; max-width:460px; margin:10vh auto; background:#ffffff; color:#111827; border-radius:14px; box-shadow:0 10px 30px rgba(0,0,0,.2); outline:none; display:flex; flex-direction:column; border:1px solid #e5e7eb; }
.kts-modal__header { padding:12px 14px; border-bottom:1px solid #e5e7eb; display:flex; justify-content:space-between; align-items:center; }
.kts-modal__body { padding:14px; display:grid; gap:8px; }
.kts-modal__footer { padding:12px 14px; display:flex; gap:8px; justify-content:flex-end; }
.kts-modal__close { background:transparent; border:none; font-size:22px; cursor:pointer; }
.kts-error { color:#ef4444; }
.login_outer { display:flex; justify-content:center; align-items:center; min-height:100vh; padding:16px; }
.login_inner { width:100%; max-width:420px; }
.login_form { background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:18px; display:grid; gap:10px; }
.login_form img { max-height:70px; margin: 0 auto 6px; display:block; }
.login_form input { width:100%; padding:10px 12px; border:1px solid #e5e7eb; border-radius:10px; }
.login_form .primary { width:100%; }
.login-tabs { display:flex; gap:8px; }
.login-tabs .secondary { flex:1 1 auto; padding:8px 10px; }
/* Redeem tabs/buttons alignment (added) */
.kts-tabs { display:flex; justify-content:center; gap:8px; }
.kts-tabs button { border:1px solid #e5e7eb; background:#f8fafc; color:#0f172a; padding:8px 12px; border-radius:999px; cursor:pointer; }
.kts-tabs button.active { background:#0ea5e9; color:#fff; border-color:#0ea5e9; }
.kts-card input[type="number"], .kts-card input[type="text"], .kts-card input[type="date"] { width:100%; max-width:100%; margin:0 auto; }
.kts-card .primary { width:100%; max-width:100%; margin:8px auto 0; }




/* Hide legacy dashboard widgets (cash auto) */
.dashboard-widgets{ display:none !important; }

