:root {
  --sidebar-width: 260px;
  --mainColor: #308e87;
  --body-bg: #f5f5f9;
}

@font-face {
  font-family: 'Roboto';
  src: url('../font/Roboto-Regular.ttf') format('truetype');
}

.cp,
input[type="checkbox"] {
  cursor: pointer;
}

.tooltip {
  z-index: 1200 !important;
}

body {
  font-family: "Roboto";
  background-color: #f9f7f6;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--mainColor);
  box-shadow: none;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.6rem 0.6rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #292929;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #e5e5e5;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15sease-in-out, box-shadow 0.15sease-in-out;
}

.ss-main .ss-values .ss-placeholder,
.ss-content .ss-search input {
  font-size: 14px;
  line-height: 1;
}

.ss-content .ss-search {
  font-size: 12px;
}

.ss-main .ss-values .ss-single {
  font-size: 14px;
}

.ss-content .ss-list .ss-option {
  font-size: 14px;
}

.ss-main .ss-values .ss-value {
  background-color: #368e87;
}

.ss-main:focus {
  box-shadow: 0 0 5px #338e87;
}

.ss-content {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.ss-content .ss-list .ss-option.ss-highlighted,
.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
  background-color: #308e87;
}

.ss-content .ss-list .ss-option:hover {
  background-color: #308e87;
}

.ss-content .ss-search input:focus {
  box-shadow: 0 0 5px #338e87;
}

.color-main {
  color: var(--mainColor);
}

a {
  cursor: pointer;
  color: var(--mainColor);
  transition: 0.5s all;
}

#logo {
  height: 70px;
}

label {
  font-size: 14px;
}

.form-group label {
  font-size: 14px;
}

.selected {
  background-color: red;
}

.selectedTable {
  background-color: red;
}

.float-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.float-button:hover {
  background-color: #3e8e41;
}

#gMap {
  height: 100%;
  width: 100%;
}

#zoneAI {
  display: none;
}

.bg-body-tertiary {
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.centered-container {
  margin-top: 20px;
  margin-left: 20px;
}

.tab-pane {
  height: 100%;
}

.container-nav {
  display: inline-flex;
}

.colBck {
  text-align: right;
}

.colBck img {
  max-height: 510px;
  margin-right: 160px;
}

.colForm {
  text-align: left;
}

.btn {
  border-radius: 0.375rem !important;
  font-size: 14px;
}

.btn-main {
  background-color: var(--mainColor);
  color: #fff;
  border-color: var(--mainColor);
}

.btn-main:hover,
.btn-main:active {
  background-color: #d6e8e7;
  border-color: #338e87;
  color: #338e87;
}

.btn-main:hover svg,
.btn-main:active svg {
  fill: #308e87;
}

.btn-main:hover svg path,
.btn-main:active svg path {
  stroke: #308e87;
}

button {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.btn-close:focus {
  box-shadow: none;
}

#deleteRecords {
  background: #f39159;
  border-color: #f39159;
}

#deleteRecords:hover {
  background: #f1916229;
  border-color: #f39159;
  color: #f39159;
}

input {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
  border-radius: 5px !important;
}

input[type="checkbox"] {
  accent-color: #308e87 !important;
}

.btn-active {
  background-color: #202124;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.cont-main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 96px);
}

footer {
  background-color: #fff;
  padding: 19px 15px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1100;
  height: 60px;
}

footer p {
  font-size: 13px;
  color: #292929;
}

.footer-right {
  text-align: right;
}

.footer-right i {
  font-size: 16px;
  padding: 5px;
}

.form-transition {
  transition: opacity 0.5s ease-in-out;
}

#error-message {
  background-color: rgba(255, 0, 0, 1);
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

#info-message {
  margin: 0 auto;
  background-color: rgba(255, 0, 0, 1);
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  transition: opacity 0.5s ease-in-out;
  max-width: 500px;
  display: none;
  margin-top: 30px;
}

