/* account.css — /enroll/success and /account page styles */
/* Extends theme.css variables: --bg, --fg, --accent, --muted, --border */

/* ─── Success page ───────────────────────────────── */
.success-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 7vw, 100px) clamp(24px, 5vw, 64px);
}
.success-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: clamp(36px, 5vw, 64px);
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(11,61,74,0.08);
}
.success-icon {
  width: 72px; height: 72px;
  background: rgba(232,100,74,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-card h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.success-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.success-steps {
  text-align: left;
  background: rgba(11,61,74,0.04);
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
}
.success-steps h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.success-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.5;
}
.step-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--fg);
  color: #F5F0E8;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-account {
  display: inline-block;
  background: var(--fg);
  color: #F5F0E8;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 12px;
  transition: opacity 0.15s;
}
.btn-account:hover { opacity: 0.85; }

/* ─── Account page ───────────────────────────────── */
.account-section {
  min-height: 80vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px);
}
.account-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  max-width: 560px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(11,61,74,0.07);
}
.account-card h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.account-card .sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
}
.account-form { display: flex; flex-direction: column; gap: 12px; }
.account-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--fg);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s;
}
.account-input:focus { border-color: var(--fg); }
.btn-magic {
  background: var(--fg);
  color: #F5F0E8;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-magic:hover { opacity: 0.85; }
.account-msg {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  display: none;
}
.account-msg.visible { display: block; }
.account-msg.success { color: #0d9488; }
.account-msg.error { color: var(--accent); }

.account-access-section { margin-top: 28px; }
.account-access-section h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}
.access-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.access-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.access-card-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.btn-access {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.btn-access:hover { opacity: 0.85; }
