:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

html {
  background: #f8f5ed;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.safe-bottom {
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
}

.hide-scrollbar {
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.page-enter {
  animation: page-enter 180ms ease-out;
}

.modal-enter {
  animation: modal-enter 180ms ease-out;
}

.field {
  width: 100%;
  border: 1px solid #e2ded3;
  border-radius: 0.9rem;
  background: #fff;
  padding: 0.78rem 0.9rem;
  color: #243029;
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.field:focus {
  border-color: #1f3d2b;
  box-shadow: 0 0 0 3px rgba(31, 61, 43, 0.12);
}

.field::placeholder {
  color: #a39e94;
}

.label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #59645d;
}

.status-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  body {
    background:
      radial-gradient(circle at 15% 10%, rgba(220, 232, 218, 0.8), transparent 30%),
      #f8f5ed;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
