* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: #0f172a;
  color: #f8fafc;
  display: flex;
  justify-content: center;
  padding: 20px 16px;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 440px;
}

.back-link {
  display: inline-block;
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
}

header {
  margin-bottom: 20px;
}

h1 {
  font-size: 1.65rem;
  margin-bottom: 4px;
}

.subtitle {
  color: #94a3b8;
  font-size: 0.9rem;
}

.card {
  background: #1e293b;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #334155;
}

.input-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.optional {
  font-weight: 400;
  color: #64748b;
  font-size: 0.8rem;
}

input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 1.1rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  color: #f8fafc;
  outline: none;
}

input[type="number"]:focus {
  border-color: #38bdf8;
}

.month-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.month-btn {
  padding: 11px 0;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #334155;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.month-btn.active {
  background: #38bdf8;
  color: #0f172a;
  border-color: #38bdf8;
}

.results {
  background: #0f172a;
  padding: 16px;
  border-radius: 12px;
  margin-top: 18px;
  margin-bottom: 16px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  color: #94a3b8;
  font-size: 0.92rem;
}

.result-row strong {
  color: #f8fafc;
  font-size: 1.05rem;
}

.result-row.highlight {
  border-bottom: 1px solid #1e293b;
  margin-bottom: 6px;
  padding-bottom: 12px;
}

.result-row.highlight span {
  color: #f8fafc;
  font-weight: 700;
}

.result-row.highlight strong {
  color: #38bdf8;
  font-size: 1.4rem;
}

.reset-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: #94a3b8;
  border: 1px solid #334155;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.info-section {
  margin-top: 24px;
  padding: 18px;
  background: #1e293b;
  border-radius: 14px;
  border: 1px solid #334155;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.55;
}

.info-section h2 {
  font-size: 1.1rem;
  color: #f8fafc;
  margin-bottom: 8px;
}

.info-section p {
  margin-bottom: 10px;
  color: #94a3b8;
}

.info-section ul {
  padding-left: 18px;
  color: #94a3b8;
}

.info-section li {
  margin-bottom: 6px;
}

.promo-footer {
  text-align: center;
  margin-top: 18px;
  color: #64748b;
  font-size: 0.8rem;
}