.cardCustom {
  border-radius: 5px 5px 0px 0px;
  border: unset;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.cardCustom .table-info-con {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 10px;
}

.cardCustom .table-title {
  margin-bottom: 0%;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.cardCustom .table-description {
  color: #aaa3a0;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 19px;
}


.cardCustom .table-info-con .table-records-count {
  font-size: 22px;
  margin-bottom: 0%;
  color: #308e87;
}

.card-body {
  padding: 0px !important;
}

.multiRecordsCon {
  border-radius: 1.5rem;
}

.tableActions {
  display: flex;
  gap: 17px;
  font-size: 14px;
  justify-content: start;
  /* Space between buttons */
}

.tableActions #showEdit {
  color: var(--bs-success);
}

.tableActions #delete {
  color: var(--bs-danger);
}

.tableActions #empty {
  color: var(--bs-secondary);
}

.tableActions .action {
  position: relative;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.add-form-con {
  background-color: white;
  box-shadow: rgba(128, 0, 128, 0.2) 0px 2px 7px;

}

.row {
  margin-inline: 0%;
}

.tableActions .action:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -12px;
  /* Adjust based on your gap size */
  color: #666;
  /* Slash color */
  font-size: 17px;
  top: 50%;
  transform: translateY(-50%);
}


#formContainer {
  background-color: #fff;
}

.visibilityNone {
  visibility: hidden;
}

.titlePage {
  font-size: 30px;
  margin-bottom: 0%;
}

hr {
  border-top: 1px #477472 solid;
}

.insideSection {
  width: 40px;
}

.insideTitle {
  text-align: center;
  margin-top: 10px;
  display: flex;
  align-items: center;
  background: white;
  padding: 5px 10px;
  gap: 8px;
  height: 65px;
  -webkit-box-shadow: 2px 0 30px #0001;
  box-shadow: 2px 0 30px #0001;
}

.form-group.d-flex {
  align-items: center;
  gap: 4px;
}

.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
  text-align: center;
  min-width: 400px;
  min-height: 100px;
}

.lblTxt {
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 10px;
}

.addRec .form-control {
  margin-bottom: 30px;
  padding: 10px;
}

.lblGroup {
  font-size: 16px;
  background-color: #308e87;
  color: #fff;
  border-radius: 20px;
  padding: 5px;
  margin-bottom: 10px;
  padding-inline: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-group-container:not(:first-child) {
  margin-top: 30px;
}

#imagePreview {
  max-width: 300px;
  max-height: 300px;
  margin-top: 20px;
}

#imagePreview img {
  border: 3px solid #000000;
  border-radius: 10px;
}

#imageGalleryDiv {
  margin-top: 20px;
}

.imageGalleryCl {
  margin-bottom: 20px;
}

.imageGalleryCl img {
  border: 3px solid #000000;
  border-radius: 10px;
}

input[type="file"] {
  padding: 10px;
  margin-top: 10px;
}

.imageGallery {
  border: 3px solid #000000;
  border-radius: 10px;
}

.btnNew {
  float: right;
  margin-top: 30px;
}

.sizeArrow {
  width: 60px;
}

.sizeArrow {
  color: #000000;
}

.divArrow {
  float: left;
  margin-left: -20px;
  margin-bottom: -10px;
}

#tableManager {
  width: 100% !important;
  border: 1px solid #e9ecef;
}

#contentDivShow {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.labelColumn {
  font-weight: bold;
}

.cntStyle {
  background-color: rgb(255, 255, 255);
  width: 1200px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px;
  padding: 20px;
  margin-bottom: 50px;
}

.permalink {
  display: none;
}

.deleteImg {
  position: relative;
  top: 0px;
  right: 20px;
  padding: 4px 8px;
  cursor: pointer;
  background: white;
}

.divImgUpdate {
  position: relative;
}

.divImgUpdate img {
  width: 100%;
}

.image-container {
  position: relative;
  display: inline-block;
}

.thumbnail {
  width: 200px !important;
  cursor: pointer;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.enlarged-image {
  max-width: 80%;
  max-height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.formSearch {
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: var(--bs-border-radius);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.dataPos {
  cursor: pointer;
}


.highlight {
  color: #FF0000;
}

#advancedFormDiv {
  margin-top: 50px;
}

.tableSQL #tableManager {
  cursor: default;
}

.iframe-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.iframe-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
}

.btnMrg {
  margin-top: 20px;
}

.infoMsg {
  margin-top: 20px;
  margin-bottom: 20px;
}

