/* Reset and Base Styles */
* { margin: 0; padding: 0; font-family: inherit; box-sizing: border-box; }
img { max-width: 100%; }

/* Login Progress Indicator */
.login-progress {
  width: 100%;
  height: 0.5rem;
  background: #e4e6eb;
  border-radius: 0.25rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.login-progress-bar {
  height: 100%;
  background: #001489;
  border-radius: 0.25rem;
  transition: width 0.3s ease;
}

.login-progress-bar[data-step="1"] {
  width: 33.33%;
}

.login-progress-bar[data-step="2"] {
  width: 66.66%;
}

.login-progress-bar[data-step="3"] {
  width: 100%;
}

/* Mobile-First Base Styles */
body {
  min-height: 100vh;
  background: #f0f2f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #1c1e21;
}


/* Form Container - Mobile Vertical Layout */
.form-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: white;
}

/* Left Panel - Branding/Info */
.form-left-panel {
  padding: 3rem 2rem;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid #e4e6eb;
}

.form-left-panel .logo {
  height: auto;
  width: 100%;
  max-width: 200px;
  display: block;
  margin: 0 auto 2rem;
  object-fit: contain;
}

.form-left-panel h1 {
  font-size: 1.875rem;
  font-weight: 300;
  color: #1c1e21;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.form-left-panel h2 {
  font-size: 1.125rem;
  font-weight: 400;
  color: #65676b;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.form-left-panel .description {
  font-size: 0.9375rem;
  color: #65676b;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

/* Right Panel - Form Fields */
.form-right-panel {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Form Elements */
.form-content {
  flex: 1;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Field Groups with spacing for browser dropdowns */
.form-field-group {
  margin-bottom: 1.25rem;
}

.form-field-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1c1e21;
  margin-bottom: 0.5rem;
}

.form-field-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid #e4e6eb;
  border-radius: 6px;
  transition: all 0.2s ease;
  background: #ffffff;
}

.form-field-group input:hover {
  border-color: #d0d2d5;
}

.form-field-group input:focus {
  outline: none;
  border-color: #1877f2;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

/* Password fields - extra bottom margin for browser dropdowns */
.form-field-group.password-field {
  margin-bottom: 1rem;
}

/* Login as user indicator */
.login-as-user {
  font-size: 0.875rem;
  color: #65676b;
  margin-bottom: 1rem;
  text-align: center;
}

.login-as-user a {
  color: #1877f2;
  text-decoration: none;
  margin-left: 0.25rem;
}

.login-as-user a:hover {
  text-decoration: underline;
}

/* Error and Notice Messages */
.error, .notice {
  padding: 0.875rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

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

.notice {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #34d399;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

/* Error container for immediate password change */
.error-container {
  min-height: 3.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.error-container .error {
  margin-bottom: 0;
  width: 100%;
}

/* Turnstile Widget Alignment */
.cf-turnstile {
  margin: 1.25rem 0;
  display: flex;
  justify-content: flex-end;
}

/* Buttons */
.form-actions {
  margin-top: 1.75rem;
}

button {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: #1877f2;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

button:hover:not(:disabled) {
  background: #1665d8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Links */
.form-links {
  margin-top: 1.5rem;
  text-align: center;
}

.form-links a {
  display: inline-block;
  color: #1877f2;
  text-decoration: none;
  font-size: 0.9375rem;
  margin: 0.25rem 0;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
}

.form-links a:hover {
  color: #1665d8;
  text-decoration: underline;
}

/* Password Criteria - Compact Style */
.password-criteria {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #65676b;
}

.password-criteria > div {
  margin: 0.375rem 0;
  padding-left: 1.75rem;
  position: relative;
  transition: all 0.2s ease;
}

.password-criteria .password-pending::before {
  content: "○";
  position: absolute;
  left: 0;
  color: #bcc0c4;
  font-size: 1.125rem;
  line-height: 1;
}

.password-criteria .password-valid::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 1;
}

.password-criteria .password-valid {
  color: #16a34a;
}

/* Call Us Section */
.call {
  font-size: 0.9375rem;
  color: #65676b;
  text-align: center;
  margin: 1.5rem 0;
  line-height: 1.5;
}

.call a {
  color: #1877f2;
  text-decoration: none;
  font-weight: 500;
}

.call a:hover {
  text-decoration: underline;
}

/* Footer */
footer.info {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e4e6eb;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
}

footer.info a {
  color: #65676b;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer.info a:hover {
  color: #1877f2;
  text-decoration: underline;
}

/* Mobile-only: tighten spacing to reduce scrolling */
@media (max-width: 767px) {
  .form-left-panel {
    padding: 1.5rem 1.5rem 1rem;
  }

  .form-left-panel .logo {
    margin-bottom: 1rem;
  }

  .form-left-panel h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .form-left-panel h2 {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .form-right-panel {
    flex: none;
    padding: 1.5rem;
    justify-content: flex-start;
  }
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
  body {
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  
  .form-container {
    min-height: auto;
    width: 940px;
    max-width: 100%;
    flex-direction: row;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    background: white;
  }


  .form-left-panel {
    flex: 0 0 380px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 3rem;
    text-align: center;
    border-right: 1px solid #e4e6eb;
    border-bottom: none;
  }

  .form-left-panel .logo {
    height: auto;
    width: auto;
    min-width: 150px;
    max-width: 200px;
    margin: 0 auto 2.5rem auto;
    object-fit: contain;
  }

  .form-left-panel h1 {
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
  }

  .form-left-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }

  .form-right-panel {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    background: white;
  }

  .cf-turnstile {
    min-height: 65px;
  }

  .form-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  button {
    width: auto;
    min-width: 140px;
    padding: 0.75rem 2rem;
  }

  .form-actions {
    display: flex;
    justify-content: flex-end;
  }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .form-container {
    width: 1000px;
  }

  .form-left-panel {
    flex: 0 0 420px;
    padding: 3rem 4rem;
  }

  .form-right-panel {
    padding: 3rem 4rem;
  }

  .form-left-panel h1 {
    font-size: 2.5rem;
  }
}

/* Special styles for specific elements */
.username-display {
  font-size: 0.9375rem;
  color: #65676b;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e4e6eb;
}

.username-display strong {
  color: #1c1e21;
  font-weight: 600;
}

/* Success page styles */
.success-content {
  text-align: center;
}

.success-message {
  margin-bottom: 2rem;
}

.success-message p {
  font-size: 1.125rem;
  color: #1c1e21;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.success-message a {
  color: #1877f2;
  text-decoration: none;
  font-weight: 500;
}

.success-message a:hover {
  text-decoration: underline;
}

.redirect-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9375rem;
  color: #65676b;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #e4e6eb;
  border-top-color: #1877f2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#countdown {
  font-weight: 600;
  color: #1877f2;
}


/* Terms of Service specific styles */
div.tos {
  background: white !important;
  color: #1c1e21 !important;
  padding: 1.5rem;
  max-width: 100%;
}

div.tos h1 {
  font-size: 1.5rem;
  margin: 1rem 0;
  color: #1c1e21 !important;
}

div.tos h3 {
  font-size: 1.125rem;
  margin-top: 1rem;
  color: #1c1e21 !important;
}

div.tos p,
div.tos li,
div.tos span {
  color: #1c1e21 !important;
}

div.tos header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e4e6eb;
}

div.tos header img {
  max-height: 60px;
  width: auto;
  height: auto;
}

/* Close button styling */
div.tos .close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #666;
  text-decoration: none;
  border-radius: 50%;
  border: 2px solid #e4e6eb;
  transition: all 0.2s ease;
  font-size: 0;
  position: relative;
}

div.tos .close:hover {
  color: #333;
  background: #f0f2f5;
  border-color: #d0d2d5;
}

div.tos .close::before {
  content: "×";
  font-size: 28px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
  line-height: 1;
}

@media (min-width: 768px) {
  div.tos {
    max-width: 62rem;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
    padding: 2rem;
  }
}


/* Picklist styles */
.picklist {
  display: flex;
  flex-direction: column;
  margin-left: 0.5rem;
}

.picklist label {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
}

/* Radio button group styling */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border: 1px solid #e4e6eb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.radio-label:hover {
  background-color: #f8f9fa;
  border-color: #0084ff;
}

.radio-label:has(input:checked) {
  background-color: #e7f3ff;
  border-color: #0084ff;
}

.radio-label input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
}

.radio-label span {
  font-size: 1rem;
  line-height: 1.5;
  flex: 1;
}

.radio-label strong {
  font-weight: 600;
}


/* Icons for buttons */
button.login::before {
  content: url("data:image/svg+xml,%3Csvg style='color: white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor' aria-hidden='true'%3E%3Cpath fill-rule='evenodd' d='M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z' clip-rule='evenodd'%3E%3C/path%3E%3C/svg%3E");
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

button.mail::before {
  content: url("data:image/svg+xml,%3Csvg style='color: white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4 20q-.825 0-1.412-.587T2 18V6q0-.825.588-1.412T4 4h16q.825 0 1.413.588T22 6v12q0 .825-.587 1.413T20 20zm8-7L4 8v10h16V8zm0-2l8-5H4zM4 8V6v12z'/%3E%3C/svg%3E");
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

button.recover::before {
  content: "";
  width: 0;
  margin-right: 0;
}

/* Backward compatibility classes */
.authorize {
  /* This class is used by existing forms, map it to new structure */
  display: contents;
}

/* Ensure old media query styles don't break */
a[href^="tel:"]:before {
  content: "\260e\20\20";
}

@media (any-pointer: coarse) {
  a[href^="tel:"]:hover {
    text-decoration: underline;
  }
}

@media (any-pointer: fine) {
  a[href^="tel:"]:hover {
    cursor: default;
  }
}

/* MFA Styles */
.mfa-methods {
  margin: 30px 0;
}

.mfa-method-card {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  padding: 20px;
  margin: 0 0 20px 0;
  border-radius: 8px;
}

.mfa-method-card:last-child {
  margin-bottom: 0;
}

.mfa-method-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.mfa-method-icon {
  font-size: 24px;
  margin-right: 10px;
}

.mfa-method-title {
  margin: 0;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.mfa-method-description {
  color: #666;
  margin: 10px 0 15px 0;
  font-size: 14px;
}

.mfa-instructions {
  margin-top: 30px;
}

.mfa-step {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.mfa-step-number {
  background: #1877f2;
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.mfa-step-text {
  margin: 0;
  color: #555;
}

/* Alert Styles */
.alert-success {
  background: #d4edda;
  padding: 12px;
  margin: 15px 0;
  border-left: 4px solid #28a745;
  border-radius: 4px;
}

.alert-warning {
  background: #fff3cd;
  padding: 12px;
  margin: 15px 0;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
}

.alert-info {
  background: #d1ecf1;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #bee5eb;
  border-radius: 4px;
}

.alert-icon {
  font-size: 18px;
  margin-right: 8px;
}

.alert-content {
  display: flex;
  align-items: start;
}

.alert-success strong {
  color: #155724;
  font-size: 14px;
}

.alert-success p {
  margin: 3px 0 0 0;
  color: #155724;
  font-size: 13px;
  line-height: 1.4;
}

.alert-warning strong {
  color: #856404;
  font-size: 14px;
}

.alert-warning p {
  margin: 3px 0 0 0;
  color: #856404;
  font-size: 13px;
  line-height: 1.4;
}

.alert-info strong {
  color: #004085;
}

.alert-info span {
  color: #004085;
}

/* Recovery Code Styles */
.recovery-codes-container {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
}

.recovery-codes-container h3 {
  margin: 0 0 12px 0;
  color: #333;
  font-size: 15px;
  text-align: center;
}

.recovery-codes-grid {
  background: white;
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
}

.recovery-codes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.recovery-code-item {
  padding: 6px 10px;
  background: #f8f9fa;
  border-radius: 4px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.5px;
  border: 1px solid #e9ecef;
}

.recovery-code-number {
  color: #6c757d;
  font-size: 10px;
  margin-right: 4px;
}

.recovery-code-value {
  color: #333;
  font-weight: bold;
}

.recovery-actions {
  margin: 15px 0;
  display: flex;
  gap: 10px;
}

.recovery-actions button {
  flex: 1;
  padding: 8px;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.recovery-actions .btn-download {
  border: 1px solid #1877f2;
  color: #1877f2;
}

.recovery-actions .btn-print {
  border: 1px solid #6c757d;
  color: #6c757d;
}

/* Form Enhancement Styles */
.code-input {
  background: white;
  color: #333;
  font-size: 18px;
  text-align: center;
  letter-spacing: 2px;
}

.code-input-monospace {
  font-family: 'Courier New', monospace;
  letter-spacing: 3px;
}

.manual-code-section {
  text-align: center;
}

.manual-code-label {
  color: #666;
  font-size: 13px;
  margin: 0 0 8px 0;
}

.manual-code-display {
  font-family: 'Courier New', monospace;
  background: white;
  padding: 12px 16px;
  display: inline-block;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 1px;
  border: 1px solid #dee2e6;
  color: #333;
  font-weight: 600;
}

.form-help-text {
  display: block;
  margin-top: 5px;
  color: #666;
  font-size: 13px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-label span {
  color: #666;
  font-size: 14px;
}

.radio-option {
  display: flex;
  align-items: center;
}

.radio-option input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
  cursor: pointer;
}

.radio-option label {
  cursor: pointer;
  font-size: 14px;
  margin: 0;
}

.radio-option-selected {
  padding: 12px;
  background: white;
  border: 2px solid #1877f2;
  border-radius: 6px;
}

.radio-option-selected label {
  color: #1877f2;
  font-weight: 500;
}

.radio-option-default {
  padding: 12px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 6px;
}

/* QR Code Styles */
.qr-code-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
  margin: 20px 0;
}

.qr-code-container {
  text-align: center;
  margin: 0 0 20px 0;
}

.qr-code-wrapper {
  background: white;
  padding: 15px;
  display: inline-block;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qr-code-image {
  display: block;
  width: 180px;
  height: 180px;
}

/* Additional MFA Styles */
.mfa-divider {
  margin: 25px 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  position: relative;
}

.mfa-divider-text {
  background: white;
  padding: 0 10px;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: #666;
  font-size: 12px;
}

.mfa-method-option {
  margin: 0 0 15px 0;
}

.mfa-method-option:last-child {
  margin: 0;
}

.mfa-method-button {
  width: 100%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mfa-method-button-alt {
  width: 100%;
  padding: 12px;
  background: #f8f9fa;
  color: #333;
  border: 1px solid #dee2e6;
}

.resend-code-form {
  display: inline;
}

.resend-code-button {
  background: none;
  border: none;
  color: #1877f2;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: inherit;
}

.setup-complete-info {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.setup-complete-info h3 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 16px;
}

.setup-complete-info p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.setup-info-box {
  background: #e9ecef;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.setup-info-box p {
  margin: 0;
  font-size: 13px;
  color: #495057;
}

/* Email Template Styles */
.email-logo {
  max-width: 200px;
}

.email-header {
  color: #001489;
}

.email-button {
  background-color: #001489;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
}

.email-button:hover {
  background-color: #001275;
}

.email-button:active {
  background-color: #000f60;
}

/* Center alignment helper */
.text-center {
  text-align: center;
}

.margin-top-30 {
  margin-top: 30px;
}

.margin-bottom-15 {
  margin-bottom: 15px;
}

/* Print styles for recovery codes */
@media print {
  /* Hide everything except the recovery codes */
  .form-left-panel,
  .recovery-actions,
  .form-field-group,
  .form-actions,
  form,
  button,
  input[type="checkbox"],
  input[type="radio"],
  label[for="saved"],
  div:has(> #callus),
  div:has(> footer),
  footer,
  #callus,
  .alert {
    display: none !important;
  }
  
  /* Show only the recovery codes section */
  body {
    margin: 0;
    padding: 20px;
  }
  
  .form-container {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }
  
  .form-right-panel {
    width: 100% !important;
    max-width: none !important;
    background: white !important;
    box-shadow: none !important;
  }
  
  .form-content {
    padding: 0 !important;
  }
  
  /* Style the recovery codes for printing */
  div[style*="background: #f8f9fa"] {
    background: white !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .recovery-codes {
    border: 1px solid #000 !important;
    page-break-inside: avoid;
  }
  
  .recovery-code {
    border: 1px solid #000 !important;
    background: white !important;
    color: black !important;
  }
  
  .recovery-code strong {
    color: black !important;
  }
  
  /* Ensure the title is visible */
  h3 {
    color: black !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
  }
}
