body {
  font-family: "Bricolage Grotesque", sans-serif;
  font-style: normal;
  line-height: 1.6;
  background-color: #f0f0f0;
}

.calc-page {
  width: 80%;
  max-width: 700px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  margin-bottom: 15px;
}

p {
  color: #666;
  margin-bottom: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px 15px;
  align-items: end;
  margin-bottom: 20px;
}

.field,
.result-box {
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  gap: 6px;
}

label {
  font-size: 14px;
  color: #333;
  margin: 0;
}

input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Bricolage Grotesque", sans-serif;
  box-sizing: border-box;
}

input[type="submit"],
button {
  min-height: 42px;
  background: #223577;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  font-family: "Bricolage Grotesque", sans-serif;
}

input[type="submit"]:hover {
  background-color: #40569c;
}

.alert {
  background: #f0f3fb;
  border-left: 4px solid #223577;
  padding: 8px;
  border-radius: 4px;
  color: #333;
  margin-bottom: 15px;
}

a {
  text-decoration: none;
}

a:hover {
  color: #40569c;
}
