@import "./var.css";

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefce8;
  position: relative;
  overflow: hidden;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border: 1px solid #edf0f3;
  padding: 28px;
  background: #ffffff;
  position: relative;
  z-index: 1;
}



.auth-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 22px;
}

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

.form-label {
  display: block;
  font-size: 13px;
  color: #475569;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  font-family: var(--font-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: #cbd5e1;
  box-shadow: 0 0 0 3px rgba(19,30,41,0.08);
}

.btn-primary {
  background: #131e29;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 16px;
  height: 42px;
  width: 100%;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(19,30,41,0.18);
}

.btn-continue {
  background: #f3f4f6;
  color: #6b7280;
  border: none;
  border-radius: 50px;
  padding: 10px 16px;
  height: 42px;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.btn-continue:hover {
  background: #e5e7eb;
  color: #374151;
}

.btn-link {
  background: transparent;
  border: none;
  color: #131e29;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.otp-group {
  display: none;
}

.otp-group.show {
  display: block;
}

.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.otp-inputs input {
  width: 100%;
  height: 48px;
  text-align: center;
  font-size: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.helper-text {
  font-size: 12px;
  color: #64748b;
}

.auth-footer {
  margin-top: 16px;
  font-size: 14px;
  color: #334155;
  text-align: center;
}

.legal-text {
  margin-top: 20px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  line-height: 1.4;
}

.legal-text a {
  color: #131e29;
  text-decoration: underline;
  font-weight: 500;
}

/* Authentication Messages */
.auth-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.auth-message-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.auth-message-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.auth-message-info {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* OTP input improvements */
.otp-inputs input:focus {
  border-color: #131e29;
  box-shadow: 0 0 0 3px rgba(19,30,41,0.1);
}

/* Disabled button state */
.btn-continue:disabled,
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-continue:disabled:hover {
  background: #f3f4f6;
  color: #6b7280;
}

.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }

@media (max-width: 480px) {
  .auth-card { padding: 22px; border-radius: 14px; }
  .otp-inputs { grid-template-columns: repeat(6, 42px); justify-content: space-between; }
}


