:root {
  --ctbtn: #ffcb12;
  --spacing: 0.25rem;
  --color-red-500: oklch(63.7% 0.237 25.331);
  --radius-xl: 0.75rem;
}

.textarea-custom {
  min-height: 120px;
  resize: vertical;
  border-radius: 10px !important;
  border: 1px solid #eee !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  background-color: #fff !important;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.textarea-custom:focus {
  border-color: #161615 !important;
  background-color: #fcfdfe !important;
  box-shadow: 0 0 0 4px rgba(22, 22, 21, 0.05) !important;
  outline: none !important;
}

.textarea-custom::placeholder {
  color: #cbd5e1;
}

.custom-ui {
  background: white;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  gap: 20px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.confirm-msg .confirm-action {
  justify-content: center;
}

.custom-ui h1 {
  margin-bottom: 20px;
}

.custom-ui button {
  margin: 0 10px;
  padding: 10px 20px;
  border: none;
  background-color: #161615;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  max-height: 36px;
  line-height: 1;
  min-height: 36px;
}

.confirm-msg {
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.confirm-msg p {
  font-size: 16px;
  text-align: center;
  line-height: 1.5;
  padding: 0px 10px;
}

.custom-ui button:first-of-type {
  background-color: #fff;
  color: #161615;
  border: 1px solid #161615;
}

.custom-ui button:hover {
  opacity: 0.9;
}

.confirm-action {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 10px;
}

.confirm-action button {
  margin: 0;
}

.connect-btn {
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--ctbtn);
  border: 1px solid var(--ctbtn);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  color: #131007;
  height: 40px;
  text-decoration: none;
  display: block;
}

.con-btn-margin {
  margin-top: 24px;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0 15px 15px;
  /*position: absolute;
    top: 6px;
    right: 12px;*/
}

.pagination-limit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.limit-label {
  font-size: 14px;
  color: #647187;
}

.limit-select {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  color: #1e293b;
  outline: none;
  width: auto;
  height: auto;
}

.table-pagination .pagination {
  margin: 0;
  display: flex;
  gap: 5px;
}

.table-pagination .pagination li a {
  padding: 6px;
  border: 1px solid #eee;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 30px;
  height: 30px;
  color: #161615;
  border-radius: 6px;
}

.table-pagination .pagination li.active a {
  background: #161615;
  border: 1px solid #161615;
  color: #ffffff;
}

.pagination li.disabled a {
  background: #f8f8f8;
}

.searchResets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fields-block ul {
  margin: 20px 0;
}

.breadcrumbs .path-title::first-letter {
  text-transform: capitalize;
}

.page-table-header .templates-head::first-letter {
  text-transform: capitalize;
}

/*********** patient stats ***********/
.patient-stats-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.patient-stat-card {
  min-height: 110px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.patient-stat-label {
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 6px;
}

.patient-stat-value {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
}

.patient-stats-loading {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  color: #6b7280;
  background: #ffffff;
}

/*********** css ***********/
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
}

.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: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked+.slider {
  background-color: #1654ff;
}

input:focus+.slider {
  box-shadow: 0 0 1px #1654ff;
}

input:checked+.slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.on {
  display: none;
}

.on {
  /* color: #161615; */
  color: #ffffff;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 34%;
  font-size: 10px;
  font-family: Verdana, sans-serif;
  font-weight: 600;
}

.off {
  color: #000;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 67%;
  font-size: 10px;
  font-family: Verdana, sans-serif;
}

input:checked+.slider .on {
  display: block;
}

input:checked+.slider .off {
  display: none;
}

.profile-pic {
  height: auto !important;
}

.editor-panel ul,
.editor-panel ol {
  margin-left: 20px;
}

.editor-panel ul,
.editor-panel ol li {
  margin-bottom: 10px;
}

.fileInput {
  max-width: 520px;
  position: relative;
}

.loader-icon {
  position: absolute;
  top: 10px;
  display: flex;
  align-content: center;
  justify-content: center;
  width: 100%;
}

.loading {
  background: #fff;
  border-radius: 10px;
}

.loading .focus-label {
  opacity: 0.3;
}

.loading label {
  opacity: 0.3;
}

.max-800 {
  max-width: 800px !important;
}

.primary-btn {
  background: #161615;
  border: 1px solid #161615;
}

.primary-btn:hover {
  background: #1654ff;
  border: 1px solid #1654ff;
}

/* .site-logo img {
  width: 300px; 
  height: 20px;
}
.logo img {
  width: 100%;
  height: 24px;
} */
.form-control:not(:placeholder-shown) {
  border: 1px solid #161615 !important;
}

.seller-status-0 {
  background: #faf9f1 !important;
  color: #68675a !important;
}

.seller-status-1 {
  background: #fff6ed !important;
  color: #1654ff !important;
}

.seller-status-2 {
  background: #eff8fe !important;
  color: #1877f2 !important;
}

.seller-status-3 {
  background: #f1fff9 !important;
  color: #12b76a !important;
}

.seller-status-4 {
  background: #f1fff9 !important;
  color: #12b76a !important;
}

.seller-status-5 {
  background: #fef3ef !important;
  color: #e36055 !important;
}

.seller-status-6 {
  background: #f3ecff !important;
  color: #6d3ebe !important;
}

.seller-status-7 {
  background: #eff8fe !important;
  color: #1877f2 !important;
}

.seller-status-8 {
  background: #f1fff9 !important;
  color: #12b76a !important;
}

.toast_toastSuccessMessage__Uudge {
  background-color: #fff6ed;
  color: #1654ff;
  font-size: 20px;
  padding: 20px 20px;
  margin-top: 20px;
  font-family: "Inter", sans-serif !important;
}

.Toastify__toast {
  border-radius: 0px;
}

:root {
  --toastify-color-success: #faa067;
}

.Toastify__toast-icon svg {
  color: var(--toastify-color-success) !important;
}

.toast_toastBody__nmVzV {
  font-family: "Inter", sans-serif !important;
  font-weight: 410 !important;
}

.Toastify__toast-container {
  min-width: 425px;
}

.Toastify__close-button {
  align-self: center !important;
}

.Toastify__toast-container .toast_toastSuccessMessage__Uudge {
  min-height: 55px;
  padding: 5px 10px;
}

.justify-right {
  justify-content: right !important;
  padding: 0 16px 0 0;
}

div.custom-select__control {
  min-height: 40px;
  box-shadow: none;
  border-radius: 8px;
  font-size: 14px;
  color: #647187;
}

span.custom-select__indicator-separator {
  display: none;
}

div.custom-select__control--is-focused,
div.custom-select__control--is-focused:hover {
  border-color: #161615;
}

.ck-editor__editable p {
  margin-bottom: 10px;
}

.ck.ck-editor__editable_inline {
  min-height: 200px;
}

.json-loader {
  /*! position: fixed; */
  width: 100%;
  height: 100%;
  top: 0px;
  display: flex;
  align-content: center;
  justify-content: center;
}

.json-loader .loader-icon {
  height: 100%;
  position: fixed;
}

.json-loader .loader-icon .lf-player-container {
  display: flex;
  align-content: center;
  height: 100%;
  justify-content: center;
  line-height: 1;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
}

.logo {
  text-align: center;
  margin-bottom: 0px !important;
}

.sidebar {
  padding: 10px 16px 10px !important;
}

.asidebar .upper-menu {
  margin: 5px 0px 0px 0px !important;
}

.asidebar .ul-submenu {
  padding-left: 15px !important;
  list-style: none !important;
  margin-top: 4px !important;
}

.asidebar .ul-submenu .li-submenu {
  margin: 2px 0px !important;
}

.asidebar .ul-submenu .link-submenu {
  padding: 6px 12px !important;
  border-radius: 8px !important;
  transition: all 0.2s !important;
  margin-left: -12px !important;
  display: block !important;
  width: 100% !important;
}

.asidebar .ul-submenu .link-submenu:hover {
  background-color: #f8f9fa !important;
  color: #1654ff !important;
}

.asidebar .ul-submenu .link-submenu.active {
  background-color: #f8f9fa !important;
  color: #1654ff !important;
  font-weight: 600 !important;
}

.card-inner .optionAction {
  width: 50px;
  height: 45px;
  font-size: 31px;
  display: flex;
  align-content: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #333;
  border-radius: 5px;
  line-height: 1;
  padding-top: 3px;
}

.feild-add-margin {
  margin-top: 26px !important;
}

.optionAction.field-add {
  margin-left: 10px;
  background: #1654ff;
  transition: all 0.6s;
  color: #fff;
  border: 1px solid #1654ff;
  display: flex;
  align-content: center;
  justify-content: center;
  line-height: 1;
  padding-top: 3px;
}

.fm-cards-form .card {
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
}

.ck-content h2 {
  font-size: 2rem !important;
}

.check-box-margin {
  margin: 0 0 10px 0;
}

/* .ck-content p {
  font-size: 16px !important;
} */

.order-details-block-ui {
  padding: 16px;
  width: 100%;
}

.product-detail-ui {
  display: block !important;
}

.order-info {
  display: inline-block;
  width: 100%;
  margin-bottom: 17px;
  border: 1px dotted #ccc;
}

.customer-info .order-full-info ul li label {
  width: 80px;
  vertical-align: top;
}

.customer-info .order-full-info ul li p {
  width: calc(100% - 100px);
  vertical-align: top;
}

.order-heading-ui {
  border-radius: 4px 4px 0 0;
  background-color: #dee6f1;
  min-height: 36px;
}

.order-heading-ui h4 {
  color: #0c1f36;
  font-size: 12px;
  line-height: 24px;
  margin: 0;
  padding: 6px 26px;
}

.order-info p {
  opacity: 1;
}

.order-id-ui ul li label {
  color: #6d7986;
  font-size: 12px;
  line-height: 14px;
  margin-bottom: 4px;
}

.order-id-ui ul li p {
  color: #0c1f36;
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
  opacity: 1;
}

.order-full-info {
  padding: 26px;
}

.order-full-info ul li {
  display: inline-block;
  width: 49%;
  margin-bottom: 12px;
}

.order-full-info ul li label {
  color: #6d7986;
  font-size: 14px;
  margin-bottom: 0;
  display: inline-block;
  width: 190px;
}

.order-full-info ul li p {
  color: #0c1f36;
  font-size: 14px;
  margin: 0;
  width: calc(100% - 200px);
  display: inline-block;
  font-weight: 500;
  opacity: 1;
  padding-left: 15px;
  word-break: break-all;
}

.order-items-info ul {
  padding: 26px 26px 0;
}

.order-items-info li {
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
}

.order-items-info li .left-ui,
.total-price-ui .left-ui {
  display: inline-block;
  width: calc(100% - 100px);
}

.order-items-info li .right-ui,
.total-price-ui .right-ui {
  display: inline-block;
  width: 90px;
  text-align: right;
  vertical-align: top;
}

.order-items-info li .left-ui .qnty {
  display: inline-block;
  vertical-align: top;
  padding-right: 15px;
}

.order-items-info li .left-ui .qnty label {
  color: #0c1f36;
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  margin-bottom: 0;
  vertical-align: top;
}

.order-items-info li .left-ui .item-name-block {
  display: inline-block;
  vertical-align: top;
}

.order-items-info li .left-ui .item-name-block p {
  color: #0c1f36;
  font-size: 14px;
  line-height: 16px;
  opacity: 1;
  margin-bottom: 4px;
}

.order-items-info li .left-ui .item-name-block span {
  font-size: 12px;
  color: #6d7986;
  line-height: 14px;
  margin-bottom: 3px;
  display: block;
}

.disabled-icon {
  opacity: 0.2;
  /* Makes the icon look faded */
  cursor: not-allowed;
  /* Changes the cursor to indicate disabled state */
  filter: grayscale(100%);
  /* Converts the icon to grayscale */
  pointer-events: none;
  /* Disables any interaction with the icon */
}

/* For most modern browsers */
input::placeholder {
  color: #cccccc;
  /* Set your desired color */
}

/* For older versions of Firefox */
input:-moz-placeholder {
  color: #cccccc;
}

/* For older versions of Internet Explorer */
input:-ms-input-placeholder {
  color: #cccccc;
}

.errorlist a {
  color: red;
  font-size: 12px;
}

.errorlist a::first-letter {
  text-transform: capitalize;
}

.p-title {
  display: flex;
  align-content: center;
  gap: 15px;
}

.p-detail .templates-head {
  line-height: 1;
  margin-bottom: 0px;
  padding-top: 3px;
}

.p-title .table-action {
  padding: 0px;
}

.cards-inner-row {
  min-height: 300px;
}

.cards-inner-row .custom-select__menu {
  max-height: 180px;
  overflow: auto;
}

.cards-inner-row .custom-select__menu .custom-select__menu-list {
  max-height: 180px;
}

.p-detail {
  margin: 10px 0 0 0;
}

.product-info-detail {
  display: flex;
  align-items: start;
  gap: 30px;
}

.product-info-detail .p-gallery {
  width: 25%;
}

.image-gallery-slide-wrapper {
  min-height: 200px;
}

.product-info-detail .p-info {
  width: 75%;
}

.product-info-detail .p-info ul li {
  display: inline-block;
  width: 90%;
  margin-bottom: 12px;
  display: flex;
  align-items: start;
}

.image-gallery-right-nav .image-gallery-svg,
.image-gallery-left-nav .image-gallery-svg {
  height: 60px !important;
}

.p-detail ul {
  padding-left: 15px;
}

.p-detail ul li {
  position: relative;
}

.p-detail ul li:before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #445568;
  border-radius: 10px;
  left: -12px;
  top: 9px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}

