﻿:root {
  --primary-color: #3eb658;
  --secondary-color: #379ed8;
  --bg-blue-color: #dff3ff;
  --bg-green-color: #edfff1;

  --purple-color: #5b2c83;
  /* --primary-color: #158696; */
  --primary-text-color: #354359;
  --secondary-text-color: #848484;
  --primary-bg-color: #eff1f4;
  --success-color: #4fa55c;
  --danger-color: #dc3545;
  --black-color: #2c2c2c;
  --white-color: #ffffff;

  --light-color: #eaeeff;
  --body-bg-color: #ffffff;
  --footer-bg-color: #eff1f4;
  --input-border-radius: 16px;
  --btn-border-radius: 0px;
  --light-bg-color: rgba(36, 136, 142, 0.09);
  --darker-bg-color: #d8ffe0;
}

* {
  font-family: "Alexandria", "Poppins", sans-serif;
}

::placeholder {
  color: #bfbfbf !important;
  opacity: 1;
}

:-ms-input-placeholder,
::-ms-input-placeholder {
  color: #bfbfbf !important;
}

[type="number"] {
  direction: inherit;
}

.r50 {
  font-size: 0.5rem !important;
}

.r75 {
  font-size: 0.75rem !important;
}

.r100 {
  font-size: 1rem !important;
}

hr {
  background-color: rgba(118, 118, 128, 0.3);
}

.prime-color {
  color: var(--primary-color);
}

.primay-bg-color {
  background-color: var(--primary-color);
}

.progress-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.progress {
  flex-grow: 1;
  height: 12px;
  border-radius: 38px;
  margin-right: 8px;
}

.percentage-label {
  margin-inline-start: 13px;
  margin-inline-end: 6px;
}

[dir="rtl"] * {
  line-height: 1.5;
}

[dir="rtl"] select {
  line-height: 1.7;
}

.ph-bold {
  line-height: 1;
}

html {
  font-size: 14px;
}

a {
  color: #2c2c2c;
}

a:focus,
a:hover {
  color: var(--primary-color);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 100px;
}

.subtext {
  color: #848484;
  font-size: 0.75rem;
}

.text {
  color: #2c2c2c;
}

.h-56 {
  height: 56px;
}

