/* Container animation */
.login-container {
  animation: fadeIn 1s ease;
  padding-top: 40px;
  padding-bottom: 40px;
}
/* Logo styling */
.login-logo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  animation: fadeIn 1s ease;
  max-width: 500px;
  width: 60%;
  height: auto;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}
.login-logo:hover {
  transform: scale(1.15);
}

/* Remove double border on inputs in input-group */
.input-group .form-control {
  border-left: 0;
}

.logout-content {
  padding-bottom: 50px;     /* same as .form-control */
  margin-bottom: 50px;     /* same as .form-control */
  justify-content: center;
}

.login-heading {
  padding-bottom: 5px;     /* same as .form-control */
  margin-bottom: 5px;     /* same as .form-control */
  font-size: 2rem;        /* optionally bump the icon size */
  line-height: 1.25;            /* ensure the icon doesn’t add extra height */
  border-radius: .375rem 0 0 .375rem;
  justify-content: center;
}

.login-button {
  justify-content: center;
  width: 100%;
  padding: 1rem 1rem;     /* same as .form-control */
  font-size: 1.5rem;        /* optionally bump the icon size */
  line-height: 2;            /* ensure the icon doesn’t add extra height */
  border-radius: .375rem 0 0 .375rem;
}

/*    This keeps the icons vertically centered without stretching them */
.input-group-text {
  padding: 1rem 1rem;     /* same as .form-control */
  font-size: 1.5rem;        /* optionally bump the icon size */
  line-height: 2;            /* ensure the icon doesn’t add extra height */
  background-color: #cce5ff;
  border-radius: .375rem 0 0 .375rem;
}

.input-icon {
  display: flex;
  align-items: top;
  justify-content: center;
  padding: 0.6rem 0.6rem;    /* match .form-control-lg’s vertical padding */
  font-size: 1.25rem;       /* icon size */
  background-color: #cce5ff; /* same bg as .input-group-text if desired */
  border-right: 0;
  border-radius: .375rem 0 0 .375rem;
}

/* Background images for login */
body.login {
  background-image: url('/static/images/bg-login.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Optional overlay (uncomment if needed) */
/*
body.login::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);input-group-text
  z-index: -1;
}
*/

/* Password strength meter styling */
.strength-meter {
  height: 5px;
  background: #e0e0e0;
  border-radius: 3px;
  margin-top: 5px;
  margin-left: 50px;
  overflow: hidden;
}
.strength-meter-fill {
  height: 100%;
  width: 0%;
  transition: width 0.3s;
}

/* Strength states */
.strength-weak .strength-meter-fill {
  background: #dc3545;   /* red */
  width: 33%;
}
.strength-medium .strength-meter-fill {
  background: #ffc107;   /* amber */
  width: 66%;
}
.strength-strong .strength-meter-fill {
  background: #28a745;   /* green */
  width: 100%;
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .login-logo {
    max-width: 120px;
  }

  .card {
    margin: 0 10px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.input-group-text i { line-height: 1; }
.progress.passbar { height: 8px; }
.pass-hint { font-size: 0.875rem; }
.addr-suggest { z-index: 1050; max-height: 260px; overflow-y: auto; }
.verify-success-cta { display:flex; gap:.5rem; flex-wrap:wrap; align-items:center; margin-top:.5rem; }
.hp-field { position:absolute !important; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