.linkDownload {
  display: block;
  font-weight: bold;
  margin-top: 3px;
}

.table-container {
  border-bottom: 3px solid #f2915e;
}

#tableRefer p {
  cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: .15em .7em;
  border-color: #000;
  font-size: 14px;
}


.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  border-color: #308e87 !important;
  background: #308e87;
  color: #ffffff !important;
  box-shadow: none;
  font-size: 14px;
}

.dataTables_wrapper {
  padding-block: 15px;
}

.dataTables_filter input {
  height: 30px;
}

.dataTable {
  margin: 50px 0px 0px 0px !important;
}

.dataTables_filter input:focus,
.dataTables_filter input:focus-visible {
  box-shadow: 0 0 0 .05rem #338e871a;
  border-color: var(--mainColor);
  outline: none;
}


div.dataTables_wrapper div.dataTables_length label {
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  font-size: 14;
}

.dataTables_wrapper .dataTables_length select {
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 5px;
  background-color: transparent;
  padding: 4px;
  width: 75px;
  display: inline-block;
  vertical-align: middle;
  min-height: 2.7142em;
  border-color: #f5f5f5;
  padding: 0 10px;
  margin: 0 10px;
  height: 2.7142em;
  background-color: #fff;
}

.dataTables_wrapper .dataTables_filter input[type=search] {
  border: 1px solid #e9ecef;
  background-color: #ffffff;
  padding: 0 10px;
  margin-left: 10px;
  height: 37px;
  border-radius: 4px;
  color: #aaa3a0;
}

tbody,
td,
tfoot,
th,
thead,
tr {
  border-color: #dee2e6;
  font-size: 14px;
}

table.dataTable tbody tr.odd {
  background-color: #f9f9f9;
}

table.dataTable tbody tr {
  background-color: #ffffff;
}

.dataTables_wrapper .dataTables_paginate {
  border: 1px solid #ebebeb;
  border-radius: 0.25rem;
  padding-top: 0;
}

.paginate_button.current:hover {
  background: #fff;
}

.dataTables_wrapper .dataTables_info {
  font-size: 14px;
}

.page-content {
  padding-inline: 20px;
  padding-block: 10px;
  margin-top: 110px;
  margin-bottom: 60px;
}


.breadcrumb.arr-right .breadcrumb-item+.breadcrumb-item::before {
  content: "›";
  vertical-align: top;
  color: #408080;
  font-size: 25px;
  line-height: 18px;
}

.arr-right.breadcrumb a {
  text-decoration: none;

}

.breadcrumb-nav {
  padding-left: 0% !important;
}

.arr-right.breadcrumb .breadcrumb-item {
  font-size: 15px;
  font-weight: 600;
}

.arr-right.breadcrumb .breadcrumb-item a {
  color: var(--mainColor);
}

.arr-right.breadcrumb .breadcrumb-item.active {
  color: #202124;
}

/* notify toast  */

/* notify alert toasts  */

/* THE ACTUAL TOAST NOTIFICATIONS */
.toast {
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 10px;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  width: 450px;
  background-color: transparent !important;
  border: none !important;
  z-index: 99999;

}

.toast__message {
  position: relative;
  color: #EEE;
  background-color: #fff;
  width: 450px;
  padding-inline: 20px;
  padding-block: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-left: 3px solid #EEE;
  animation: toast 5s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
  font-size: 13px;
  transition: 0.4s;
  border-radius: 7px;
}

.toast__icon {
  background-color: rgb(21, 173, 89);
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  color: #222226;
  display: grid;
  place-items: center;
  max-width: none;
  min-width: 45px;
}

.toast__icon svg {
  height: 27px;
  width: 27px;
  fill: #fff;
}

.toast__icon svg path {
  fill: #fff;
}

.toast__heading {
  margin-bottom: 0%;
  font-size: 15px;
  font-weight: 700;
}

.toast__message .toast__text {
  width: 100%;
}

.toast__close {
  font-size: 35px;
  font-weight: 300;
  color: #888;
  cursor: pointer;
}

.toast__close:hover {
  color: #ddd;
}


/* ERROR MESSAGES */
.toast__message--error {
  border-left: 3px solid rgb(199, 29, 66);
}

.toast__message--error .toast__icon {
  background-color: rgb(199, 29, 66);
}

