* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  --region-image: none;
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 0.65), rgba(2, 6, 23, 0.78)),
    var(--region-image) center / cover no-repeat fixed,
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.16), transparent 34rem),
    linear-gradient(135deg, #111827 0%, #18212f 52%, #211b2f 100%);
  color: #f8fafc;
  font-family: Arial, sans-serif;
  padding: 24px;
  transition: background 320ms ease;
}

.hero {
  margin-bottom: 24px;
}

.eyebrow,
.label,
.stat-label {
  margin: 0;
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

h2 {
  margin: 0;
  font-size: 1.35rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(167, 243, 208, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: #d1fae5;
  font-weight: 700;
}

.profile-status {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 8px auto 14px;
  font-size: 0.78rem;
}

.alert-message {
  display: none;
  width: fit-content;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 11px 14px;
  border: 1px solid rgba(251, 146, 60, 0.45);
  border-radius: 8px;
  background: rgba(127, 29, 29, 0.62);
  box-shadow: 0 14px 34px rgba(251, 146, 60, 0.18);
  color: #ffedd5;
  font-weight: 800;
}

.alert-message.is-visible {
  display: block;
  animation: alert-pop 220ms ease-out;
}

@keyframes alert-pop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-container {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display: grid;
  gap: 10px;

  width: min(320px, calc(100vw - 36px));
}

.toast {
  padding: 12px 14px;

  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);

  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;

  font-size: 0.86rem;
  font-weight: 700;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

  animation: toastIn 160ms ease;
}

.toast.is-warning {
  border-color: rgba(251, 191, 36, 0.45);
}

.toast.is-error {
  border-color: rgba(244, 63, 94, 0.5);
}

.toast.is-success {
  border-color: rgba(52, 211, 153, 0.5);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}