:root {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.hero-panel {
  background: radial-gradient(circle at 82% 18%, rgba(160, 223, 169, 0.23), transparent 30%),
              radial-gradient(circle at 7% 70%, rgba(166, 221, 158, 0.12), transparent 34%),
              linear-gradient(145deg, #0e7963 0%, #075b4a 49%, #064637 100%);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 0.75px, transparent 0.75px);
  background-size: 23px 23px;
  opacity: 0.11;
  pointer-events: none;
}

.field {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.field:focus-within {
  border-color: #118770;
  box-shadow: 0 0 0 4px rgba(17, 135, 112, 0.10);
  background-color: #ffffff;
}

.field:focus-within .field-icon {
  color: #0b8067;
}

.field.is-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10) !important;
}

.card-float {
  box-shadow: 0 18px 45px rgba(3, 48, 38, 0.16);
}

.primary-button {
  box-shadow: 0 13px 27px rgba(7, 94, 76, 0.18);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #064d3e;
  box-shadow: 0 16px 28px rgba(7, 94, 76, 0.25);
}

.primary-button:active:not(:disabled) {
  transform: translateY(0);
}

.primary-button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.focus-visible:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(17, 135, 112, 0.32);
  outline-offset: 3px;
}

.logo-mark {
  color: #087a63;
}

.soft-line {
  background: linear-gradient(90deg, transparent, #dce5df, transparent);
  height: 1px;
}

@keyframes comeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

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

.enter {
  animation: comeIn 0.6s ease-out both;
}

.float-one {
  animation: float 5.3s ease-in-out infinite;
}

.float-two {
  animation: float 6s ease-in-out -1.3s infinite;
}

.spin-anim {
  animation: spin 0.8s linear infinite;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid #d7e9df;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(7, 94, 76, 0.15);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #19322d;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-notice.toast-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.toast-notice.toast-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

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

@media (max-width: 1023px) {
  .hero-panel {
    min-height: 300px;
  }
  .toast-notice {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }
}
