/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.customer-auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 24px;
}

.customer-auth-card {
  width: min(440px, 100%);
  background: #ffffff;
  border: 1px solid #d0dae5;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.customer-auth-card h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.customer-auth-subtitle {
  margin: 10px 0 22px;
  color: #475569;
  font-size: 17px;
}

.customer-auth-alert {
  margin: 0 0 14px;
  color: #b91c1c;
  font-weight: 700;
}

.customer-auth-form {
  display: grid;
  gap: 14px;
}

.customer-auth-field {
  display: grid;
  gap: 6px;
}

.customer-auth-field label {
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
}

.customer-auth-field input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  background: #f8fafc;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.customer-auth-field input:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.customer-auth-submit {
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.customer-auth-switch {
  margin: 14px 0 0;
  color: #334155;
}

.customer-auth-switch a {
  color: #1d4ed8;
  font-weight: 700;
}
