/* auth/enroll.php — Dedicated OTP enrollment page styles (distinct from main app) */

.pdh-enroll-page {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #e8f5f5 0%, #f0f7f7 50%, #fafbfc 100%);
  padding: 1rem;
  box-sizing: border-box;
}

.pdh-enroll-card {
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(61, 125, 125, 0.12), 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(77, 163, 162, 0.15);
}

.pdh-enroll-header {
  text-align: center;
  padding: 2rem 1.75rem 1.25rem;
  background: linear-gradient(180deg, rgba(77, 163, 162, 0.08) 0%, rgba(77, 163, 162, 0.02) 60%, transparent 100%);
  border-radius: 20px 20px 0 0;
}

.pdh-enroll-logo {
  height: 64px;
  width: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 10px;
  padding: 0.5rem;
  box-sizing: content-box;
  background: rgba(77, 163, 162, 0.07);
  opacity: 0.92;
  box-shadow: 0 1px 2px rgba(77, 163, 162, 0.06);
}

.pdh-enroll-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

.pdh-enroll-subtitle {
  font-size: 0.95rem;
  color: #718096;
  margin: 0;
  line-height: 1.45;
}

.pdh-enroll-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.pdh-enroll-status {
  font-size: 0.95rem;
  color: #4a5568;
  background: #edf2f7;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.pdh-enroll-step {
  margin-bottom: 1.25rem;
}

.pdh-enroll-step:last-of-type {
  margin-bottom: 0;
}

.pdh-enroll-code-hint {
  font-size: 0.85rem;
  color: #718096;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

.pdh-enroll-aria-hint {
  display: block;
  font-size: 0.8rem;
  color: #a0aec0;
  margin-top: 0.35rem;
}

/* Captcha-style OTP code display (when code is shown on screen) */
.pdh-enroll-captcha-box {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border: 2px dashed #cbd5e0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.pdh-enroll-captcha-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #718096;
  margin-bottom: 0.4rem;
}

.pdh-enroll-captcha-code {
  display: inline-flex;
  gap: 0.2rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2d3748;
}

.pdh-enroll-captcha-digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25em;
  height: 1.5em;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pdh-enroll-sms-error {
  font-size: 0.85rem;
  color: #e53e3e;
  margin: 0 0 0.75rem;
}

.pdh-enroll-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #718096;
  margin-bottom: 0.5rem;
}

.pdh-enroll-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #2d3748;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pdh-enroll-input:focus {
  outline: none;
  border-color: #4da3a2;
  box-shadow: 0 0 0 3px rgba(77, 163, 162, 0.2);
}

.pdh-enroll-input::placeholder {
  color: #a0aec0;
}

.pdh-enroll-btn {
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.05s;
  margin-top: 0.5rem;
}

.pdh-enroll-btn:active {
  transform: scale(0.99);
}

.pdh-enroll-btn-primary {
  background: linear-gradient(135deg, #4da3a2 0%, #3a7d7d 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(77, 163, 162, 0.35);
}

.pdh-enroll-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #459a99 0%, #346e6e 100%);
  box-shadow: 0 6px 18px rgba(77, 163, 162, 0.4);
}

.pdh-enroll-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pdh-enroll-footer {
  text-align: center;
  padding: 1rem 1.75rem;
  font-size: 0.8rem;
  color: #a0aec0;
  border-top: 1px solid #edf2f7;
}

.pdh-enroll-footer p {
  margin: 0;
}