@media (max-width: 768px) {
  .app-btn {
    padding: 10px 24px;
    height: 48px;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .app-btn {
    padding: 10px 24px;
    height: 48px;
  }

  .border-md {
    border: 2px solid #f5f5f5 !important;
    border-radius: 16px;
  }
}

.section_title {
  display: flex;
  /* color: var(--secondary-color); */
  color: black;
  font-weight: 600;
  /* background:var(--bg-blue-color) !important; */
  /* background:var(--bg-green-color) !important; */
  background: #eff1f6 !important;
  border-radius: 0px;
  /* var(--input-border-radius); */
  justify-content: center;
  align-items: center;
  padding: 16px;
  font-size: 1.25rem;
}

.blue_section_title {
  display: flex;
  color: white;
  font-weight: 600;
  background: #0d6efd;
  border-radius: var(--input-border-radius);
  justify-content: center;
  align-items: center;
  padding: 16px;
  font-size: 1.25rem;
}

/* Datepicker */
.datepicker th {
  font-weight: 500;
}

/* Header */
.navbar {
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
}

.navbar-brand img {
  max-height: 45px;
  width: auto;
}

.select2-dropdown {
  background-color: #fbfbfb !important;

  /* border-radius: 16px !important; */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  display: flex !important;
  align-items: center;
  height: 100%;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.select2-container .select2-selection--single {
  height: 46px !important;
  /* To fit perfectly inside h-56 (56px) - padding (5px * 2) */

  /* Or set to the height of your original select box */
  padding: 0;
  background-color: transparent !important;

  /* Or set to the padding of your original select box */
  border: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  display: none;
  /* This hides the Select2 arrow, you can remove this line if you want to keep the arrow */
}

.select2-container--default .select2-dropdown {
  margin-top: 7px;
  border-top: 1px solid #aaa !important;
}

.select2-search__field::placeholder {
  color: #999;
}

/* Footer */
.footer {
  display: flex;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background-color: #eff1f4;
  color: #848484;
  align-items: center;
}

.footer-img {
  max-width: 100%;
  max-height: 48px;
  height: auto;
}

@media (max-width: 768px) {
  .footer-img {
    max-width: 80%;
  }

  body {
    margin-bottom: 132px;
  }

  body.has_nav_bar {
    margin-bottom: calc(132px + 80px);
  }

  .footer {
    height: 132px;
  }

  body.has_nav_bar .footer {
    height: calc(132px + 80px);
    padding-bottom: 80px;
  }
}

/* Navbar */
.navbar_link {
  color: #848484;
  text-decoration: none;
}

.navbar_link:hover,
.navbar_link:focus {
  color: #2c2c2c;
}

.navbar_link.active {
  color: #2c2c2c;
  border-bottom: 1px solid var(--primary-color);
  /* border-bottom: 1px solid #EF3B28; */
}

.navbar-bottom {
  height: 80px;
  align-items: center;
  background: #ffffff;
  box-shadow: 0px -15px 30px rgba(0, 0, 0, 0.07);
  padding: 0px 30px;
}

.navbar_icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  gap: 4px;
}

.navbar_icon i {
  font-size: 28px;
}

.navbar_icon.active {
  border-bottom: none;
}

/* Buttons */

.dt-buttons .dt-button {
  font-size: 13px !important;
  font-weight: normal;
  color: #848484;
  border-radius: 8px;
  background: #ffffff;
  border: none;
  margin-bottom: 10px;
}

button.dt-button:hover {
  font-size: 0.75rem;
  color: #ffffff !important;
  border-radius: 8px;
  background-color: #3eb658 !important;
  border: none !important;
}

.NoResponse {
  font-size: 13px !important;
  font-weight: normal;
  color: #848484;
  border-radius: 8px;
  background: #fafafa;
  border: none;
  margin-bottom: 10px;
  width: 100%;
}

.NoResponse:hover {
  font-size: 0.75rem;
  color: #ffffff !important;
  border-radius: 8px;
  background-color: #f53d45 !important;
  border: none !important;
  width: 100%;
}

.hyperlink-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hyperlink-btn:has(i) {
  justify-content: space-between;
  text-align: start;
}

.loader {
  animation: spin 1.75s linear infinite;
  font-size: 2rem;
  line-height: 40px;
  margin-top: 0;
  display: inline-flex;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.btn,
.btn:hover,
.btn:focus {
  color: #2c2c2c;
  font-weight: 500;
  transition: all 0.2s;
  border-radius: var(--btn-border-radius);
  font-size: 0.75rem;
  padding: 8px 16px;
}

.btn:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn:disabled {
  opacity: 0.7;
}

.btn-grey,
.btn-grey:hover,
.btn-grey:focus {
  background: #eff1f4;
}

.btn-prime,
.btn-prime:hover,
.btn-prime:focus {
  font-size: 1rem;
  color: #eff1f4;
  border-radius: 0px;
  background: var(--primary-color);
}

.btn-states,
.btn-states:hover,
.btn-states:focus {
  font-size: 0.75rem;
  color: #848484;
  border-radius: 8px;
  background: #f5f5f5;
  /* background: var(--primary-color); */
}

.btn.active {
  background: var(--primary-color);
  color: white;
}

.btn-green,
.btn-green:hover,
.btn-green:focus {
  color: white;
  background: #4fa55c;
}

.btn-blue,
.btn-blue:hover,
.btn-blue:focus {
  color: white;
  background: #0d6efd;
}

.btn-outline-black,
.btn-outline-black:hover,
.btn-outline-black:focus {
  border: 1px solid #2c2c2c;
}

.btn-outline-prime,
.btn-outline-prime:hover,
.btn-outline-prime:focus {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-grey:hover,
.btn-grey:focus,
.btn-prime:hover,
.btn-prime:focus,
.btn-green:hover,
.btn-green:focus,
.btn-blue:hover,
.btn-blue:focus,
.btn-outline-black:hover,
.btn-outline-black:focus,
.btn-outline-prime:hover,
.btn-outline-prime:focus {
  transform: scale(1.03);
}

.btn-back {
  width: 40px;
  height: 40px;
  border-radius: 0px !important;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

.btn-back:hover,
.btn-back:focus {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: scale(1.03);
  font-size: 1rem;
}

.btn-back:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn_close {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 16px;
  color: #c4c4c4;
  font-size: 16px;
  border: none;
  background: none;
  border-radius: 50%;
}

.btn_close.has_bg {
  color: #2c2c2c;
  background: white;
}

.btn_close i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn_close:hover,
.btn_close:focus {
  background-color: #2c2c2c;
  color: white;
  font-size: 18px;
}

[dir="ltr"] .btn_close {
  right: 16px;
}

[dir="rtl"] .btn_close {
  left: 16px;
}

/* Inputs */

:has(> .is-invalid)~.invalid-feedback,
:has(> .is-valid)~.valid-feedback {
  display: block;
}

.input-bg {
  padding: 5px;
  width: auto;
  background: #eff1f4;
  border-radius: 0px !important;
  border: none;
  width: 100%;
  display: flex !important;
}

.input-bg:focus-within {
  background: white;
  border: 1px solid black;
  box-shadow: none;
}

.input-bg .prefix {
  background: white;
  border-radius: 0px 0px 0px 0px !important;
}

.input-bg .suffix {
  background: white;
  border-radius: 0px 0px 0px 0px !important;
}

[dir="rtl"] .input-bg .prefix_dir {
  border-radius: 0px 0px 0px 0px !important;
}

[dir="rtl"] .input-bg .suffix_dir {
  border-radius: 0px 0px 0px 0px !important;
}

.input-bg:focus-within .prefix,
.input-bg:focus-within .suffix {
  background: #eff1f4;
}

.input-bg input,
.input-bg select {
  background-color: #eff1f4;
  display: inline-block;
  border: none;
}

.input-bg input:focus,
.input-bg select:focus {
  box-shadow: none !important;
  background-color: white;
}

.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"],
.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),
    url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.125 9.75L10.6219 15L7.875 12.375' stroke='%234FA55C' stroke-width='2.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z' stroke='%234FA55C' stroke-width='2.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.form-control.is-valid,
.was-validated .form-control:valid {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.125 9.75L10.6219 15L7.875 12.375' stroke='%234FA55C' stroke-width='2.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z' stroke='%234FA55C' stroke-width='2.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.ltr-input.is-invalid,
.was-validated .ltr-input:invalid {
  padding-right: calc(1.5em + 0.75rem);
  padding-left: 0.75rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-position: right calc(0.375em + 0.1875rem) center;
}

.ltr-input.is-valid,
.was-validated .ltr-input:valid {
  padding-right: calc(1.5em + 0.75rem);
  padding-left: 0.75rem !important;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.125 9.75L10.6219 15L7.875 12.375' stroke='%234FA55C' stroke-width='2.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z' stroke='%234FA55C' stroke-width='2.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-position: right calc(0.375em + 0.1875rem) center;
}

[dir="rtl"] .form-control.is-invalid,
[dir="rtl"] .was-validated .form-control:invalid,
[dir="rtl"] .form-control.is-valid,
[dir="rtl"] .was-validated .form-control:valid,
[dir="rtl"] .form-select.is-invalid:not([multiple]):not([size]),
[dir="rtl"] .form-select.is-invalid:not([multiple])[size="1"],
[dir="rtl"] .was-validated .form-select:invalid:not([multiple]):not([size]),
[dir="rtl"] .was-validated .form-select:invalid:not([multiple])[size="1"],
[dir="rtl"] .form-select.is-valid:not([multiple]):not([size]),
[dir="rtl"] .form-select.is-valid:not([multiple])[size="1"],
[dir="rtl"] .was-validated .form-select:valid:not([multiple]):not([size]),
[dir="rtl"] .was-validated .form-select:valid:not([multiple])[size="1"] {
  padding-right: 0.75rem !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

/* Landing Page */
.buy_card {
  height: 240px;
  border-radius: 0px;
  border: none;
  /* border: 1px solid rgba(0,0,0,.125); */
  transition: transform 0.2s;
  cursor: pointer;
  overflow: hidden;
}

.buy_card img {
  transition: transform 0.7s;
}

.buy_card:hover,
.buy_card:focus-within {
  transform: scale(1.05);
}

.buy_card:hover img,
.buy_card:focus-within img {
  transform: scale(1.25);
}

.buy_card a {
  height: 100%;
}

.buy_card img {
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}

.buy_card .card-img-overlay {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
}

.buy_card .card-title {
  color: #000 !important;
}

@media (max-width: 768px) {
  .buy_card {
    height: 175px;
  }
}

/* Login Page */
.otp_inputs input {
  width: 64px;
  height: 64px;
  background: #eff1f4;
  border-radius: 4px;
  border: none;
  font-size: 20px;
}

.otp_inputs input:focus {
  background: white;
  border: 1px solid black;
  box-shadow: none;
}

#accept_terms_label a {
  color: currentColor;
  text-decoration-color: currentColor;
}

/* Dashboard */
.welcome_header {
  background: var(--light-bg-color);
  /* background: #FDFAE6; */
  padding: 24px 0px;
  margin-top: -1rem;
}

.request-card {
  border: 2px solid #eff1f4;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: #2c2c2c;
  min-height: 175px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.request-card:hover,
.request-card:focus {
  border: 2px solid black;
  color: #2c2c2c;
}

.status {
  display: flex;
  align-items: center;
  padding: 4px 8px 4px 16px;
  border-radius: 8px;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.s_pending {
  background: var(--light-bg-color);
  /*#7797FF;*/
  /* color: #FFFFFF; */
  color: var(--primary-color);
}

.s_documents {
  background: var(--light-bg-color);
  /*#7797FF;*/
  /* color: #FFFFFF; */
  color: var(--primary-color);
}

.s_active {
  background: #fdfae6;
  color: #2c2c2c;
}

.s_completed {
  background: #9cc953;
  color: #ffffff;
}

.s_rejected {
  background: #fde6e6;
  color: #2c2c2c;
}

/* Modal */
.dar-modal {
  color: #2c2c2c;
  max-width: 360px;
  padding: 24px;
}

.dar-modal .modal-content {
  border-radius: 16px;
  border: none;
  text-align: center;
  font-size: 12px;
}

.dar-modal .modal-header {
  border-bottom: none;
  position: relative;
  padding: 24px 24px 0px 24px;
}

.dar-modal .modal-header img {
  margin-bottom: 16px;
}

.dar-modal h4 {
  font-size: 24px;
}

.dar-modal .modal-body {
  color: #848484;
}

.dar-modal .modal-footer {
  display: flex;
  border: none;
  gap: 4px;
  flex-direction: column;
  align-items: stretch;
  padding: 0px 24px 24px 24px;
}

.dar-modal .icon {
  width: 60px;
  height: 60px;
}

.dar-modal .modal-referral {
  background-color: var(--primary-color);
  border: none;
  text-align: center;
  padding: 75px 29px;
  border-radius: 16px;
}

.close-referral-btn {
  color: white;
  font-size: 2em;
  position: absolute;
  top: 15px;
  right: 15px;
}

.referral-title {
  color: white;
  text-align: center;
  font-size: 26.048px;
  /* font-family: DM Sans; */
  font-weight: 700;
  margin-bottom: 16px;
}

.referral-qr {
  text-align: center;
  display: inline-block;
  width: auto;
  /* width: 130.508px; */
  /* height: 156.508px; */
  border-radius: 11.382px;
  padding: 8px;
  background: white;
  margin-bottom: 12px;
}

.referral-count {
  text-align: center;
  display: inline-block;
  width: auto;
  /* width: 130.508px; */
  /* height: 156.508px; */

  color: white;
}

.referral-link-text {
  color: #000;
  text-align: center;
  font-size: 12px;
  max-lines: 1;
  white-space: nowrap;
  direction: ltr;
  /* Prevents the text from wrapping onto the next line */
  overflow: hidden;
  /* Hides the text that overflows the element's box */
  text-overflow: ellipsis;
  /* Indicates that the text should be truncated with an ellipsis (...) when it overflows */
}

.referral-link-bg {
  display: flex;
  padding: 5.32px 8.683px;
  justify-content: center;
  align-items: center;
  gap: 5.32px;
  border-radius: 21.813px;
  background: #fff;
}

.referral-link-btn {
  display: flex;
  padding: 6px 12px;
  align-items: flex-start;
  gap: 10.853px;
  border-radius: 48.839px;
  color: white;
  background: var(--text, #354359);
}

/* Support */
.social {
  gap: 0.5rem;
  display: flex;
  justify-content: center;
}

.social a {
  color: #2c2c2c;
  background: #eff1f4;
  border-radius: 50%;
  text-decoration: none;
  position: relative;
  font-size: 20px;
  width: 32px;
  height: 32px;
}

.social a i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social a:hover,
.social a:focus {
  color: white;
  background: #2c2c2c;
}

/* Stepper */
.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #dcdbdb;
  z-index: -1;
}

.steps .step {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  color: white;
  border-radius: 6px;
  background-color: #dcdbdb;
}

.steps .step.step_active {
  background-color: black;
}

/* Application */
.info_table .col {
  display: flex;
  flex-direction: column;
}

.info_table .col span:first-of-type {
  font-size: 0.7rem;
  color: #848484;
}

.info_table .col span:last-of-type {
  font-size: 1rem;
}

.declaration {
  justify-content: space-between;
  display: flex;
  flex-direction: column;
}

.container_bordered {
  border: 2px solid #f5f5f5;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
}

@media (min-width: 768px) {
  .container_bordered {
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
  }
}

/* Declaration */
.warning_container {
  padding: 10px;
  background: var(--light-bg-color);
  /* background: #FDFAE6; */
}

.info_container {
  padding: 10px;
  background: #eff1f4;
  border-radius: 8px;
}

.radio-label {
  color: #2c2c2c;
  font-weight: 500;
  transition: border 0.2s;
  font-size: 0.75rem;
  padding: 8px 16px;
  background: #eff1f4;
  border-radius: 28px;
  cursor: pointer;
  min-width: 78px;
  text-align: center;
  border: solid 1px #eff1f4;
}

.radio-btn:checked+.radio-label {
  border: solid 1px #2c2c2c;
}

/* File Upload */
.file_input {
  justify-content: space-between;
  display: flex;
  flex-direction: column;
}

.file_input .btn_close {
  top: 8px;
}

[dir="ltr"] .file_input .btn_close {
  right: 8px;
}

[dir="rtl"] .file_input .btn_close {
  left: 8px;
}

.file_input .box {
  background: #eff1f4;
  border: 1px dashed #848484;
  border-radius: 14px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.file_input .box * {
  cursor: pointer;
}

.file_input .box .drop_here,
.file_input .box .invalid,
.file_input .box .failed {
  display: none;
}

.file_input.is_drag .box {
  border: 2px solid #848484;
}

.file_input.invalid_drag .box {
  border: 2px dashed #dc3545;
}

.file_input.is_drag .box .file_icon_lable,
.file_input.invalid_drag .box .file_icon_lable {
  display: none !important;
  color: #2c2c2c;
}

.file_input.is_drag .drop_here,
.file_input.invalid_drag .invalid,
.file_input.is_drag .box .drop_here,
.file_input.upload_failed .box .failed {
  display: block;
  pointer-events: none;
}

.file_input.upload_failed .file_icon_lable label {
  display: none;
}

.file_input.is_uploading .box,
.file_input.has_file .box,
.file_input.has_image .box {
  display: none;
}

.file_input .uploading,
.file_input .preview {
  display: none;
  background: #eff1f4;
  position: relative;
  border: 1px solid #848484;
  border-radius: 14px;
  height: 140px;
}

.file_input.is_uploading .uploading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.file_input.has_image .preview,
.file_input.has_file .preview {
  display: block;
}

.file_input .uploading .progress {
  height: 100%;
  width: 100%;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.file_input .uploading .progress .circle {
  position: relative;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#4d5bf9 0deg, #cadcff 0deg);
}

.file_input .uploading .progress .circle:before {
  content: "";
  position: absolute;
  height: 84%;
  width: 84%;
  border-radius: 50%;
  background-color: #eff1f4;
}

.file_input .uploading .progress .circle .value {
  position: relative;
  font-size: 1.25rem;
  color: #2c2c2c;
}

.max-attempt {
  display: none;
  /* Hides the div by default */
  color: #ff0000;
  /* Red text color */
  font-weight: bold;
  text-align: center;
}

.show-max-attempt {
  display: block;
  /* Makes the div visible */
}

.file_input .preview img {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.file_input .preview .pdf {
  display: none;
}

.file_icon_lable {
  display: flex;
  pointer-events: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.file_icon_lable i {
  color: #2c2c2c;
  font-size: 32px;
  margin-bottom: 4px;
}

.file_icon_lable span {
  color: #848484;
  max-width: 75%;
  text-align: center;
  word-wrap: break-word;
}

.file_input.has_image .preview img {
  display: block;
}

.file_input.has_file .preview .pdf {
  display: flex;
}

.declaration:has(.is-valid) .form-label,
.file_input:has(.is-valid) .form-label,
.success_label {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.125 9.75L10.6219 15L7.875 12.375' stroke='%234FA55C' stroke-width='2.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z' stroke='%234FA55C' stroke-width='2.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.declaration:has(.is-invalid) .form-label,
.file_input:has(.is-invalid) .form-label {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='24' height='24' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

.declaration:has(.is-valid) .form-label,
.declaration:has(.is-invalid) .form-label,
.file_input:has(.is-valid) .form-label,
.file_input:has(.is-invalid) .form-label,
.success_label {
  background-repeat: no-repeat;
  background-position: right 0.1875rem center;
  padding-right: calc(1.5em + 0.75rem) !important;
}

[dir="rtl"] .declaration:has(.is-valid) .form-label,
[dir="rtl"] .declaration:has(.is-invalid) .form-label,
[dir="rtl"] .file_input:has(.is-valid) .form-label,
[dir="rtl"] .file_input:has(.is-invalid) .form-label,
[dir="rtl"] .success_label {
  background-position: left 0.1875rem center;
  padding-left: calc(1.5em + 0.75rem) !important;
  padding-right: 0px !important;
}

.success_label {
  width: 100%;
  text-align: start;
  display: flex;
}

/* Tabs */
.tabs {
  background: rgba(118, 118, 128, 0.12);
  border-radius: 8px;
  padding: 2px;
  gap: 8px;
}

.tab-item {
  font-size: 12px;
  font-weight: 500;
  align-items: stretch;
  display: flex;
}

.tab-link {
  padding: 6px 8px;
  color: #82828b;
  border: none;
  border-radius: 8px;
}

.tab-link.active {
  color: white;
  background-color: black;
}

@media (max-width: 768px) {
  .tab-item {
    flex: 1;
  }

  .tab-link {
    width: 100%;
  }
}

.group-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 0px;
  font-size: 24px;
  font-weight: 600;
  color: #2c2c2c;
  text-align: right;
  background-color: #fff;
  border: 0;
  border-radius: 0;
}

.group-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232c2c2c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
}

.group-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232c2c2c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}

/* Payments Schedule */
.payment_status {
  display: flex;
  width: 100%;
  border-radius: 4px;
  padding: 4px 8px;
  gap: 4px;
  align-items: center;
}

.s_upcoming {
  background: #eff1f4;
  color: var(--primary-text-color);
}

.s_paid {
  background: radial-gradient(98.09% 98.09% at 10.99% 0%,
      #15d593 0%,
      #00b467 100%);
  color: white;
}

.s_late {
  background: radial-gradient(125.83% 125.83% at 83.38% 77.32%,
      #e7a700 0%,
      #efce00 100%);
  color: white;
}

.payment_schedule {
  display: flex;
  gap: 4px;
  flex-direction: column;
  padding: 16px;
}

.payment_data {
  display: flex;
  font-size: 0.75rem;
  color: #82828b;
  justify-content: space-between;
  align-items: baseline;
}

.payment_data strong {
  color: var(--primary-text-color);
}

/* Notifications */
.notification {
  text-decoration: none;
  padding: 4px 8px;
}

.notification:hover,
.notification:focus {
  background-color: rgba(132, 132, 132, 0.2);
  border-radius: 4px;
}

.my-col {
  padding-left: 15px;
  padding-right: 15px;
}

#detailstable thead tr {
  background-color: var(--purple-color) !important;
  /* Change to your preferred color */
  color: white;
  /* Change the font color */
}

.table-striped>tbody>tr:nth-of-type(odd) {
  --bs-table-accent-bg: white;
}

.table-hover>tbody>tr:hover {
  --bs-table-accent-bg: var(--bs-table-hover-bg);
}

#detailstable th {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 200;
  font-size: 12px;
  background-color: transparent;
}

#detailstable th,
#detailstable td {
  text-align: center;
  vertical-align: middle;
}

#detailstable td {
  background-color: white;
  color: black;
}

.anim-number {
  font-family: "Alexandria";
  font-style: normal;
  color: #354359;
  font-weight: 600;
  font-size: 40px;
  line-height: 49px;
}

.anim-name {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
}

.anim-container {
  border-radius: 16px;
  min-height: 100px;
  padding: 0px 32px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.anim-container-horiz {
  border-radius: 16px;
  min-height: 60px;
  padding: 8px 32px;
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/*------------------------  switch css --------------------*/
/*------------------------  switch css --------------------*/
/*------------------------  switch css --------------------*/
/*------------------------  switch css --------------------*/

.material-switch>input[type="checkbox"] {
  display: none;
}

.material-switch>label {
  cursor: pointer;
  height: 0px;
  position: relative;
  width: 40px;
}

.material-switch>label::before {
  background: rgb(0, 0, 0);
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  content: "";
  height: 16px;
  margin-top: -8px;
  position: absolute;
  opacity: 0.3;
  transition: all 0.4s ease-in-out;
  width: 40px;
}

.material-switch>label::after {
  background: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  content: "";
  height: 24px;
  left: -4px;
  margin-top: -8px;
  position: absolute;
  top: -4px;
  transition: all 0.3s ease-in-out;
  width: 24px;
}

.material-switch>input[type="checkbox"]:checked+label::before {
  background: var(--primary-color);
  opacity: 0.5;
}

.material-switch>input[type="checkbox"]:checked+label::after {
  background: var(--primary-color);
  left: 20px;
}

/*------------------------  switch css end --------------------*/
/*------------------------  switch css end --------------------*/
/*------------------------  switch css end --------------------*/
/*------------------------  switch css end --------------------*/

.filter_text {
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 170%;
  /* or 20px */

  display: flex;
  align-items: center;
  text-align: right;

  /* Text */

  color: #354359;
}

.white-bg .input-bg {
  background-color: white !important;
}

.white-bg .input-bg select {
  background-color: white !important;
}

.white-bg .input-bg input {
  background-color: white !important;
}

.td-light-text {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  color: #82828b;
}

.td-text {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #2c2c2c;
}

.td-type {
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  /* width: 80%; */
  vertical-align: middle;
  color: #354359;
  text-align: start;
}

.td-type i {
  display: inline-block;
  vertical-align: middle;
}

.td-type span {
  vertical-align: middle;
}

.frame {
  width: 303px;
  border: 0.5px dotted #9747ff;
  border-radius: 5px;
  padding: 10px;

  background: #fff;
}

.status {
  /* height: 24px; */
  padding: 2px 16px;

  display: flex;
  align-items: center;
  border-radius: 4px;
  font-weight: 400 !important;
  align-items: center;
  text-align: center;
  font-size: 12px;
  direction: ltr;
}

.status i {
  margin-top: 2px;
  font-size: 14px;
}

.status-pending {
  background: var(--bg-green-color);
  color: var(--primary-color);
}

.status-docs-done {
  background: #f4f6fe;
  color: #154d96;
}

.status-initial-approval {
  background: #5cb383;
  color: white;
}

.status-waiting-credit {
  background: white;
  color: #008caf;
}

.status-approved {
  background: #d3f8d1;
  color: #4fa55c;
}

.status-set-appointment {
  background: #d6e4ff;
  color: #3366ff;
}

.status-waiting-sign {
  background: rgba(255, 250, 137, 0.4);
  color: #a87900;
}

.status-closed {
  background: #dddddd;
  color: #2c2c2c;
}

.status-rejected {
  background: #ffe8ea;
  color: #df1125;
}

#login_btn {
  position: fixed;
  top: 10px;
  left: 200px;
  padding: 10px;
  z-index: 999;
}

button:focus {
  outline: none !important;
}

.btn:focus {
  border: none !important;
}

a:focus {
  border: none !important;
}

button:focus {
  outline: 2px solid red;
}