.toast__message--error .toast__heading {
  color: rgb(199, 29, 66);
}


/* WARNING MESSAGES */
.toast__message--warning {
  border-left: 3px solid rgb(232, 172, 21);
}

.toast__message--warning .toast__icon {
  background-color: rgb(232, 172, 21);
}

.toast__message--warning .toast__heading {
  color: rgb(232, 172, 21);
}

/* SUCCESS MESSAGES */
.toast__message--success {
  border-left: 3px solid var(--bs-success);
}

.toast__message--success .toast__icon {
  background-color: var(--bs-success);
}

.toast__message--success .toast__heading {
  color: var(--bs-success);
}

/* SUCCESS MESSAGES */
.toast__message--info {
  border-left: 3px solid var(--bs-info);
}

.toast__message--info .toast__icon {
  background-color: var(--bs-info);
}

.toast__message--info .toast__heading {
  color: var(--bs-info);
}

@keyframes toast {
  0% {
    transform: translateY(150%);
    opacity: 0;
  }

  10%,
  90% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.add-search-option {
  position: absolute;
  right: 10px;
  top: 26%;
  background-color: var(--mainColor);
  color: #fff;
  border-radius: 5px;
  padding-inline: 10px;
  height: 50%;
  font-size: 14px;
  line-height: 1.5;
  cursor: default;
}

.ss-search {
  position: relative;
}

/* upload image area  */
.upload-images-con .upload-image-btn {
  width: 150px;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  margin: 0%;
  height: 150px;
  flex: 0 0 150px;
  text-align: center;
}

.upload-image-btn img {
  width: 100px;
  height: 100%;
}


.upload-images-con {
  display: flex;
}

.image-preview-con {
  display: flex;
  width: 100%;
  overflow-x: auto;
  gap: 10px;
  padding-left: 10px;
}

.image-preview-con .single-preview-image {
  width: 150px;
  flex: 0 0 150px;
  position: relative;
}

.image-preview-con .single-preview-image .delete-uploaded-image {
  position: absolute;
  top: 7px;
  right: 7px;
  background-color: rgba(255, 255, 255, 0.7);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  cursor: pointer;
  place-content: center;

}

.image-preview-con .single-preview-image .delete-uploaded-image img {
  width: 18px;
  height: 18px;
}

.image-preview-con .single-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--mainColor);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #fff;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--mainColor);
  border-radius: 20px;
}

