/* SOER Custom Login & 2FA Styles */

body.path-user-login #block-claro-content,
body.path-user #block-claro-content {
  max-width: 540px;
  margin: 40px auto;
  padding: 32px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

/* Form Headings */
.user-login-form h1,
body.path-user-login h1.page-title {
  color: #0f172a;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

/* 2FA / TFA Callout Box */
.tfa-account-setup,
.tfa-login-code,
.tfa-verification-code,
div[id*=edit-tfa] {
  background: #f0f9ff;
  border-left: 4px solid #0284c7;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.tfa-account-setup p,
.tfa-login-code p {
  color: #0369a1;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* Highlighted Code Inputs */
input[name*=tfa_code],
input[name*=code],
input[id*=edit-code] {
  font-size: 1.25rem !important;
  letter-spacing: 4px;
  text-align: center;
  font-weight: 600;
  border: 2px solid #0284c7 !important;
  border-radius: 8px !important;
  padding: 10px !important;
  background: #f8fafc;
}

/* Clear Error Banners */
.messages--error {
  background-color: #fef2f2 !important;
  border: 1px solid #fca5a5 !important;
  border-left: 5px solid #dc2626 !important;
  color: #991b1b !important;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.messages--warning {
  background-color: #fffbe6 !important;
  border: 1px solid #ffe58f !important;
  border-left: 5px solid #faad14 !important;
  color: #873800 !important;
  border-radius: 8px;
  padding: 14px 18px;
}

/* Primary Button Styling */
.user-login-form .form-submit,
.tfa-login-form .form-submit {
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  background-color: #0284c7;
  border-color: #0284c7;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.user-login-form .form-submit:hover,
.tfa-login-form .form-submit:hover {
  background-color: #0369a1;
  border-color: #0369a1;
}
