.password-strength-meter {
  margin-top: 0.55rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #0b2550;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}

.password-strength-meter[data-strength="0"]:empty {
  display: none;
}

.password-strength-meter[data-strength="0"],
.password-strength-meter[data-strength="1"],
.password-strength-meter[data-strength="2"] {
  background: #fff1f1;
  color: #9b1c1c;
}

.password-strength-meter[data-strength="3"] {
  background: #fff8db;
  color: #765600;
}

.password-strength-meter[data-strength="4"] {
  background: #e9f8ee;
  color: #17633a;
}

.password-strength-meter[data-strength="5"] {
  background: #dff7ea;
  color: #0f5132;
}

.checkout-password-feedback {
  display: block;
  margin-top: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: #fff1f1;
  color: #9b1c1c;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.checkout-password-feedback[hidden] {
  display: none !important;
}

.email-verification-code {
  display: grid;
  grid-template-columns: repeat(6, minmax(2.4rem, 1fr));
  gap: 0.5rem;
  max-width: 22rem;
}

.email-verification-code input {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
}

.email-verification-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(3, 13, 31, 0.72);
  backdrop-filter: blur(10px);
}

.email-verification-modal[hidden] {
  display: none;
}

.email-verification-card {
  position: relative;
  width: min(100%, 560px);
  border: 1px solid rgba(160, 190, 255, 0.5);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(2, 10, 28, 0.32);
  color: #061a3c;
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.email-verification-card h2 {
  margin: 0 0 0.6rem;
  color: #061a3c;
}

.email-verification-card p {
  color: #314560;
}

.email-verification-card form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.email-verification-card input[type="email"] {
  width: 100%;
  border: 1px solid #c9d9f5;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: #061a3c;
}

.email-verification-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  border-radius: 999px;
  width: 2.25rem;
  height: 2.25rem;
  background: #edf4ff;
  color: #061a3c;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
}

.email-verification-status {
  border-radius: 16px;
  background: #eef5ff;
  color: #0d3475;
  font-weight: 700;
  padding: 0.75rem 0.9rem;
}

.email-verification-status[data-kind="success"] {
  background: #e9f8ee;
  color: #17633a;
}

.email-verification-status[data-kind="error"] {
  background: #fff1f1;
  color: #9b1c1c;
}

.email-verification-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  color: #435670;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .email-verification-card {
    border-radius: 22px;
  }

  .email-verification-code {
    grid-template-columns: repeat(6, minmax(1.8rem, 1fr));
  }
}
