/* Layout */
body {
  background-image: linear-gradient(180deg, #2EAAFF 0%, #0070D1 100%);
  display: flex;
  flex-direction: column;
  height: 100vh;
}

#main {
  background-image: url(../../img/background_pattern.png);
  background-size: 1000px 1000px;
  background-repeat: repeat;
}

.login-page {
  margin-top: calc(min(9%, 60px));
  position: relative;
}

.login-form-body {
  width: 400px;
  max-width: 92vw; /* responsive */
}

.daxko-logo-img {
  max-width: 312.37px;
  width: 100%;
}

.login-page-footer {
  margin-bottom: 24px;
}

.product-link-div {
  row-gap: 1px; /* try to avoid !important unless absolutely needed */
  gap: 64px;
  margin-bottom: 24px;
}

.no-underline {
  text-decoration: none;
}

/* Icon (eye/eye-slash) click target */
.input-icon {
  position: absolute;        /* in case Bootstrap's position-absolute isn't present */
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 6px;              /* bigger hit area */
  z-index: 2;
  user-select: none;
  line-height: 1;
}

/* If you ever use plain <input>, leave space for icon */
.form-control { padding-right: 2.25rem; }

/* Password criteria (unified) */
.password-criteria {
  list-style: none;
  padding-left: 0;
  margin: .5rem 0 0;
}

.password-criteria .list-group-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 14px;
  border: none;
  padding: .2rem 0;         /* compact like your first block */
  background: transparent;  /* consistent look */
}

.password-criteria .list-group-item i {
  margin-right: 8px;
  font-size: .95rem;
}

/* Pending/`Fail/Pass states (match JS: .criteria-success / .criteria-fail) */
/* Tri-state coloring */
.password-criteria li.criteria-pending,
.password-criteria li.criteria-pending i {
  color: #6c757d; /* grey for minus */
}

.password-criteria li.criteria-success,
.password-criteria li.criteria-success i {
  color: #198754; /* green check */
}

.password-criteria .criteria-success {
  color: #198754; /* Bootstrap-ish success green */
}

.password-criteria li.criteria-fail,
.password-criteria li.criteria-fail i {
  color: #dc3545; /* red x */
}

.password-criteria .criteria-fail {
  color: #6c757d;
}

/* Buttons */
.btn {
  border-radius: 8px;
  padding: .6rem 1rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #0d6efd;
  color: #fff;
}

.btn-primary:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.btn-lg { font-size: 1rem; }

.env_indicator_wrapper {
  align-items: center;
  background: rgba(251, 176, 59, .1);
  border-top: 8px solid #fbb03b;
  display: flex;
  justify-content: center;
  width: 100%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.env_indicator {
  background: #fbb03b;
  border-radius: 4px;
  color: #fdfffc;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  margin-top: -6px;
  padding: 2px 44px;
}