.tables-parent {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.tables-parent .table-item {
  width: calc((100% - 60px) / 3);
  padding: 20px;
  border-bottom: 2px solid #e99120;
}

/* Log container */
/* Log box */
.log-box {
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Each log entry */
.log-entry {
  padding: 8px 12px;
  margin-bottom: 5px;
  font-family: monospace;
  background: #e8f0fe;
  border-left: 4px solid #4285f4;
  color: #333;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Scrollbar styling for better UX */
.log-box::-webkit-scrollbar {
  width: 6px;
}

.log-box::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.log-entry .log-date {
  background-color: var(--mainColor);
  color: #fff;
}

.ss-main.ss_select {
  min-height: 38px;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.table-actions span {
  padding-right: 5px;
}

.table-actions span i {
  font-size: 18px;
}

legend {
  font-size: 16px;
  font-weight: 600;
  float: unset;
  width: auto;
  margin-bottom: 0%;
}

fieldset {
  border: 2px solid darkgray;
}

.duplicateCat {
  margin-left: 15px;
}

.duplicateCat img,
.duplicateGroup img,
.deleteGroup img {
  width: 20px;
  height: 20px;
}

.deleteDuplicatedCat img {
  width: 15px;
  height: 15px;
  filter: opacity(0.6);
}

.duplicateCat,
.deleteDuplicatedCat {
  cursor: pointer;
}

#imageMetaPopup .modal-dialog {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#imageMetaPopup,
#imageMetaPreviewPopup {
  background-color: rgba(0, 0, 0, 0.5);
}


.sidebar-left-wrapper {
  padding: 10px !important;
  background-color: #d6e8e7;
  text-align: unset;
  border-radius: 10px;
  height: fit-content;
}

.sidebar-left-wrapper .product-tab-content h5 {
  font-size: 14px;
  margin: 0%;
  text-transform: capitalize;
}

.sidebar-left-wrapper .product-tab-content p {
  font-size: 14px;
  color: darkgray;
  margin: 0%;
}

.sidebar-left-wrapper .nav-link.active .product-tab-content h5 {
  color: #308e87;
  font-weight: 600 !important;
}

.sidebar-left-wrapper .nav-link.active {
  background-color: unset;
}

.sidebar-left-wrapper .nav-link.active .nav-rounded {
  background-color: #308e87;
}

.sidebar-left-wrapper .nav-link.active .duplicateCat img,
.sidebar-left-wrapper .nav-link.active .deleteDuplicatedCat img {
  filter: invert();
}

.sidebar-left-wrapper .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 6px;
  color: #292929;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}

.sidebar-left-icons li:last-child .nav-link {
  border-bottom: 0;
}

.sidebar-left-wrapper .nav-item {
  width: 100%;
}

.sidebar-left-wrapper .nav-rounded {
  width: 35px;
  height: 35px;
  border: 1px solid lightgray;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.duplicate-category-tabs .nav-link {
  width: 50px;
  text-align: center;
  border-bottom: 2px solid lightgray;
  padding: 0%;
  margin-inline: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.duplicate-category-tabs .nav-link p {
  margin: 0%;
  font-weight: bold;
  color: #202124;
  width: 100%;
}

.duplicate-category-tabs {
  display: flex;
  border-bottom: 1px solid lightgray;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.duplicate-category-tabs .nav-link.active {
  border-color: #308e87;
}

.product-tab-content {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  transition: all 0.3s ease;
}

.product-tab-content i {
  font-size: 20px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.product-tab-content h5 {
  transition: all 0.3s ease;
}

.product-tab-content:hover i,
.product-tab-content:hover h5 {
  color: #308e87;
}

.nav-item .active .product-tab-content i {
  color: #338e87;
}

.modal {
  z-index: 1101;
}

.modal-backdrop {
  z-index: 1100;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* printing styles  */
@media print {

  .duplicate-category-tabs {
    display: none !important;
  }

  @page {
    size: A4;
  }

  #preview-product-pills-tabContent .tab-pane {
    display: block !important;
    opacity: 1 !important;
    height: auto !important;
    margin-top: 10px;
  }

  #printCon {
    width: 100vw !important;
    height: fit-content;
    max-width: none !important;
  }

  /* Force background colors to appear in print */
  * {
    -webkit-print-color-adjust: exact !important;
    /* For Safari/Chrome */
    print-color-adjust: exact !important;
  }

  .row {
    display: block !important;
  }

  .col-md-3 {
    width: 25% !important;
    /* Ensure col-3 is 25% width */
    display: inline-block !important;
    /* Prevent flex issues */
    vertical-align: top;
  }

}



/* gallery */

.gallery-container {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 650px;
}


/* Upload Tab */
.gallery-container .upload-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;

}

.gallery-container .max-file-size-alert {
  position: absolute;
  bottom: 5px;
  left: 0px;
  width: 100%;
  font-size: 14px;
  color: #308e87;
  animation: smooth-blink 2.5s ease-in-out infinite;
}

@keyframes smooth-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.gallery-container .upload-area {
  border: 2px dashed var(--mainColor);
  position: relative;
  padding: 20px;
  text-align: center;
  color: var(--mainColor);
  cursor: pointer;
  width: 100%;
  max-width: 400px;
  background: rgba(48, 142, 135, 0.2);
  transition: 0.3s;
  border-radius: 5px;
  align-content: center;
  height: 250px;
}

.gallery-container .tab-pane {
  height: 100%;
}

.gallery-container .tab-content {
  margin: 0%;
  height: 600px;
}

.gallery-container .upload-area.drag-over {
  background: #d0e7ff;
}

.gallery-container .upload-area button {
  display: block;
  margin: 10px auto 0;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.gallery-container .upload-area input {
  display: none;
}

/* Media Library */
.gallery-container .image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  overflow-y: auto;
  max-height: calc(100% - 150px);
  padding: 10px;
}

.gallery-container .image-grid img {
  width: 100%;
  height: 80%;
  object-fit: contain;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-container .image-grid img.otherExt {
  height: 70%;
  margin-block: 5%;
}

.gallery-container .image-grid img:hover {
  transform: scale(1.05);
}

/* Tabs */
.gallery-container .tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  height: 50px;
}

.gallery-container .tab-btn {
  padding: 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  width: 150px;
}

.gallery-container .tab-btn.active {
  background: var(--mainColor);
  color: white;
}

.gallery-container .image-item {
  position: relative;
  display: inline-block;
  width: 135px;
  height: 135px;
  overflow: hidden;
  border: 2px solid lightgray;
}

.gallery-image-name {
  margin: 0%;
  padding-block: 3px;
  background: #d4d3d391;
  text-align: center;
  font-size: 14px;
  height: 20%;
  text-overflow: ellipsis;
  width: 135px;
  overflow: hidden;
  cursor: default;
  padding-inline: 4px;
}

.gallery-container .image-item.active {
  border: 3px solid var(--mainColor);
  padding: 5px;
  border-radius: 5px;
}

.gallery-container .delete-gallery-image {
  position: absolute;
  top: 5px;
  right: 5px;
  background: red;
  color: white;
  font-size: 14px;
  width: 20px;
  height: 20px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}

.gallery-container .image-item:hover .delete-gallery-image {
  display: block;
}

.swal2-backdrop-show {
  z-index: 1200;
}

.metaform-image-con img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.metaform-image-con {
  width: 250px;
  height: 250px;
  margin-inline: auto;
  cursor: pointer;
}

.toggle-cat-previous,
.toggle-cat-next {
  float: none;
}

.editUserRole {
  width: 300px;
}

.add-user-btn svg {
  width: 20px;
  height: 20px;
}

.add-user-btn svg path {
  stroke: white;
}

.duplicateGroup {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 1px solid lightgray;
  cursor: pointer;
  padding: 5px;
}

.deleteGroup {
  position: absolute;
  top: 20px;
  right: 60px;
  border: 1px solid lightgray;
  cursor: pointer;
  padding: 5px;
}

.group-section {
  position: relative;
}

.group-section.main fieldset {
  border-color: #308e87;
}



.single-ref-table-box p {
  margin: 0% !important;
}

.single-ref-table-box {
  width: fit-content;
  height: 30px;
  background-color: var(--mainColor);
  border-radius: 5px;
  color: white;
  padding-inline: 10px;
  align-content: center;
  cursor: pointer;
}

.ref_tables_container {
  margin-top: 15px;
}

table tr td {
  white-space: nowrap;
}

#tableManager_wrapper {
  overflow-x: auto;
}

.ref_tables_container {
  display: flex;
  gap: 10px;
}

#reportModal .uploader-container {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  padding: 2rem;
}

#reportModal .dropzone {
  border: 2px dashed #e2e8f0;
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

#reportModal .dropzone:hover,
#reportModal .dropzone.dragging {
  border-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.05);
}

#reportModal .upload-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  color: #3b82f6;
}

