/* YES Funnel auth pages. Clean centered card, no popup styling. */

* { box-sizing: border-box; }

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(250, 250, 250);
  padding: 20px;
  font-family: 'Inter', sans-serif;
}

.auth-card {
  background: white;
  border-radius: 12px;
  padding: 40px;
  max-width: 400px;
  width: 100%;
  border: 1px solid rgb(230, 230, 230);
  box-sizing: border-box;
}

.auth-logo {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
  color: rgb(25, 25, 25);
  letter-spacing: -0.02em;
}

.auth-logo span {
  color: rgb(37, 99, 235);
}

.auth-card h1 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgb(25, 25, 25);
  letter-spacing: -0.01em;
}

.auth-sub {
  font-size: 14px;
  color: rgb(100, 100, 100);
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-card label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgb(50, 50, 50);
  margin-bottom: 6px;
  margin-top: 14px;
}

.auth-card label:first-of-type {
  margin-top: 0;
}

.auth-card input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgb(220, 220, 220);
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.auth-card input:focus {
  outline: none;
  border-color: rgb(37, 99, 235);
}

.auth-field-hint {
  font-size: 12px;
  color: rgb(150, 150, 150);
  margin-top: 6px;
}

.auth-btn-primary {
  width: 100%;
  padding: 10px 16px;
  background: rgb(25, 25, 25);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  margin-top: 20px;
  transition: background 0.15s;
}

.auth-btn-primary:hover {
  background: rgb(40, 40, 40);
}

.auth-btn-primary:disabled {
  background: rgb(180, 180, 180);
  cursor: not-allowed;
}

.auth-footer-link {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgb(100, 100, 100);
}

.auth-footer-link a {
  color: rgb(37, 99, 235);
  text-decoration: none;
  font-weight: 500;
}

.auth-footer-link a:hover {
  text-decoration: underline;
}

.auth-error {
  background: rgb(254, 242, 242);
  border: 1px solid rgb(254, 202, 202);
  color: rgb(153, 27, 27);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-success {
  background: rgb(240, 253, 244);
  border: 1px solid rgb(187, 247, 208);
  color: rgb(22, 101, 52);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-chip {
  background: rgb(239, 246, 255);
  border: 1px solid rgb(191, 219, 254);
  color: rgb(30, 64, 175);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-footer-legal {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgb(240, 240, 240);
  text-align: center;
  font-size: 12px;
  color: rgb(150, 150, 150);
}

.auth-footer-legal a {
  color: rgb(100, 100, 100);
  text-decoration: none;
  margin: 0 6px;
}

.auth-footer-legal a:hover {
  color: rgb(37, 99, 235);
}

/* Password strength meter (reset page) */
.auth-strength {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.auth-strength.visible { display: flex; }
.auth-strength-track {
  flex: 1;
  height: 5px;
  background: rgb(235, 235, 235);
  border-radius: 999px;
  overflow: hidden;
}
.auth-strength-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background 0.2s ease;
}
.auth-strength-label {
  font-size: 12px;
  font-weight: 600;
  width: 48px;
}