.modal.show .modal-dialog {
  transform: none;
}

.modal.modal-static .modal-dialog {
  transform: scale(1.02);
}

.modal-dialog-scrollable {
  height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
  z-index: 9999;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.5;
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.modal-header .btn-close {
  padding: 0.5rem 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem auto;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}

.modal-footer>* {
  margin: 0.25rem;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }

  .modal-dialog-scrollable {
    height: calc(100% - 3.5rem);
  }

  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }

  .modal-sm {
    max-width: 300px;
  }
}

@media (min-width: 992px) {

  .modal-lg,
  .modal-xl {
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}

.modal-fullscreen {
  width: 100vw;
  max-width: none;
  height: 100%;
  margin: 0;
}

.modal-fullscreen .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}

.modal-fullscreen .modal-header {
  border-radius: 0;
}

.modal-fullscreen .modal-body {
  overflow-y: auto;
}

.modal-fullscreen .modal-footer {
  border-radius: 0;
}

@media (max-width: 575.98px) {
  .modal-fullscreen-sm-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-sm-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-sm-down .modal-header {
    border-radius: 0;
  }

  .modal-fullscreen-sm-down .modal-body {
    overflow-y: auto;
  }

  .modal-fullscreen-sm-down .modal-footer {
    border-radius: 0;
  }
}

