@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;
}

body {
  background: rgb(255, 255, 255);
}

::-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="month"],
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: 0.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: 0.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;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #fdf3f3;
  position: relative;
}

.main_inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  overflow: scroll;
  position: relative;
  padding-top: 80px;
}

.container {
  width: 80%;
  height: 100%;
  margin: 0;
}

.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;
}

.kts-section {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 10px;
}

.kts-section-inner {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.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: 0.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: 0.5s;
  cursor: pointer;
  border: 0.75px solid #ededed;
}

.popup-menu {
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.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: 0.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: 0.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, 0.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: 0.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(0.5) rotate(0deg);
  }
  100% {
    transform: scale(0.8) rotate(-10deg);
  }
}

.mobile-only {
  display: none;
}

/*...............................................................................................................*/

/*.................................. Mobile view: Convert table rows into stacked columns ............................................*/

/* 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.........................................*/

/*.................................. 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, 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: 0.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: 0.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: 0.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: 0.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;
}
/*-------------- END HEADER --------------------*/

/*-------------- LOGIN --------------------*/

.login_outer {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("asset/img/kites-login-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.login_inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login_form {
  background: white;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 8px #55555511;
  padding: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.login_form img {
  width: 200px;
  height: 70px;
  object-fit: contain;
  margin: 10px;
  animation: slide-in-bottom 2s;
}

.login_form h2 {
  font-size: 18px;
  font-weight: normal;
  color: black;
  margin: 10px 0;
  animation: slide-in-bottom 3s;
}

.login_form h3 {
  font-weight: 100;
  font-size: 16px;
  margin-bottom: 5px;
  animation: slide-in-bottom 2.5s;
}

.login_form input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #f1f1f1;
  padding: 10px;
  margin: 5px;
  font-size: 12px;
  animation: slide-in-bottom 3s;
}

.login_form input::placeholder {
  color: #bcbcbc;
}

.login_form input:focus {
  outline: none;
}

.login_form button {
  margin-top: 20px !important;
  animation: slide-in-bottom 3.5s;
}

.login_form p {
  font-size: 12px;
  color: grey;
  margin: 20px 10px;
  animation: slide-in-bottom 2.75s;
}

.login_form .forget-password {
  cursor: pointer;
  color: rgb(177, 9, 9);
  animation: slide-in-bottom 3s;
}

@keyframes slide-in-right {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-bottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/*-------------- END LOGIN ---------------*/

/*-------------- 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;
  height: 100%; /* Moved from inline CSS */
}

/* Replaces inline grid-column spans */
.widget-full-width {
  grid-column: 1 / -1; /* Automatically spans the entire row on any screen size */
}

.widget-single {
  grid-column: span 1;
}

.kts-widget {
  text-decoration: none;
  background: white;
  color: black !important;
  width: 100%;
  min-width: 150px;
  min-height: 120px; /* Changed from fixed height */
  margin: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.5s;
  cursor: pointer;
  position: relative;
}

/* Multi-route widget specific styles */
.kts-widget.multi-route-widget {
  height: 100%;
  justify-content: flex-start;
  padding: 10px;
}

.kts-widget.multi-route-widget .kts-widget-inner {
  justify-content: flex-start;
  padding: 0;
}

.kts-widget.multi-route-widget .kts-widget-heading {
  position: relative; /* Stops it from floating over content */
  top: auto;
  left: auto;
  width: 100%;
  margin-bottom: 20px; /* Adds breathing room below the title */
}

.route-stats-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 20px;
  width: 100%;
  justify-content: flex-start;
}

.route-stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.route-stat-label {
  color: #777;
  font-weight: 600;
  font-size: 0.75rem;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.route-stat-value {
  font-size: 1rem;
}

.route-stat-value.total-val {
  font-weight: bold;
}

.widget-multi-route-container {
  width: 100%;
  height: 100%;
  display: flex;
}

.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-start;
  position: relative;
  padding: 10px;
}

.kts-widget-inner .kts-widget-heading {
  color: black !important;
  position: relative;
  margin-bottom: 8px;
}

.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: relative;
  margin-top: 8px;
  font-size: 20px;
  font-weight: normal;
}

.kts-widget-inner .cash::before {
  font-size: 60px;
  content: "₹";
  opacity: 0.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: 0.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: 0.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;
}

/*-------------- 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, 0.7);
  transform: translateY(-100vh);
  transition: 0.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 0.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: 100%;
  min-width: 80%;
  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;
}
/*-------------- 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: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease text size */

