/* ==========================================================================
   Milestone 1/3: Staff Sign-In Downtime Advisory Alert
   ========================================================================== */

.auth-downtime-alert {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
}

.auth-downtime-alert[hidden] {
  display: none !important;
}

.auth-downtime-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #b45309;
}

.auth-downtime-summary {
  margin: 0;
  color: #92400e;
  font-size: 0.84rem;
  word-break: break-word;
}

.auth-downtime-warning {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(254, 243, 199, 0.6);
  border-left: 3px solid #f59e0b;
  color: #78350f;
  font-size: 0.82rem;
  line-height: 1.45;
}

.auth-downtime-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.downtime-auto-retry-status {
  animation: fadeIn 0.2s ease-out;
}

@keyframes downtimeSpinner {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.downtime-spinner-icon {
  display: inline-block;
  animation: downtimeSpinner 8s linear infinite;
}