@media (max-width: 767.98px) {
  .modal-fullscreen-md-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-md-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-md-down .modal-header {
    border-radius: 0;
  }

  .modal-fullscreen-md-down .modal-body {
    overflow-y: auto;
  }

  .modal-fullscreen-md-down .modal-footer {
    border-radius: 0;
  }
}

@media (max-width: 991.98px) {
  .modal-fullscreen-lg-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-lg-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-lg-down .modal-header {
    border-radius: 0;
  }

  .modal-fullscreen-lg-down .modal-body {
    overflow-y: auto;
  }

  .modal-fullscreen-lg-down .modal-footer {
    border-radius: 0;
  }
}

@media (max-width: 1199.98px) {
  .modal-fullscreen-xl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-xl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-xl-down .modal-header {
    border-radius: 0;
  }

  .modal-fullscreen-xl-down .modal-body {
    overflow-y: auto;
  }

  .modal-fullscreen-xl-down .modal-footer {
    border-radius: 0;
  }
}

@media (max-width: 1399.98px) {
  .modal-fullscreen-xxl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-xxl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-xxl-down .modal-header {
    border-radius: 0;
  }

  .modal-fullscreen-xxl-down .modal-body {
    overflow-y: auto;
  }

  .modal-fullscreen-xxl-down .modal-footer {
    border-radius: 0;
  }
}

.modal-fullscreen {
  width: 100vw;
  max-width: none;
  height: 100%;
  margin: 0;
}

.modal-fullscreen .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}

.modal-fullscreen .modal-header {
  border-radius: 0;
}

.modal-fullscreen .modal-body {
  overflow-y: auto;
}

.modal-fullscreen .modal-footer {
  border-radius: 0;
}

@media (max-width: 575.98px) {
  .modal-fullscreen-sm-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-sm-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-sm-down .modal-header {
    border-radius: 0;
  }

  .modal-fullscreen-sm-down .modal-body {
    overflow-y: auto;
  }

  .modal-fullscreen-sm-down .modal-footer {
    border-radius: 0;
  }
}

@media (max-width: 767.98px) {
  .modal-fullscreen-md-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-md-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-md-down .modal-header {
    border-radius: 0;
  }

  .modal-fullscreen-md-down .modal-body {
    overflow-y: auto;
  }

  .modal-fullscreen-md-down .modal-footer {
    border-radius: 0;
  }
}

@media (max-width: 991.98px) {
  .modal-fullscreen-lg-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-lg-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-lg-down .modal-header {
    border-radius: 0;
  }

  .modal-fullscreen-lg-down .modal-body {
    overflow-y: auto;
  }

  .modal-fullscreen-lg-down .modal-footer {
    border-radius: 0;
  }
}

@media (max-width: 1199.98px) {
  .modal-fullscreen-xl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-xl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-xl-down .modal-header {
    border-radius: 0;
  }

  .modal-fullscreen-xl-down .modal-body {
    overflow-y: auto;
  }

  .modal-fullscreen-xl-down .modal-footer {
    border-radius: 0;
  }
}

@media (max-width: 1399.98px) {
  .modal-fullscreen-xxl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-xxl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-xxl-down .modal-header {
    border-radius: 0;
  }

  .modal-fullscreen-xxl-down .modal-body {
    overflow-y: auto;
  }

  .modal-fullscreen-xxl-down .modal-footer {
    border-radius: 0;
  }
}

.modal.fade:before {
  background: transparent !important;
  z-index: 1;
}

.btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.5;
  cursor: pointer;
}

.btn-close:hover {
  color: #000;
  text-decoration: none;
  opacity: 0.75;
}

.btn-close:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  opacity: 1;
}

.btn-close:disabled,
.btn-close.disabled {
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  opacity: 0.25;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.docs-buttons {
  display: flex;
  justify-content: center;
  margin: 15px 0px 0px 0px;
}

.cropper-buttons .btn-group {
  background: #d2d2d2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.docs-buttons .btn-group {
  margin: 0 2px;
}

.docs-buttons .btn-group .btn-cs {
  align-items: center;
  display: flex;
}

.cropper-buttons .reset-group-btn {
  gap: 24px !important;
}

.uploaded-file {
  border: 1px solid #eee;
  margin-top: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  position: relative;
  min-height: 100px;
}

.radio-form-group {
  display: flex;
  gap: 20px;
}

.radio-buttons input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
  left: 0;
  z-index: 1;
}

.radio-buttons input:checked+.r-label::before {
  background-position: -35px -4px;
  background-color: transparent;
  background-repeat: no-repeat;
}

.radio-buttons input:checked+.r-label::before {
  border-color: #e1dfd7;
  background-color: #000;
  /* box-shadow: 0px 2px 4px rgba(4, 96, 41, 0.34); */
  transition: inherit;
}

.radio-buttons .r-label::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("/assets/images/radioIcon.svg");
  background-position: -5px -4px;
  border: none;
  transform: none;
  top: 3px;
  background-repeat: no-repeat;
  border-radius: 50%;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  transition: inherit;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 2rem !important;
}

.table-profile {
  display: flex;
  align-content: center;
  gap: 10px;
}

.profile_figure {
  min-width: 35px;
  min-height: 35px;
  max-width: 35px;
  max-height: 35px;
  display: flex;
  align-content: center;
  justify-content: center;
  border-radius: 100%;
  border: 1px solid #ddd;
  overflow: hidden;
}

.profile_figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.field-input {
  position: relative;
}

.prefix {
  position: absolute;
  right: 10px;
  top: 12px;
}

.field-input .prefix+input.form-control {
  padding-left: 30px;
}

.role-permisssion {
  display: flex;
  gap: 20px;
}

.permission-category {
  border: 1px solid #ecf8ff;
  min-height: 200px;
  border-radius: 10px;
  padding: 10px;
  background-color: #ecf8ff;
}

.form-field-label {
  margin: 0 0 20px 0;
}

