@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;700&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(93, 217, 216, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(30, 111, 226, 0.12), transparent 26%),
    linear-gradient(145deg, #081425 0%, #0d182b 45%, #040e1f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.2;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-panel {
  background: rgba(42, 53, 72, 0.58);
  backdrop-filter: blur(24px);
}

.surface-panel {
  background: linear-gradient(180deg, rgba(21, 32, 49, 0.96) 0%, rgba(17, 28, 45, 0.96) 100%);
}

.tonal-carving {
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.045);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  box-shadow: 0 0 0 1px rgba(255, 180, 171, 0.65);
}

.toast-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  max-width: 360px;
  flex-direction: column;
  gap: 10px;
}

.toast {
  transform: translateY(16px);
  opacity: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 28, 45, 0.92);
  padding: 14px 16px;
  color: #d8e3fb;
  box-shadow: 0 18px 45px rgba(4, 14, 31, 0.42);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-color: rgba(93, 217, 216, 0.32);
}

.toast-error {
  border-color: rgba(255, 180, 171, 0.32);
}

.wave-bar {
  transform-origin: bottom;
}

.task-card.is-active {
  background: rgba(47, 58, 76, 0.9);
}

.table-row-active {
  background: rgba(93, 217, 216, 0.08);
}

.scrollbar-thin::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background: rgba(135, 147, 146, 0.35);
  border-radius: 999px;
}

.fade-stagger > * {
  opacity: 0;
  animation: floatup 0.7s ease forwards;
}

.fade-stagger > *:nth-child(1) { animation-delay: 0.02s; }
.fade-stagger > *:nth-child(2) { animation-delay: 0.08s; }
.fade-stagger > *:nth-child(3) { animation-delay: 0.14s; }
.fade-stagger > *:nth-child(4) { animation-delay: 0.2s; }
.fade-stagger > *:nth-child(5) { animation-delay: 0.26s; }
.fade-stagger > *:nth-child(6) { animation-delay: 0.32s; }
@keyframes floatup {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill.success {
  background: rgba(93, 217, 216, 0.12);
  color: #5dd9d8;
}

.status-pill.warning {
  background: rgba(173, 198, 255, 0.12);
  color: #adc6ff;
}

.status-pill.error {
  background: rgba(255, 180, 171, 0.12);
  color: #ffb4ab;
}

.status-pill.muted {
  background: rgba(182, 200, 223, 0.1);
  color: #b6c8df;
}

.soft-ring {
  box-shadow: 0 0 0 1px rgba(62, 73, 73, 0.2), 0 18px 50px rgba(4, 14, 31, 0.25);
}

.cover-chip {
  position: relative;
  overflow: hidden;
}

.cover-chip::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(16px);
}

@media (max-width: 768px) {
  .toast-stack {
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

