/* BlixoAir Dedicated Auth Page - Microsoft Account Aesthetic */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  background-color: #eef3f8;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(214, 235, 255, 0.75) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(254, 237, 222, 0.65) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(240, 246, 255, 0.5) 0%, transparent 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #1b1b1b;
  padding: 32px 16px 20px;
}

.auth-page-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auth-main-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 12px;
  padding: 44px 44px 38px 44px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

/* Site Header Brand Logo on Auth Pages */
.auth-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  text-decoration: none;
  color: #0f172a;
}

.auth-brand-row svg {
  flex-shrink: 0;
  color: #0284c7;
}

.auth-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
}

.auth-brand-badge {
  display: none !important;
}

/* Headings */
.auth-heading {
  font-size: 24px;
  font-weight: 600;
  color: #1b1b1b;
  margin-bottom: 8px;
  line-height: 1.25;
}

.auth-subheading {
  font-size: 15px;
  color: #505050;
  margin-bottom: 24px;
  line-height: 1.45;
}

/* Form Groups & Inputs */
.auth-form-group {
  margin-bottom: 20px;
}

.auth-input-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.auth-phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #868686;
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-phone-input-wrap:focus-within {
  border-color: #0067b8;
  box-shadow: 0 0 0 2px rgba(0, 103, 184, 0.2);
}

.auth-country-pill {
  padding: 11px 14px;
  background: #f8fafc;
  border-right: 1px solid #d1d5db;
  font-size: 14px;
  font-weight: 600;
  color: #1b1b1b;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.auth-phone-field {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1b1b1b;
  outline: none;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.auth-standard-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #868686;
  border-radius: 4px;
  font-size: 15px;
  color: #1b1b1b;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.auth-standard-input:focus {
  border-color: #0067b8;
  box-shadow: 0 0 0 2px rgba(0, 103, 184, 0.2);
}

/* Primary Button (Microsoft #0067b8 Style) */
.auth-primary-btn {
  width: 100%;
  height: 42px;
  background: #0067b8;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.auth-primary-btn:hover {
  background: #005da6;
}

.auth-primary-btn:disabled {
  background: #c8c8c8;
  color: #767676;
  cursor: not-allowed;
}

/* 6-Digit OTP Boxes */
.auth-otp-row {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin: 18px 0 22px;
}

.auth-otp-box {
  width: 48px;
  height: 52px;
  border: 1px solid #868686;
  border-radius: 6px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #1b1b1b;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fbfcfd;
}

.auth-otp-box:focus {
  border-color: #0067b8;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 103, 184, 0.2);
}

.auth-otp-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 13.5px;
}

/* Links & Switchers */
.auth-switch-text {
  margin-top: 24px;
  font-size: 13.5px;
  color: #1b1b1b;
  text-align: left;
}

.auth-link {
  color: #0067b8;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.auth-link:hover {
  text-decoration: underline;
  color: #004e8c;
}

.auth-discreet-partner-link {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  text-align: left;
  font-size: 12.5px;
  color: #64748b;
}

.auth-discreet-partner-link a {
  color: #0067b8;
  font-weight: 600;
  text-decoration: none;
}

.auth-discreet-partner-link a:hover {
  text-decoration: underline;
}

/* Alerts */
.auth-alert-box {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13.5px;
  margin-bottom: 18px;
  display: none;
  line-height: 1.4;
}

.auth-alert-box.error {
  display: block;
  background: #fdf2f2;
  border-left: 3px solid #d83b01;
  color: #a80000;
}

.auth-alert-box.success {
  display: block;
  background: #f0fdf4;
  border-left: 3px solid #107c41;
  color: #107c41;
}

/* Back Link */
.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  color: #0067b8;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 16px;
  cursor: pointer;
}

.auth-back-link:hover {
  text-decoration: underline;
}

/* Bottom Legal Footer (Microsoft Style) */
.auth-page-footer {
  width: 100%;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  font-size: 12px;
  color: #616161;
}

.auth-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.auth-footer-links a {
  color: #616161;
  text-decoration: none;
}

.auth-footer-links a:hover {
  color: #1b1b1b;
  text-decoration: underline;
}

.auth-footer-note {
  font-size: 11.5px;
  color: #767676;
}

@media (max-width: 480px) {
  body {
    padding: 12px 10px;
    background: #ffffff;
  }
  .auth-main-card {
    box-shadow: none;
    padding: 24px 8px;
    border: none;
  }
}