#reportModal .dropzone h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

#reportModal .dropzone p {
  color: #64748b;
  font-size: 0.875rem;
}

#reportModal .file-input {
  display: none;
}

#reportModal .file-list-container {
  margin-top: 2rem;
  display: none;
}

#reportModal .files-heading {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#reportModal .file-count {
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

#reportModal .file-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#reportModal .file-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: white;
  transition: background-color 0.2s;
}

#reportModal .file-item:hover {
  background-color: #f8fafc;
}

#reportModal .file-preview {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

#reportModal .file-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#reportModal .file-preview .icon {
  width: 24px;
  height: 24px;
}

#reportModal .file-info {
  flex: 1;
  min-width: 0;
}

#reportModal .file-name {
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #0f172a;
}

.file-size {
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

#reportModal .progress-bar {
  height: 4px;
  background-color: #e2e8f0;
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

#reportModal .progress {
  height: 100%;
  background-color: #3b82f6;
  width: 0%;
  transition: width 0.3s ease-out;
}

#reportModal .upload-complete {
  color: #10b981;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
}

#reportModal .upload-complete::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  margin-right: 4px;
}

#reportModal .remove-file {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

#reportModal .remove-file:hover {
  background-color: #fee2e2;
  color: #ef4444;
}

#reportModal .upload-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

