/* BlixoAir - Clean Customer Auth & Discreet Corporate Desk */
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.auth-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
}

.auth-modal-backdrop.active .auth-card {
  transform: translateY(0) scale(1);
}

.auth-header {
  padding: 22px 24px 16px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-brand-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.auth-brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.auth-brand-sub {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.auth-close-btn {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  font-size: 16px;
  transition: all 0.2s;
}

.auth-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.auth-body {
  padding: 20px 24px 24px;
}

/* Customer Tabs (Sign in vs Create Account) */
.auth-sub-toggle {
  display: flex;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 20px;
  gap: 24px;
}

.sub-toggle-btn {
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.sub-toggle-btn.active {
  color: #0284c7;
}

.sub-toggle-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0284c7;
  border-radius: 2px;
}

/* Forms */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.auth-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
}

.auth-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.auth-input:focus {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.auth-btn-submit {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-btn-submit:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
}

.auth-btn-partner-submit {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.auth-btn-partner-submit:hover {
  background: linear-gradient(135deg, #115e59 0%, #134e4a 100%);
}

/* Discreet Partner Link at bottom */
.auth-discreet-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #94a3b8;
}

.auth-discreet-footer a {
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.auth-discreet-footer a:hover {
  color: #0284c7;
  text-decoration: underline;
}

/* Partner Desk Alert Box */
.partner-notice-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
}

.partner-back-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  padding: 0;
}

.partner-back-btn:hover {
  color: #0f172a;
}

/* Alert Message Boxes */
.auth-msg-box {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}

.auth-msg-box.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.auth-msg-box.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

/* Header User Profile Dropdown Pill */
.blixo-user-badge-wrap {
  position: relative;
  display: inline-block;
}

.blixo-user-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-customer {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.badge-customer:hover {
  background: rgba(255, 255, 255, 0.25);
}

.badge-partner {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-partner:hover {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
}

.partner-live-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 6px #4ade80;
  display: inline-block;
}

.blixo-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
  padding: 8px;
  display: none;
  z-index: 10000;
  color: #1e293b;
  font-family: 'Inter', system-ui, sans-serif;
}

.blixo-user-menu.open {
  display: block;
}

.user-menu-header {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
}

.user-menu-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.user-menu-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.user-menu-wallet {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #166534;
  font-weight: 700;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}

.user-menu-item:hover {
  background: #f8fafc;
  color: #0284c7;
}

.user-menu-item.danger:hover {
  background: #fef2f2;
  color: #ef4444;
}

/* My Trips Modal */
.trips-modal-card {
  max-width: 560px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.trips-list-wrap {
  overflow-y: auto;
  max-height: 60vh;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trip-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trip-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trip-pnr {
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 0.5px;
}

.trip-status {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}


/* Phone & OTP Inputs */
.phone-field-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
  transition: all 0.2s;
}

.phone-field-wrap:focus-within {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.phone-prefix {
  padding: 11px 12px;
  background: #f1f5f9;
  border-right: 1.5px solid #e2e8f0;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 5px;
  user-select: none;
}

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

/* 6-Box OTP Display */
.otp-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.otp-target-info {
  text-align: center;
  font-size: 13px;
  color: #475569;
}

.otp-target-phone {
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.otp-boxes-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.otp-box {
  width: 48px;
  height: 52px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.otp-box:focus {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  transform: translateY(-1px);
}

.otp-meta-actions {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 12.5px;
  margin-top: 4px;
}

.btn-link-action {
  background: none;
  border: none;
  color: #0284c7;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.btn-link-action:hover {
  text-decoration: underline;
}

.btn-link-action:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: none;
}

.auth-method-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 10px;
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
}

.auth-method-divider::before,
.auth-method-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
