/* ############### WHITELABEL COLOR IMPORT ############### */
@import url("whitelabel-colors.css");

:root {
    --whitelabel-accent-white90: color-mix(in srgb, var(--whitelabel-accent) 10%, white 90%);
}

#refresh-indicator {
  display: none;
  width: 100%;
  text-align: center;
  position: fixed;
  top: 0;
  background: #f1f1f1;
  padding: 10px;
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
  width: 100%; /* Make the element take 100% of the parent div's width */
  box-sizing: border-box; /* Ensures padding and border are included in the width */
}

.az-body {
  background: radial-gradient(
      57.11% 47.99% at 14.14% 45.42%,
      rgba(255, 255, 255, 0.5) 0,
      rgba(255, 255, 255, 0) 88.53%,
      rgba(255, 255, 255, 0) 100%
    ),
    radial-gradient(
      107.99% 107.99% at 78.98% 0,
      rgba(255, 160, 240, 0.2) 0,
      rgba(255, 255, 255, 0) 100%,
      rgba(255, 160, 240, 0) 100%
    ),
    radial-gradient(
      87.27% 82.64% at 100% 100%,
      rgba(170, 156, 255, 0.5) 0,
      rgba(255, 255, 255, 0) 100%,
      rgba(170, 156, 255, 0) 100%
    ),
    radial-gradient(
      30% 30% at 50% 80vh,
      rgb(255 210 3 / 0%) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    #e4e8ff;
  color: #333;
}

body {
  color: #333;
}

.text-success {
  color: #6d8b74 !important;
}

.login-logo {
  display: grid;
  place-items: center;
  z-index: 999;
}

.iti {
  position: relative;
  display: block;
}

.iti--container {
  z-index: 1000;
}

.az-signin-wrapper-logo {
  vertical-align: center;
  margin-top: 60px;
}

.az-signin-wrapper {
  padding: 10px;
  margin-bottom: 5px !important;
}

@media (max-width: 767px) {
  .az-signin-wrapper {
    width: 100%;
  }

  .login-logo {
    margin-top: 2% !important;
    margin-bottom: 4% !important;
  }

  .az-card-signin {
    width: 100% !important;
  }

  .alight-center-card {
    margin-top: 5% !important;
  }
}

.alight-center-card {
  margin: auto !important;
}

.required-field::after {
  content: "*";
  color: red;
  margin-left: 5px;
}

#errorMessage {
  color: red;
  display: none;
}

.order-card {
  width: 750px !important;
  padding: 30px 30px !important;
}

/* Basic Styling for Password Checklist */
.password-checklist {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  width: 100%;
}

.password-checklist label {
  font-weight: bold;
  font-size: 1.1em;
  color: #333;
  margin-bottom: 10px;
  display: block;
}

.password-checklist ul {
  margin: 0 !important;
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 4px;
}

.password-checklist li {
  margin-bottom: 10px;
  font-size: 0.95em;
  color: #6c757d; /* Default Grey Color */
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.password-checklist i {
  margin-right: 8px;
  font-size: 1.2em;
  color: #6c757d; /* Default Grey Icon */
  transition: color 0.3s ease;
}

/* Success State: Green */
.password-checklist li.success {
  color: #4caf50;
}

.text-success {
  color: #4caf50 !important;
}

.password-checklist li.success i {
  color: #4caf50;
  content: "\f058"; /* Font Awesome check-circle */
}

/* Error State: Red */
.password-checklist li.error {
  color: var(--whitelabel-danger);
}

.password-checklist li.error i {
  color: var(--whitelabel-danger);
  content: "\f057"; /* Font Awesome times-circle */
}

.password-hover-wrapper {
  position: relative;
}

.password-tooltip {
  position: absolute;
  top: -190px; /* Show above the field */
  left: 0;
  width: 100%;
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media screen and (max-width: 500px) {
  .password-checklist ul {
    margin: 0 !important;
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 4px;
  }
  .password-tooltip {
    top: -279px;
  }
  .toggle-password {
    width: 16% !important;
  }
}

.password-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

/* Disabled Button Styling */
#submit-btn[disabled] {
  background-color: #6c757d;
  border-color: #6c757d;
  cursor: not-allowed;
}

/* Enabled Button Styling */
#submit-btn {
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.input-group {
  display: flex;
  align-items: center;
}

.form-control:not(.dataTables_filter .form-control) {
  flex: 1;
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  font-size: 14px !important;
}

.toggle-password {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  padding: 7px;
  cursor: pointer;
  text-align: center;
  border-radius: 0 8px 8px 0 !important;
  height: 48px;
  width: 10%;
}

@media (max-width: 1024px) {
  .toggle-password {
    width: 10%;
  }
}

.toggle-password i {
  font-size: 18px;
  color: #333;
}

.toggle-password:focus {
  outline: none;
}

.password-field {
  border-radius: 8px 0 0 8px !important;
  max-width: 90% !important;
}

.az-card-signin {
  border-radius: 15px !important;
  background-color: #ffffff !important;
  padding: 20px;
  display: flex;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 4px 5px rgba(0, 0, 0, 0.06);
  /* box-shadow: 1px 1px; */
  flex-direction: column;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.5);
}

.az-signin-header .form-control {
  font-weight: 500;
  border-width: 1px;
  border-color: rgb(211 211 211);
}

.az-signin-header label {
  color: #434343;
}

.az-signin-header .form-control:focus {
  outline: 2.5px solid var(--whitelabel-accent);
}

.btn-az-primary {
  color: #fff;
  background-color: #333;
  border-color: #333;
  transition: 0.2s ease-in-out;
}

.btn-az-primary:hover {
  color: #fff;
  background-color: #444;
  border-color: #444;
}

.form-control:focus {
  border-color: rgb(211 211 211);
  box-shadow: none;
}

.form-control:focus {
  color: #596882;
  background-color: #fff;
  border-color: rgb(211 211 211);
  outline: 0;
  box-shadow: 0 0 0 0.2rem var(--whitelabel-accent);
}

.az-body {
  background: linear-gradient(to bottom, #ffffff, var(--whitelabel-accent-white90));
}

.text-warning {
  color: var(--whitelabel-warning) !important;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 300px;
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cookie-banner p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner a {
  color: #1abc9c;
  text-decoration: none;
  font-weight: bold;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-banner .button-container {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: flex-end;
}

.cookie-banner button {
  flex: 1;
  background-color: #1abc9c;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
}

.cookie-banner button.reject {
  background-color: #e74c3c;
}

.cookie-banner button:hover {
  opacity: 0.9;
}

/* DataTables Search Input Override */
.dataTables_wrapper .dataTables_filter .form-control {
  width: auto !important;
  height: calc(1.8125rem + 2px) !important;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  border-radius: 0.2rem !important;
  flex: none !important;
}