/*-------------- 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 0.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: 0.5s;
  height: 25px;
  width: 25px;
}

.notification-inner .close-btn:hover {
  background-color: #6d1d1d;
}

.notification-show .notification-inner img {
  animation: rotate-in 0.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, 0.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: 0.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 0.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: 0.5s;
}

.whtasapp-chat button:hover {
  background-color: #36ca2b;
}

.whatsapp-chatbox button {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.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: 0.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;
}

.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.................................................*/

.kts-widget canvas {
  max-height: 250px !important;
}

@media screen and (max-width: 992px) {
  .dashboard-widgets {
    display: flex;
    flex-direction: column;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .kts-widget-outer {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 15px;
    box-sizing: border-box;
  }
  
  .monthly-graph-row {
    flex-direction: column !important;
  }
}

/*...............................................CHART END.................................................*/

/*...............................................BUTTONS DROPDOWN STYLE.................................................*/

.kts-form.align-start {
  display: flex;
  align-items: center;
  gap: 10px;
}
.table-container {
  overflow: visible !important;
}

/*...............................................BUTTONS DROPDOWN STYLE END.................................................*/

/*...............................................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;
}
} */

/*...............................................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;
  }
}

@media (min-width: 769px) {
  .hide-on-desktop {
    display: none !important;
  }

  .sidenav{
    display: none;
  }
}
.tab-content {
  width: 100%;
}

.btn.transparent.primary-small img {
  width: 30px;
  height: 30px;
}

/*...............................................Table DropDown New Style..............................................................*/

.kts-dropdown {
  display: inline-flex;
  flex-direction: column;
  position: relative;
}

.kts-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: background-color 0.2s;
}
.kts-dropdown-btn:hover {
  background: #f0f0f0;
}
.kts-dropdown-btn img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.kts-dropdown-content {
  align-self: center;
  margin-top: 6px;
  display: none;
  position: static;
  background: #fff;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  white-space: nowrap;
  z-index: 1;
}
.kts-dropdown-content.is-open {
  display: block;
}

.kts-dropdown-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: #111827;
  font-size: 13px;
  line-height: 1.2;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.kts-dropdown-content a:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

.kts-dropdown-content a:hover {
  background-color: #f3f4f6;
}

.kts-dropdown-content a:active {
  background-color: #e5e7eb;
}

.kts-dropdown-content a:focus-visible {
  outline: 2px solid #d1d5db;
  outline-offset: 2px;
}

.kts-dropdown-content a img {
  width: 16px;
  height: 16px;
}

.kts-table td:last-child .row {
  display: flex;
  justify-content: center;
}

.kts-dropdown {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.kts-dropdown-content {
  align-self: center;
  margin-top: 6px;
  width: fit-content;
  min-width: unset;
  max-width: 90vw;
  padding: 6px 0;
  box-sizing: border-box;
}

.kts-dropdown-content a {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.kts-dropdown-content {
  margin-top: 6px;
}

.kts-dropdown.drop-up {
  flex-direction: column-reverse;
}

.kts-dropdown.drop-up .kts-dropdown-content {
  margin-top: 0;
  margin-bottom: 6px;
}

/*...............................................Table DropDown New Style END..............................................................*/

/*............................................... Warning Popup for Driver Dashboard..............................................................*/

.route-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
}

.route-modal-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: popIn 0.3s ease;
}

.route-modal-icon {
  width: 60px;
  height: 60px;
  background: #e3f2fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.route-modal-icon img {
  width: 30px;
  height: 30px;
}

.route-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.route-modal-text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 25px;
}

.route-name-highlight {
  display: block;
  margin-top: 5px;
  font-weight: bold;
  color: #1976d2;
  font-size: 1.1em;
}

.route-modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-modal {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
}

.btn-yes {
  background: #2e7d32;
  color: white;
}

.btn-yes:hover {
  background: #1b5e20;
}

.btn-no {
  background: #c62828;
  color: white;
}