#reportModal .upload-button {
  background-color: #3b82f6;
  color: white;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 0.875rem;
}

#reportModal .upload-button:hover {
  background-color: #2563eb;
}

#reportModal .upload-button:disabled {
  background-color: #94a3b8;
  cursor: not-allowed;
}

#reportModal .image-icon {
  color: #3b82f6;
}

#reportModal .video-icon {
  color: #8b5cf6;
}

#reportModal .audio-icon {
  color: #ec4899;
}

#reportModal .file-icon {
  color: #64748b;
}

#reportModal .pdf-icon {
  color: #ef4444;
}

#reportModal .archive-icon {
  color: #eab308;
}

@media (max-width: 640px) {
  #reportModal .uploader-container {
    padding: 1.5rem;
  }

  #reportModal .dropzone {
    padding: 1.5rem;
  }

  #reportModal .upload-icon {
    width: 48px;
    height: 48px;
  }
}

/* switch toggle button  */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: var(--mainColor);
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--mainColor);
}

input:checked+.slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.dataTables_wrapper .dataTables_info {
  float: none !important;
  padding-left: 3px;
  font-size: 13px;
  padding-top: 0%;
}

.dataTables_paginate {
  float: none !important;
  text-align: left !important;
  margin-top: 10px;
  width: fit-content;
}

.upload-progress-container {
  width: 100%;
  background-color: #f1f1f1;
  border-radius: 4px;
  margin: 10px 0;
  position: relative;
  overflow: hidden;
  /* Ensures the inner bar stays rounded */
}

.upload-progress-bar {
  height: 20px;
  border-radius: 4px;
  width: 0%;
  background-color: #2196F3;
  transition: width 0.3s ease;
}

.upload-progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-weight: bold;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.7);
}

#uploadResult {
  width: 300px;
  margin-top: 20px;
}

.form-group-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check-input:checked {
  background-color: var(--mainColor);
  border-color: var(--mainColor);
}

.form-check-input:focus {
  box-shadow: 0 0 0 .25rem #308e8740 !important;
}

table tr td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.duplicate-advance-search-row svg {
  width: 18px;
  height: 18px;
}

.duplicate-advance-search-row svg path {
  stroke: var(--mainColor);
}

.duplicate-advance-search-row p {
  margin-bottom: 0%;
  font-size: 15px;
  text-transform: uppercase;
}

.duplicate-advance-search-row {
  width: fit-content;
  color: var(--mainColor);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.delete-duplicated-row-icon svg {
  width: 20px;
  height: 20px;
}

.content-center {
  display: grid;
  place-content: center;
}

.word-item {
  display: flex;
  justify-content: space-between;
  padding-inline: 10px;
  padding-block: 5px;
  border: 1px solid rgba(0, 0, 0, 0.125);
  cursor: pointer;
  font-size: 15px;
}

.word-item:hover .word {
  text-decoration: underline;
  color: var(--mainColor);
}

.word-item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.word-item:last-child {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.word-item .word {
  margin-bottom: 0%;
  transition: all .25s ease-in-out;
}

.use-custom-search-word.active {
  display: block;
}

.use-custom-search-word {
  position: absolute;
  top: 5px;
  padding: 2px 6px;
  font-size: 14px;
  right: 10px;
  border-radius: 10px;
  display: none;
}

.advance-search-query-input-parent {
  position: relative;
}

.advance-search-query-input-parent:hover .makeSearchQueryEmpty.active {
  display: block;
}

.makeSearchQueryEmpty {
  position: absolute;
  top: 10px;
  right: 9px;
  display: none;
  cursor: pointer;
}

.makeSearchQueryEmpty svg {
  width: 18px;
  height: 18px;
}

/* custom number input  */
.custom-number {
  position: relative;
  display: block;
}

.custom-number input {
  width: 100%;
  padding-right: 30px;
  /* space for buttons */
  box-sizing: border-box;
}

.custom-number .controls {
  position: absolute;
  right: 2px;
  top: 2px;
  bottom: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.2s;
}

.custom-number:hover .controls {
  opacity: 1;
}

.custom-number button {
  width: 24px;
  height: 50%;
  border: none;
  background: #308e871c;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
}

.custom-number button:hover {
  background: #308e873d;
}