:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #dbe3ee;
  --accent: #2563eb;
  --success: #166534;
  --error: #b91c1c;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #C75D28;
}
.banner img {
  width: 100%;
    max-width: 600px;   /* Prevents image from becoming enormous */
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.hero {
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #eaf2ff, #f8fbff);
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.acknowledgements {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.acknowledgements h2 {
    color: var(--text);
}

label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

input[type="file"],
input[type="number"] {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-size: 0.95rem;
}

button {
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  filter: brightness(0.95);
}

.actions {
  text-align: center;
}

.status {
  margin-top: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.status.success {
  color: var(--success);
}

.status.error {
  color: var(--error);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
}

.metric-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: #fbfdff;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.metric-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  word-break: break-word;
}

.plot {
  width: 100%;
  min-height: 360px;
  margin-bottom: 1.25rem;
}