/* Email template */
.email-preview p,
.p {
  font-size: 14px;
  line-height: 1.37;
  color: #445568;
  margin-bottom: 10px;
}

.email-preview ul {
  list-style-type: disc;
  margin: 20px 20px 10px 20px;
}

.email-preview ol {
  list-style-type: decimal;
  margin: 20px 20px 10px 20px;
}

.email-preview ol li {
  margin-bottom: 10px;
}

.email-preview ul li {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
  color: #445568;
}

.email-preview img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  min-width: 100%;
  height: auto;
}

.kycRequest_vieweyewrapper__BsVMm {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kycRequest_download_icon__wEZJZ {
  background-image: url(/assets/images/icdownload.svg);
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.kycRequest_viewicon___pWh8 {
  background-image: url(/assets/images/eye.svg);
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.kycRightBorder {
  border-right: 1px solid #eee;
  padding-right: 10px;
  margin-right: 10px;
}

.cursorPointer {
  cursor: pointer;
  color: #1654ff;
}

.table-data-wrap {
  align-items: center;
  padding: 5px 0px;
  pointer-events: none;
}

.table-data-wrap .profile-name {
  font-size: 14px;
  font-style: normal;
  line-height: 1.28;
  letter-spacing: -0.12px;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  white-space: nowrap;
}

.t-detail {
  display: flex;
  align-items: start;
  gap: 30px;
  margin: 30px 0 0 0;
}

.t-detail ul {
  width: 100%;
}

.t-detail ul li {
  display: inline-block;
  /* width: 100%;
  display: flex; */
  width: 50%;
  margin-bottom: 12px;
  align-items: start;
}

.t-detail ul li label {
  color: #6d7986;
  font-size: 14px;
  margin-bottom: 0;
  display: inline-block;
  width: 100px;
}

.t-detail ul li p {
  color: #0c1f36;
  font-size: 14px;
  margin: 0;
  width: calc(100% - 200px);
  display: inline-block;
  font-weight: 500;
  opacity: 1;
  padding-left: 15px;
  word-break: break-all;
}

.search-field.inc-label .search-icon {
  top: 36px;
  left: 12px;
}

.search-field .input-text-field {
  padding: 10px 14px !important;
}

.react-datepicker__input-container {
  min-width: 230px;
}

.t-main-detail {
  width: 100%;
  display: flex;
}

.t-main-detail .copy-btn {
  max-width: fit-content;
  margin-top: 50px;
  background: #fff;
  color: #7882a0;
  font-size: 14px;
  font-weight: 500;
  line-height: 128.571%;
  white-space: nowrap;
  cursor: pointer;
}

.table-wrap .custom-table-thead th:first-child {
  padding: 10px 5px 10px 12px;
}

.coin_name {
  color: #0e1829;
  font-weight: 700;
  font-size: 20px;
}

.progress_opt {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress_opt span {
  font-size: 14px;
  font-weight: 700;
}

.progress_opt .progress-up {
  color: #12b76a;
}

.progress_opt .progress-down {
  color: #ff0000;
  font-size: 25px;
}

.table-wrap .custom-table-tbody td {
  padding: 3px 10px !important;
}

.custom-table-tbody td .table-action {
  padding-right: 25px;
}

.action-icon {
  text-align: right;
}

#file-view-modal {
  padding: 0;
}

#file-view-modal .ModalInner {
  margin-right: 0;
  padding-right: 0;
  padding-top: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Smooth transition */
}

#file-view-modal .ModalInner.active {
  transform: translateX(0);
  max-width: 650px;
  width: 100%;
}

#file-view-modal .ModalInner .modelinnerContent {
  height: 100vh;
  border-radius: 0;
}

#file-view-modal .ModalInner .modelinnerContent .modal-title {
  margin-bottom: 15px;
}

#file-view-modal .ModalInner .modelinnerContent .modal-body-form {
  height: calc(100vh - 75px);
  overflow: auto;
}

#file-view-modal .modal-body-form .t-detail {
  margin: 0;
}

.qa-block {
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 0 0;
}

.qa-question {
  font-size: 15px;
  font-weight: 600;
  color: #0c1f36;
}

.qa-answer {
  font-size: 14px;
  font-weight: 500;
  color: #5a6b7a;
}

.qa-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.qa-card {
  background: #f9fafb;
  border: 1px solid #e6edf3;
  border-radius: 8px;
  padding: 12px 14px;
}

.qa-card .qa-question {
  font-size: 15px;
  font-weight: 600;
  color: #0c1f36;
  margin-bottom: 6px;
}

.qa-card .qa-answer {
  font-size: 14px;
  font-weight: 500;
  color: #4b5b6a;
  line-height: 1.4;
}