.btn-no:hover {
  background: #b71c1c;
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/*............................................... NEW ERP DASHBOARD REDESIGN ..............................................................*/

.erp-summary-container {
  display: flex;
  justify-content: space-between;
  background-color: transparent;
  padding: 0;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.erp-summary-card {
  background-color: white;
  padding: 20px;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  flex: 1;
  text-align: center;
  /* box-shadow: 2px 2px 6px #f1f1f1; */
}

.erp-summary-title {
  font-size: 16px;
  font-weight: normal;
  color: black;
  margin-bottom: 5px;
}

.erp-summary-subtitle {
  font-size: 12px;
  color: #777;
}

.erp-region-section {
  background-color: white;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  /* box-shadow: 2px 2px 6px #f1f1f1; */
}

.erp-region-header {
  font-size: 14px;
  font-weight: normal;
  color: black;
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 10px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.erp-region-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.erp-data-block {
  display: flex;
  flex: 1;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.erp-stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.erp-stat-label {
  font-size: 11px;
  font-weight: normal;
  color: #777;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.erp-stat-value {
  font-size: 15px;
  font-weight: normal;
  color: black;
}

.total-item .erp-stat-value {
  color: green;
  font-weight: bold;
}

.total-item .erp-stat-label {
  color: green;
}

.erp-target-remaining {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
}

.erp-tr-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.erp-tr-inner {
  background-color: #fafafa;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 100%;
  box-sizing: border-box;
}

.tr-label {
  font-size: 11px;
  font-weight: normal;
  color: #777;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.tr-val {
  font-size: 15px;
  font-weight: normal;
}

.rem-red { color: rgb(177, 9, 9) !important; font-weight: bold; }
.rem-green { color: green !important; font-weight: bold; }

/*............................................... DASHBORAD EXCEL BASED TABLES ..............................................................*/

.dashboard-flex-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.dashboard-box {
  flex: 1;
  min-width: 0;
}

.dashboard-box table {
  width: 100%;
  table-layout: fixed;
}

.monthly-graph-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}

.monthly-chart-container {
  flex: 1 1 35%;
  min-width: 300px;
}

.monthly-table-container {
  flex: 1 1 60%;
  background: #fff;
  margin-bottom: 0 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.compact-table-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 30px;
}

.compact-table-container table th,
.compact-table-container table td {
  padding: 5px 8px !important;
  font-size: 12px;
  line-height: 1.2;
  height: auto;
  vertical-align: middle;
  white-space: nowrap;
}

.compact-table-container table thead th {
  text-align: center;
}

.th-group-alain {
  background-color: #fdf5f5 !important;
}

.th-group-auh {
  background-color: #fbf0f0 !important;
}

.th-group-dxb {
  background-color: #faebeb !important;
}

.th-group-total {
  background-color: #f0f0f0 !important;
}

.row-day-sale td {
  background-color: #fdfdfd !important;
  border-top: 1px solid #eaeaea;
}

.row-month-sale td {
  background-color: #f9f9f9 !important;
  font-weight: bold;
}

.text-bold {
  font-weight: bold !important;
}

.text-green {
  color: #2e7d32 !important;
}

.text-red {
  color: #c62828 !important;
}

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

.text-blue {
  color: #0277bd !important;
}

.text-grey {
  color: #888 !important;
}

.text-dark {
  color: #333 !important;
}

.bg-light-grey {
  background-color: #f9f9f9 !important;
}

.bg-subtle-blue {
  background-color: #f4f8fb !important;
}

.bg-subtle-orange {
  background-color: #fffaf0 !important;
}

.bg-subtle-green {
  background-color: #f4fbf4 !important;
}

.report-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 30px;
}
.report-row > .report-box:only-child,
.report-row > .report-box:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.report-box {
  width: 100%;
  box-sizing: border-box;
  background: white;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.report-month-title {
  margin: 0;
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #eaeaea;
  font-size: 14px;
}
.report-box .kts-table {
  margin-bottom: 0;
  max-height: none;
}
.report-box .kts-table table {
  width: 100%;
  table-layout: fixed;
}
.report-box .kts-table th,
.report-box .kts-table td {
  padding: 5px 8px !important;
  font-size: 12px;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
}

/* ERP Dashboard Redesign Styles */
.bg-milk-header { background-color: #e8f5e9 !important; color: #2e7d32 !important; border-bottom: 2px solid #c8e6c9 !important; }
.bg-coupon-header { background-color: #fce4ec !important; color: #c2185b !important; border-bottom: 2px solid #f8bbd0 !important; }
.bg-byproduct-header { background-color: #e3f2fd !important; color: #1565c0 !important; border-bottom: 2px solid #bbdefb !important; }
.sticky-thead th { position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.grand-total-row td { background-color: #f0f0f0 !important; font-weight: bold; border-top: 2px solid #ccc !important; }
.report-box .kts-table table { border-collapse: separate; border-spacing: 0; }
.report-box .kts-table th { border-bottom: 1px solid #ddd; }
.report-box .kts-table td { border-bottom: 1px solid #eee; }
.text-red-highlight { color: #c62828 !important; background-color: #ffebee !important; }
.text-green-highlight { color: #2e7d32 !important; background-color: #e8f5e9 !important; }