/* ═══════════════════════════════════════════
   VERIFIED PAGE — SolarVisionX
   Aesthetic: Airy Precision / Glowing Confirmation Card
═══════════════════════════════════════════ */

.verified-section {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--sp-12)) var(--sp-4) var(--sp-16);
  position: relative;
  overflow: hidden;
}

/* Ambient background glow & grid */
.verified-bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(circle at 50% 20%, var(--brand-glow) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(34, 163, 85, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
}

.verified-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Card container */
.verified-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: 0 25px 50px -12px rgba(25, 122, 64, 0.12), var(--shadow-lg);
  text-align: center;
  animation: cardFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 640px) {
  .verified-card {
    padding: var(--sp-12) var(--sp-10);
  }
}

@keyframes cardFadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Status pill ── */
.verified-status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.35rem 0.9rem;
  background: var(--brand-xlight);
  border: 1px solid var(--brand-light);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-6);
}

.verified-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
}

.verified-status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.4;
  animation: dotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ── Animated Check Icon Badge ── */
.verified-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.verified-icon-radar {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid var(--brand-light);
  opacity: 0.6;
  animation: radarExpand 2.8s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.verified-icon-radar--delay {
  animation-delay: 1.4s;
}

@keyframes radarExpand {
  0% {
    transform: scale(0.7);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.verified-icon-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -4px rgba(25, 122, 64, 0.35);
  position: relative;
  z-index: 2;
  transition: transform var(--dur-normal) var(--ease-spring);
}

.verified-card:hover .verified-icon-circle {
  transform: scale(1.05);
}

.verified-checkmark-svg {
  width: 44px;
  height: 44px;
  stroke: var(--white);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.verified-checkmark-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeDraw 0.8s 0.25s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes strokeDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ── Headings & Text ── */
.verified-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}

@media (min-width: 640px) {
  .verified-title {
    font-size: var(--text-4xl);
  }
}

.verified-subtitle {
  font-size: var(--text-base);
  color: var(--ink-500);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto var(--sp-8);
}

.verified-highlight {
  color: var(--brand);
  font-weight: 600;
}

/* ── Next steps box ── */
.verified-steps {
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-5);
  margin-bottom: var(--sp-8);
  text-align: left;
}

.verified-steps-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: var(--sp-3);
}

.verified-step-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--ink-700);
}

.verified-step-item:last-child {
  margin-bottom: 0;
}

.verified-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-xlight);
  color: var(--brand);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Action Buttons ── */
.verified-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

@media (min-width: 480px) {
  .verified-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-primary-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand) 100%);
  color: var(--white);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  box-shadow: 0 4px 14px 0 rgba(25, 122, 64, 0.28);
  transition: all var(--dur-normal) var(--ease-out);
  border: none;
  cursor: pointer;
}

.btn-primary-verified:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(25, 122, 64, 0.38);
  color: var(--white);
}

.btn-primary-verified:active {
  transform: translateY(0);
}

.btn-secondary-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  background: var(--white);
  color: var(--ink-700);
  border: 1px solid var(--ink-200);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: var(--text-base);
  text-decoration: none;
  transition: all var(--dur-normal) var(--ease-out);
}

.btn-secondary-verified:hover {
  background: var(--ink-50);
  border-color: var(--ink-300);
  color: var(--ink);
  transform: translateY(-1px);
}

/* ── Safe close hint ── */
.verified-note {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin: 0;
}

/* ── Password Recovery Form ── */
.recovery-form {
  max-width: 440px;
  margin: 0 auto var(--sp-6);
  text-align: left;
}

.recovery-field {
  margin-bottom: var(--sp-4);
}

.recovery-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: var(--sp-2);
}

.recovery-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.recovery-input {
  width: 100%;
  padding: 0.8rem 2.75rem 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--dur-normal) var(--ease-out);
}

.recovery-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.recovery-toggle-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recovery-toggle-btn:hover {
  color: var(--ink);
}

.recovery-error-msg {
  padding: 0.75rem 1rem;
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  border-radius: var(--radius-md);
  color: #B91C1C;
  font-size: var(--text-sm);
  margin-bottom: var(--sp-4);
  display: none;
  line-height: 1.4;
}

.recovery-error-msg.active {
  display: block;
}

.recovery-submit-btn {
  width: 100%;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px 0 rgba(25, 122, 64, 0.28);
  transition: all var(--dur-normal) var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

.recovery-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.recovery-submit-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(25, 122, 64, 0.35);
}