/* Questionnaire survey rendering */
.qa-survey-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qa-entry {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.qa-entry:first-child {
  padding-top: 0;
}

.qa-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.qa-entry-label {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.qa-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.qa-chip {
  display: inline-flex;
  align-items: center;
  background: #eaf2fb;
  color: #2563a8;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  padding: 3px 10px;
}

.qa-answer-expanded {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qa-answer-opt-label {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  margin: 0;
}

.qa-answer-openend-box {
  font-size: 13px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 4px;
  line-height: 1.5;
}

.qa-answer-secondary {
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  margin-top: 2px;
}

.qa-answer-simple {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  margin: 0;
}

.qa-no-data {
  font-size: 13px;
  color: #94a3b8;
  font-style: italic;
}

.completed {
  /* border: 1.5px solid #c5e6d4;
  height: 34px;
  padding: 0 10px;
  background-color: #f0fff7;
  border-radius: 16px;
  text-align: center;
  display: inline-block;
  line-height: 31px; */
  text-transform: uppercase;
  min-width: 65px;
  color: #2ca864;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.04px;
  margin-top: 5px;
}

.confirming {
  /* border: 1.5px solid #c4e1f3;
  padding: 0 10px;
  border-radius: 16px;
  background-color: #ecf8ff;
  display: inline-block;
  line-height: 31px; */
  text-transform: uppercase;
  min-width: 65px;
  /* text-align: center; */
  color: #126496;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.04px;
  margin-top: 5px;
}

.failed {
  /* border: 1.5px solid #ecc5c5;
  padding: 0 10px;
  border-radius: 16px;
  display: inline-block;
  line-height: 31px; */
  text-transform: uppercase;
  /* background-color: #a09c9c; */
  min-width: 65px;
  /* text-align: center; */
  color: #961212;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.04px;
  margin-top: 5px;
}

.submitted {
  /* border: 1.5px solid #f7c4e2;
  height: 34px;
  padding: 0 15px;
  border-radius: 16px;
  display: inline-block; */
  line-height: 31px;
  text-transform: uppercase;
  /* background-color: #ffecf7; */
  min-width: 65px;
  /* text-align: center; */
  color: #ca4e93;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.04px;
}

.checkbox label {
  margin-left: 10px;
}

.cards {
  padding: 10px 10px 10px 0;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-direction: column;
  align-items: flex-start;
}

.crypto_card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 30px 10px;
  flex-wrap: wrap;
  transition: all 0.6s;
  border: 1px solid #d5d1d1;
  background: linear-gradient(90deg,
      rgba(22, 223, 128, 0.04) 0%,
      rgba(22, 84, 255, 0.06) 35%,
      rgb(255, 255, 255) 100%);
}

.crypto_card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.6s;
}

.crypto_card .card-header {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.crypto_card .coin_perofile {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.crypto_card .profile_figure {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: 1px solid #eee;
  overflow: hidden;
}

.crypto_card .created,
.crypto_card .updated {
  display: flex;
  flex-direction: column;
}

.crypto_card .profile_figure img {
  width: 100%;
  height: 100%;
}

.crypto_card .profile-name {
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.crypto_card .bt_price {
  font-size: 14px;
  font-weight: 700;
}

.crypto_card .profile-date {
  font-size: 14px;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crypto_card .bt_coin_name {
  font-size: 14px;
}

.crypto_card .coin_name {
  font-size: 20px;
}

.crypto_card .progress_opt {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crypto_card .progress-up {
  color: #57c438;
  font-size: 20px;
  font-weight: 900;
}

.crypto_card .progress-down {
  color: red;
  font-size: 20px;
  font-weight: 900;
}

.crypto_card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-direction: column;
  gap: 10px;
}

.crypto_card .card_footer_action {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto_card .commission_hand {
  width: 65px;
  height: 65px;
  border-radius: 10px;
  border: 1px solid #d5d5d5;
  background: #fcfcfc;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.03);
  transition: all 0.6s;
}

.crypto_card .commission_hand:hover {
  box-shadow: 0 3px 5px rgba(21, 20, 20, 0.14);
  transition: all 0.6s;
}

.crypto_card .commission_hand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  scale: 0.8;
  object-position: center;
  transition: all 0.6s;
}

.crypto_card .commission_hand:hover img {
  scale: 0.9;
  transition: all 0.6s;
}

.crypto_card .card-body {
  padding-top: 35px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:hover {
  box-shadow: 0px 0px 5px 1px #d2cdcd;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #4caf50;
}

input:checked+.slider:before {
  transform: translateX(25px);
}

.table-action a,
.crypto_card .action-btn {
  margin-left: 5px;
}

.crypto_card .edit-btn {
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transition: all 0.6s;
  background-image: none;
}

.crypto_card .edit-btn:hover {
  transition: all 0.6s;
  border: 1px solid #50af50;
  box-shadow: 0px 2px 0px #50af50;
}

.crypto_card .edit-btn img {
  width: 20px;
}

.crypto_card .delete-btn {
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transition: all 0.6s;
  background-image: none;
}

.crypto_card .delete-btn:hover {
  transition: all 0.6s;
  border: 1px solid #af5050;
  box-shadow: 0px 2px 0px #df8a8a9c;
}

.crypto_card .delete-btn img {
  width: 20px;
}

.card-footer .on,
.card-footer .off {
  font-weight: 600;
}

.col_temp_three {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.col_temp_three .crypto_card {
  position: relative;
}

.col_temp_three .crypto_card .card-header {
  width: 55%;
}

.col_temp_three .crypto_card .card-body {
  width: 20%;
  padding-top: 0;
  position: relative;
  top: 30px;
}

.col_temp_three .crypto_card .card-footer {
  width: 20%;
}

@media screen and (max-width: 1140px) {
  .col_temp_three .crypto_card .card-header {
    width: 100%;
  }

  .col_temp_three .crypto_card .card-body {
    width: 100%;
    top: 0px;
  }

  .col_temp_three .crypto_card .card-footer {
    position: absolute;
    right: 15px;
    top: 5px;
    z-index: 9;
  }
}

@media screen and (max-width: 992px) {
  .progress_opt img {
    width: 50px;
    height: 50px;
  }
}

@media screen and (max-width: 767px) {
  .progress_opt {
    justify-content: flex-end;
  }

  .crypto_card .card-body {
    padding-top: 0px;
  }
}

@media screen and (max-width: 560px) {
  .crypto_card>div {
    width: 48%;
  }
}

.grecaptcha-badge {
  visibility: hidden !important;
}

.col-12 {
  padding: 0px 10px !important;
}

.hidden-input {
  display: none;
}

/* DASHBOARD ANALYTICS */

.cs-tabs-row {
  margin: 30px 0 0px 0;
}

.cr-cards-block {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  /* margin-bottom: 30px; */
}

.cr-card {
  width: 200px;
  height: 130px;
  border: 1px solid #cecece;
  border-radius: 16px;
  border-left-width: 5px;
  /* border-radius: 100%;
  background: #91133b; */
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  gap: 15px;
}

.cr-card.USD {
  border-color: #85bb65;
}

.cr-card.NZD {
  border-color: #012169;
}

.cr-card.AUD {
  border-color: #ffd700;
}

.cr-card-header {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.cr-content-data {
  text-align: center;
  color: #fff;
}

.cr-content-data p {
  font-size: 15px;
  font-weight: 600;
}

.cr-counts {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cr-counts span {
  font-size: 30px;
  display: flex;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #445568;
}

.avatar-title {
  background-color: #91133b !important;
  color: #fff;
}

.avatar-title .font-size-24 {
  font-size: 40px !important;
}

.stats-left-blue {
  border-left-color: blue;
}

.stats-left-green {
  border-left-color: green;
}

.payment-label {
  margin: 0 10px 0 0;
}

.payment-status {
  /* margin: 0 0 10px 0; */
  background-color: #0ff;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px dotted;
}

.Initiated {
  background-color: #ffecf7;
}

.Pending {
  background-color: #eeffff;
}

.Paid {
  background-color: #f0fff7;
}

.Withdrawn {
  background-color: #f0fff7;
}

.Failed {
  background-color: #ffebeb;
}

.Closed,
.Canceled {
  background-color: #ffebeb;
}

.fm-cards-form h6 {
  margin-bottom: 20px;
}

.amount-info {
  background: #f0fff7;
  border: 1px solid;
  padding: 10px;
  border-radius: 10px;
  margin: 10px 0 0 0;
}

.amount-info h6 {
  font-size: 16px;
}

.react-datepicker-wrapper {
  width: 100% !important;
}

.check-location {
  margin: 40px 0 0 0;
  text-align: left;
}

.btn-add {
  border: 1px solid #229e71;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.34px;
  color: #229e71;
  padding: 8px 10px;
  background-color: #ffffff;
}

.btn-danger:hover {
  color: #fff;
  background-color: #c82333;
  border-color: #bd2130;
}

.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.fieldset_wrap {
  padding: 20px;
  border: 1px solid #e9e5d9;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 5px;
}

.fieldset_wrap legend {
  padding: 0px 5px;
  font-weight: bold;
}

.allowed_wrap {
  background-color: #d6e8d5 !important;
}

.validator_wrap {
  background-color: #fbeeee !important;
}

.btn-right {
  margin: 0 0 0 25px;
}

.optionsDelete {
  position: relative;
  top: -8px;
}

.UploadImage {}

.UploadImage svg {
  color: #0b1121;
  font-size: 1.5rem;
  line-height: 1;
  display: block;
}

.text-uploadedinputText {
  font-weight: 500;
  margin-top: calc(var(0.25rem) * 2);
  color: #000;
}

.customFielsUploader {
  border: 2px #d4d7e3 dotted;
}

.uploadesInner {
  border: 2px #d4d7e3 dotted;
  border-radius: 1rem;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  overflow: hidden;
  height: 120px;
}

.flex-col {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.opacity-0 {
  opacity: 0;
}

.cursor-pointer {
  cursor: pointer;
}

.w-20 {
  width: calc(var(--spacing) * 20);
}

.h-20 {
  height: calc(var(--spacing) * 20);
}

.flex {
  display: flex;
}

.grid-template-columns {
  grid-template-columns: repeat(auto-fit, minmax(81px, max-content));
}

.grid {
  display: grid;
}

.mt-4 {
  margin-top: calc(var(--spacing) * 4);
}

.justify-start {
  justify-content: flex-start;
}

.gap-3 {
  gap: calc(var(--spacing) * 3);
}

.overflow-hidden {
  overflow: hidden;
}

.right-1 {
  right: calc(var(--spacing) * 1);
}

.top-1 {
  top: calc(var(--spacing) * 1.5);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.fileActionButton {
  background-color: transparent;
  width: 100%;
  display: flex;
  border: none;
  align-content: center;
  justify-content: center;
}

.text-red-500 {
  color: var(--color-red-500) !important;
}

.trash_button {
  background-color: transparent;
  border: none;
}

.remove-img {
  color: red;
  font-size: 14px;
}

.draggable-row {
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.drag-icon {
  cursor: grab;
  width: 40px;
  text-align: center;
  font-size: 18px;
}

.drag-icon:active {
  cursor: grabbing;
}

.p-6 {
  padding: 24px;
}

.rounded {
  border-radius: 16px;
}

.max-w-810 {
  max-width: 810px;
}

/* .right-2{
  right: 8px;
} */

.react-datepicker__view-calendar-icon input {
  padding: 6px 40px 5px 30px !important;
}

.btn-setting-link {
  margin: -10px 0 0 0;
}

.tabs-container {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid #ddd;
}

.tab-btn {
  padding: 10px 16px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.tab-btn:hover {
  color: #007bff;
}

.tab-btn.active {
  border-bottom: 3px solid #007bff;
  color: #007bff;
  font-weight: 600;
}

.form-card {
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  background: #fafafa;
}

.form-card h3 {
  margin-bottom: 12px;
  color: #333;
}

.form-group {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 4px;
  font-weight: 500;
  color: #444;
}

.form-group input {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.submit-btn {
  padding: 8px 14px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.submit-btn:hover {
  background: #0056b3;
}

.no-opacity-panel {
  opacity: 0;
}

.action-tabs .row-action {
  text-align: right !important;
  padding-right: 25px !important;
  width: 8%;
}

.action-tabs .custom-table-tbody tr .td-action .table-action {
  justify-content: end;
  padding-right: 8px;
}

.action-tabs .row-status {
  /* text-align: center !important; */
  width: 7%;
}

/* .action-tabs .custom-table-tbody .td-status {
  text-align: center;
} */
.btnCsv {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
}

/* Import button */
.btn-import {
  background-color: #4caf50;
  /* Green */
}

.btn-import:hover {
  background-color: #43a047;
  /* Darker green on hover */
  color: #fff;
}

/* Export button */
.btn-export {
  background-color: #2196f3;
  /* Blue */
}

.btn-export:hover {
  background-color: #1976d2;
  /* Darker blue on hover */
  color: #fff;
}

.multi-sync-button {
  display: flex;
  gap: 5px;
}

.lib-type {
  text-transform: capitalize;
}

.custom-select {
  font-size: 14px;
  color: #647187;
}

.action-tabs .row-date {
  /* text-align: right !important; */
  padding-right: 25px !important;
  width: 15%;
}

.logged-info p {
  word-break: break-all;
  overflow-wrap: break-word;
}

.static-page-content {
  max-width: 724px;
  margin: auto;
  margin-bottom: auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex: 1 0 auto;
  flex-grow: 1;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  align-content: stretch;
  position: relative;
}

.static-page-content h1 {
  font-family: Lancelot;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  color: #4d323fff;
  margin-top: 10px;
}

.static-page-content .static-content p {
  font-family: ABeeZee !important;
  font-size: 18px !important;
  color: #6e4d5c !important;
  font-weight: 400;
  line-height: 1.5;
}

.static-page-content h2 {
  font-family: Lancelot;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  color: #4d323fff;
}

@media (max-width: 767px) {
  .static-page-content {
    padding: 20px;
  }
}

.elite-user {
  cursor: pointer;
}

.campaign-row {
  display: flex;
  height: 100%;
}

.campaign-col {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.campaign-cards-block {
  max-width: 450px;
  width: 100%;
  margin: auto;
}

.success-counts {
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.success-counts span {
  font-size: 38px;
  font-weight: 700;
  color: #419541;
}

.result-counts {
  display: flex;
  gap: 25px;
  align-items: center;
}

.total-counts {
  line-height: 1;
}

.campaign-ul {
  display: flex;
  gap: 10px;
  flex-direction: column;
  border-left: 1px solid #ddd;
  padding-left: 30px;
}

.campaign-ul li {
  margin: 0px;
  line-height: 1;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.campaign-ul li:last-child {
  border: none;
}

.campaign-li label {
  font-size: 18px;
}

.campaign-li span {
  font-size: 22px;
  font-weight: 500;
}

.total-counts label {
  font-size: 38px;
}

.total-counts span {
  font-size: 38px;
  font-weight: 500;
}

.text-success {
  color: #419541;
}

.text-failed {
  color: #ff6384;
}

.text-progress {
  color: #e6ae25;
}

.field-array-panel {
  background: #eee;
  margin: 10px 0;
  border-radius: 10px;
  padding: 10px 0;
}

/* multilayer structure */
/* Expand Row */
.question-expand-row {
  background: #f9fafc;
}

.question-expand-td {
  padding: 0 !important;
}

.question-expand-wrapper {
  padding: 15px 30px;
  border-left: 4px solid #4f46e5;
  background: #f9fafc;
}

/* Expand Button */
.expand-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eef2ff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: 0.2s ease;
}

.expand-btn:hover {
  background: #e0e7ff;
}

.expand-btn.open {
  background: #c7d2fe;
}

/* Nested Question List */
.nested-question-container {
  margin-top: 10px;
}

.nested-question-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Draggable Row */
.draggable-question-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.draggable-question-row:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.drag-icon {
  cursor: grab;
  color: #9ca3af;
}

.question-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.question-index {
  font-weight: 600;
  color: #6b7280;
}

.question-title {
  font-size: 14px;
  color: #111827;
}

/* Align icons perfectly */
.question-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Unified icon button style */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

/* Remove default button style */
.icon-btn button {
  all: unset;
}

.icon-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.icon-btn.active {
  background: #e0e7ff;
  border-color: #6366f1;
}

.action-tabs .row-action {
  text-align: right !important;
  padding-right: 25px !important;
  width: 8%;
}

.data-stats-wrap {
  margin-top: 32px;
}

.max-450 {
  max-width: 500px !important;
}

.refund-action {
  text-align: right;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
}

/* ==========================================================================
   Modern Dashboard Refresh - UI Tokens & Components
   ========================================================================== */

/* Breadcrumbs Modern */
.breadcrumb-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.breadcrumb-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.breadcrumb-icon {
  width: 40px;
  height: 40px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

.breadcrumb-text .breadcrumb-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.5;
}

.breadcrumb-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-list a:hover {
  color: #2563eb;
}

/* Premium Stat Cards */
.patient-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stats-grid-top {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
  .stats-grid-top {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.premium-stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.premium-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.stat-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon {
  width: 24px;
  height: 24px;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

/* Status Colors for Stats */
.status-approved .stat-icon-wrapper {
  background: #ecfdf5;
  color: #10b981;
}

.status-pending .stat-icon-wrapper {
  background: #fffbeb;
  color: #f59e0b;
}

.status-review .stat-icon-wrapper {
  background: #eff6ff;
  color: #3b82f6;
}

.status-cancelled .stat-icon-wrapper {
  background: #fef2f2;
  color: #ef4444;
}

.status-expired .stat-icon-wrapper {
  background: #f8fafc;
  color: #94a3b8;
}

.status-issued .stat-icon-wrapper {
  background: #f5f3ff;
  color: #8b5cf6;
}

.status-completed .stat-icon-wrapper {
  background: #f0fdf4;
  color: #16a34a;
}

.status-renewal .stat-icon-wrapper {
  background: #fff1f2;
  color: #fb7185;
}

.status-inactive .stat-icon-wrapper {
  background: #f1f5f9;
  color: #64748b;
}

.users .stat-icon-wrapper {
  background: #e0f2fe;
  color: #0ea5e9;
}

.users-inactive .stat-icon-wrapper {
  background: #f1f5f9;
  color: #64748b;
}

.revenue .stat-icon-wrapper {
  background: #f0fdf4;
  color: #16a34a;
}

.currency {
  font-size: 16px;
  margin-right: 2px;
  font-weight: 600;
  opacity: 0.7;
}

/* Content Cards & Forms */
.content-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.ct-block-info {
  padding: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.ct-block-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ct-block-text {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.ct-block-inner {
  padding: 24px;
}

/* Skeleton Loaders */
.skeleton-card {
  height: 110px;
  background: linear-gradient(90deg, #f1f5f9 25%, #f8fafc 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 16px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Table Enhancements */
.table-wrap {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  overflow: hidden;
}

.custom-table-thead tr th {
  background: #f8fafc !important;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  padding: 10px 8px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.custom-table-tbody tr td {
  padding: 5px 8px !important;
  vertical-align: middle;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #f8fafc;
  transition: background-color 0.15s ease-in-out;
}

.custom-table-tbody tr:hover td {
  background-color: #f1f5f9 !important;
}

.action-btn-modern {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
  background: #fff;
  color: #64748b;
  transition: all 0.2s;
  text-decoration: none;
}

.action-btn-modern:hover {
  background: #f8fafc;
  color: #2563eb;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.action-btn-modern.delete:hover {
  color: #ef4444;
  background: #fef2f2;
}

.status-pill {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-pill.active {
  background: #ecfdf5;
  color: #059669;
}

.status-pill.inactive {
  background: #f1f5f9;
  color: #64748b;
}

.border-none {
  border: none !important;
}

/* ==========================================================================
   Modern & Subtle Sidebar Refinement
   ========================================================================== */
.asidebar {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #ffffff;
  /* Clean white background */
  /* border-right: 1px solid #f1f5f9; */
  padding: 24px 0;
  transition: width 0.3s ease;
}

.upper-menu {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.li-side-menu {
  margin-bottom: 6px;
}

.side-menu-link {
  display: flex;
  align-items: center;
  padding: 10px 5px;
  color: #475569;
  /* Subtle slate color */
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 12px;
  position: relative;
}

.side-menu-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.side-menu-link.menu-active {
  background: #f8fafc;
  color: #2563eb;
  font-weight: 600;
}

/* Subtle active indicator pill */
.side-menu-link.menu-active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 4px;
  background: #2563eb;
  border-radius: 0 4px 4px 0;
}

.nav-icon {
  font-size: 18px;
  color: #94a3b8;
  /* Muted icon color */
  transition: color 0.2s, transform 0.2s;
}

.side-menu-link:hover .nav-icon,
.side-menu-link.menu-active .nav-icon {
  color: #2563eb;
  transform: translateY(-1px);
}

.menu-text {
  flex: 1;
  letter-spacing: -0.01em;
}

/* Submenu Styling Refinement */
.ul-submenu {
  list-style: none !important;
  padding: 0;
  margin: 4px 0 8px 24px;
  border-left: 1px solid #e2e8f0;
}

.li-submenu {
  margin: 2px 0;
  padding-left: 14px;
  /* Space between vertical line and text */
}

.link-submenu {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  border-radius: 8px;
  transition: all 0.2s;
  width: 100%;
}

.link-submenu:hover {
  color: #0f172a;
  background: #f8fafc;
}

.link-submenu.active {
  color: #2563eb;
  font-weight: 600;
  background: #eff6ff;
  /* Softer blue for submenu active */
}

/* Bottom Profile Section */
.bottom-menu {
  padding: 16px 16px 0;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.chevron-icon {
  font-size: 12px;
  color: #94a3b8;
  transition: transform 0.2s;
}

.side-menu-link:hover .chevron-icon {
  color: #64748b;
}

.has-submenu .side-menu-link::before,
.has-submenu .side-menu-link::after {
  display: none !important;
}

/* Re-enable the active indicator if it was hidden by the above rule */
.side-menu-link.menu-active::after {
  display: block !important;
}

/* Custom Scrollbar */
.upper-menu::-webkit-scrollbar {
  width: 4px;
}

.upper-menu::-webkit-scrollbar-track {
  background: transparent;
}

.upper-menu::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 10px;
}

/* Email Template Custom Styling */
.custom-table-wrapper {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: 1px solid #dee2e6;
  margin-bottom: 1rem;
  overflow: hidden;
}

.custom-table-wrapper table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

.custom-table-wrapper table th {
  border-bottom: 1px solid #dee2e6;
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: left;
  padding: 10px 8px;
}

.custom-table-wrapper table td {
  border-bottom: 1px solid #f8fafc;
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: left;
  padding: 5px 8px;
}

.custom-bg-light {
  background-color: #f8f9fa;
}

.custom-th-title {
  font-weight: 600;
  color: #6c757d;
  padding: 10px 8px;
}

.custom-col-center {
  text-align: center !important;
}

.custom-table-row {
  vertical-align: middle;
}

.custom-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-circle-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.title-text-wrap {
  display: flex;
  flex-direction: column;
}

.custom-title-text {
  margin-bottom: 0;
  font-weight: 700;
  color: #212529;
}

.custom-subtitle-text {
  color: #6c757d;
  font-size: 0.875em;
}

.custom-code-badge {
  display: inline-block;
  background-color: #f8f9fa;
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: monospace;
  font-size: 13px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-subject-text {
  color: #6c757d;
}

.custom-action-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
  /* Limit width to trigger ellipsis on longer text */
  vertical-align: middle;
}

.type-initial {
  background-color: #e0f2fe;
  color: #0369a1;
}

.type-renewal {
  background-color: #dcfce7;
  color: #15803d;
}

.type-reassessment {
  background-color: #f3e8ff;
  color: #7e22ce;
}

/* Prescription Detail Styles */
.prescription-accordion-wrap {
  padding: 10px 0;
}

.pres-accordion-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.pres-accordion-card.open {
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pres-accordion-head {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  text-align: left;
}

.pres-accordion-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pres-head-content {
  min-width: 0;
}

.pres-head-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.pres-heading-label {
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
}

.pres-type-badge {
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.pres-type-badge.initial {
  background: #e0f2fe;
  color: #0369a1;
}

.pres-type-badge.renewal {
  background: #dcfce7;
  color: #15803d;
}

.pres-type-badge.reassessment {
  background: #f3e8ff;
  color: #7e22ce;
}

.pres-status-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
}

.pres-status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block;
}

.pres-status-0 { background-color: #f1f5f9 !important; color: #64748b !important; }
.pres-status-1, .pres-status-3 { background-color: #e0f2fe !important; color: #0369a1 !important; }
.pres-status-2 { background-color: #fef3c7 !important; color: #b45309 !important; }
.pres-status-4, .pres-status-5, .pres-status-6 { background-color: #dcfce7 !important; color: #15803d !important; }
.pres-status-7, .pres-status-10 { background-color: #fee2e2 !important; color: #b91c1c !important; }
.pres-status-8 { background-color: #f3f4f6 !important; color: #374151 !important; }
.pres-status-9 { background-color: #f5f3ff !important; color: #6d28d9 !important; }

.pres-head-meta {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pres-meta-dot {
  color: #cbd5e1;
}

.pres-case-id {
  font-weight: 500;
  color: #64748b;
}

.pres-arrow {
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.pres-arrow.open {
  transform: rotate(180deg);
}

.pres-accordion-body {
  padding: 0 18px 18px;
  border-top: 1px solid #f1f5f9;
  margin-top: 5px;
  padding-top: 15px;
}

.fieldset_wrap {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}

.fieldset_wrap legend {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  padding: 0 10px;
  width: auto;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prescription-accordion-wrap .t-detail ul {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px 20px !important;
  padding: 0 !important;
  margin: 10px 0 0 0 !important;
  list-style: none !important;
  width: 100% !important;
}
.prescription-accordion-wrap .t-detail ul.medication-ul {
  border-bottom: 1px solid #ccc;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.prescription-accordion-wrap .t-detail ul li {
  display: block !important;
  width: 100% !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.prescription-accordion-wrap .t-detail ul li.full-width {
  grid-column: span 2 !important;
}

.prescription-accordion-wrap .t-detail ul li label {
  display: block !important;
  width: 100% !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
  letter-spacing: 0.3px !important;
}

.prescription-accordion-wrap .t-detail ul li p {
  display: block !important;
  width: 100% !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  margin: 0 !important;
  text-align: left !important;
  word-break: break-word !important;
  padding-left: 0 !important;
}

.pres-amount {
  font-weight: 700 !important;
  color: #1e293b !important;
}

.pres-trans-id {
  font-family: monospace !important;
  color: #64748b !important;
  font-size: 13px !important;
}

.pres-rejection {
  color: #ef4444 !important;
  background: #fef2f2 !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  border: 1px solid #fee2e2 !important;
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
}

.pres-no-data {
  color: #94a3b8 !important;
  font-style: italic;
  font-size: 13px !important;
}

.pres-medication-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.pres-medication-card:last-child {
  margin-bottom: 0;
}

.pres-med-title {
  font-weight: 700 !important;
  color: #0f172a !important;
}

.pres-contact-item {
  display: inline-block;
}

.pres-detail-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.pres-detail-actions a {
  border: 1px solid #ef4444;
  border-radius: 6px;
  color: #ef4444;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.pres-detail-actions a:hover {
  background: #ef4444;
  color: #ffffff;
}

@media (max-width: 767px) {
  .pres-accordion-head {
    padding: 12px;
  }

  .pres-accordion-body {
    padding: 12px;
  }
}

/* Modern Modal/Popup Styles */
.modal-header-custom {
  padding: 20px 24px 15px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 24px;
}

.modal-title-modern {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.modal-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.form-field-modern {
  margin-bottom: 20px;
}

.upload-wrapper-modern {
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  margin-top: 10px;
  margin-bottom: 24px;
}

.refund-selection-wrapper {
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.form-footer-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.btn-modern-primary {
  width: 100%;
  background: #2563eb;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-modern-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  color: white;
}

.btn-modern-primary:disabled {
  background: #93c5fd;
  cursor: not-allowed;
}

.btn-modern-danger {
  width: 100%;
  background: #ef4444;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-modern-danger:hover {
  background: #dc2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
  color: white;
}

.btn-modern-danger:disabled {
  background: #fecaca;
  cursor: not-allowed;
}

.btn-modern-ghost {
  width: 100%;
  background: transparent;
  color: #64748b;
  border: none;
  padding: 8px;
  font-weight: 500;
  font-size: 13px;
  text-decoration: underline;
  text-align: center;
}

/* Pharmacy Card Styles */
.selected-pharmacy-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.selected-pharmacy-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.selected-pharmacy-card-head span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.selected-pharmacy-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.selected-pharmacy-card-title strong {
  color: #0f172a;
  font-size: 14px;
}

.selected-pharmacy-card-title button {
  border: 0;
  background: transparent;
  color: #2563eb;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
}

.selected-pharmacy-card-body {
  padding: 16px;
}

.selected-pharmacy-card-body p {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  margin: 0 0 12px;
  align-items: flex-start;
}

.selected-pharmacy-card-body p:last-child {
  margin-bottom: 0;
}

.selected-pharmacy-card-body label {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.selected-pharmacy-card-body span {
  color: #0f172a;
  font-size: 13px;
  font-weight: 500;
}

.dosage-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  background: #eff6ff;
  color: #2563eb !important;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.dosage-badge-link:hover {
  background: #2563eb;
  color: #ffffff !important;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.15);
}

.dosage-badge-link svg {
  display: block;
  flex-shrink: 0;
}