:root {
  --bg: #0f1113;
  --panel: rgba(22, 28, 36, 0.94);
  --panel-border: rgba(128, 145, 168, 0.18);
  --text: #f3efe6;
  --muted: #a8b0ba;
  --soft: #7f8995;
  --accent: #d2a35a;
  --accent-strong: #131518;
  --accent-soft: rgba(210, 163, 90, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(210, 163, 90, 0.12), transparent 26%),
    linear-gradient(180deg, #111315 0%, #0f1113 100%);
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.confirm-shell {
  width: min(100%, 760px);
}

.confirm-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  padding: 42px 34px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.brand-mark {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  object-fit: cover;
  margin: 0 auto 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
}

.lead {
  max-width: 52ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-strong);
}

.button-secondary {
  border: 1px solid var(--panel-border);
  color: var(--text);
  background: transparent;
}

.help-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(128, 145, 168, 0.12);
}

.help-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.help-box p + p {
  margin-top: 6px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.step {
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(128, 145, 168, 0.12);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 12px;
}

.step p {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .confirm-card {
    padding: 32px 22px;
    border-radius: 26px;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

/* Form Styles */
.form-container {
  margin-top: 32px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--soft);
  margin-bottom: 8px;
}

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

.form-group input {
  width: 100%;
  height: 52px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 0 48px 0 16px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.1s;
}

.toggle-password:hover {
  color: var(--accent);
}

.eye-icon {
  pointer-events: none;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.button[type="submit"] {
  width: 100%;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.status-message {
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  display: none;
}

.status-message.error {
  display: block;
  background: rgba(255, 75, 75, 0.1);
  color: #ff4b4b;
  border: 1px solid rgba(255, 75, 75, 0.2);
}

.status-message.success {
  display: block;
  background: rgba(75, 255, 120, 0.1);
  color: #4bff78;
  border: 1px solid rgba(75, 255, 120, 0.2);
}
