:root {
  color-scheme: light dark;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

@keyframes computingShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

body {
  margin: 0;
  padding: 0;
  background: #f4f6f8;
  color: #1f2933;
}

.logo {
  display: block;
  max-width: 220px;
  width: 40%;
  height: auto;
  margin: 0 auto 24px;
}

.subtitle {
  margin: 8px 0 16px;
  font-size: 0.95rem;
  color: #374151;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px;
}

h1 {
  margin-top: 0;
  font-size: 1.75rem;
}

.panel {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.model-meta {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: #4b5563;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px 16px;
  align-items: end;
  margin-bottom: 24px;
}

.time-field label {
  margin-bottom: 6px;
}

.time-grid button {
  height: 44px;
}


form {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

select, button {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #cbd2d9;
  font-size: 1rem;
}

button {
  background: #2563eb;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  border: none;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

button.processing {
  background: linear-gradient(110deg, #6b7280 25%, #f3f4f6 50%, #6b7280 75%);
  background-size: 200% 100%;
  color: #f9fafb;
  cursor: wait;
  box-shadow: none;
  transform: none;
  animation: computingShimmer 1.2s linear infinite;
}

button.processing:hover {
  transform: none;
  box-shadow: none;
}

button.processing:disabled {
  opacity: 1;
}

.alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}


.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-info {
  background: #dbeafe;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.results {
  margin-top: 24px;
}

.map-gallery {
  margin-top: 24px;
  display: grid;
  gap: 24px;
}

.map-item {
  margin: 0;
  text-align: center;
}


.map-item img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.map-item figcaption {
  margin-top: 8px;
  font-weight: 600;
  color: #1f2933;
}

.dataset-info {
  margin-top: 24px;
  padding: 16px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.dataset-info h3 {
  margin: 12px 0 6px;
  font-size: 1rem;
  color: #1f2933;
}

.dataset-info ul {
  margin: 0 0 12px 18px;
  padding: 0;
  color: #374151;
  font-size: 0.95rem;
}

.dataset-info li {
  margin-bottom: 4px;
}

.results table {
  width: 100%;
  border-collapse: collapse;
}

.results th,
.results td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.results th {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #6b7280;
}
