/* =========================================================
   LOGIN PAGE — page-specific styles
   (relies on tokens/header/footer already defined in style.css)
========================================================= */

.login-main {
  min-height: calc(100vh - var(--header-h, 70px) - 1px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 16px;
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 162, 39, 0.08), transparent 40%),
    var(--paper);
	margin-top:80px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 40px 34px 34px;
  text-align: center;
}

.login-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: #7a6412;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.login-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

/* Step indicator */
.login-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.login-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
  transition: opacity 0.2s ease;
}
.login-step.active { opacity: 1; }

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-step:not(.active) .step-num { background: #c9cddb; }

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.login-step-line {
  width: 34px;
  height: 1px;
  background: var(--border);
}

/* Form panels */
.login-step-panel { text-align: left; }
.login-step-panel .form-label { text-align: left; display: block; }

.otp-input {
  letter-spacing: 0.35em;
  font-weight: 700;
  text-align: center;
  font-size: 1.15rem;
}

.otp-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.link-btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.link-btn:hover { color: var(--gold); text-decoration: underline; }
