.calculator-hero {
  padding-bottom: 85px;
}

.calculator-container {
  margin-top: -50px;
  padding-bottom: 60px;
}

.calculator-card {
  padding: 32px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(30, 60, 114, 0.14);
}

.calculator-card .form-label {
  margin-bottom: 8px;
  color: #1f2937;
  font-weight: 600;
}

.calculator-card .form-control,
.calculator-card .form-select {
  min-height: 50px;
  border: 1px solid #d5dbea;
  border-radius: 10px;
}

.calculator-card .form-control:focus,
.calculator-card .form-select:focus {
  border-color: #2a5298;
  box-shadow: 0 0 0 4px rgba(42, 82, 152, 0.12);
}

.calculator-card .btn-primary {
  min-height: 54px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  font-weight: 700;
}

.calculator-card .btn-primary:hover {
  background: linear-gradient(135deg, #193460, #244985);
}

.results-section {
  margin-top: 30px;
  padding: 30px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(30, 60, 114, 0.1);
}

.result-card {
  display: flex;
  min-height: 115px;
  padding: 22px;
  flex-direction: column;
  justify-content: center;
  background: #f7f9fd;
  border: 1px solid #e1e7f1;
  border-radius: 14px;
}

.result-card span {
  margin-bottom: 7px;
  color: #667085;
  font-size: 0.95rem;
}

.result-card strong {
  color: #1e3c72;
  font-size: 1.7rem;
}

.featured-result {
  color: white;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border: none;
}

.featured-result span,
.featured-result strong {
  color: white;
}

.protein-result {
  min-height: 100px;
  background: #eef8f2;
  border-color: #cce8d6;
}

.protein-result strong {
  color: #198754;
}

.calculator-note {
  margin: 24px 0 0;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 768px) {
  .calculator-hero {
    padding-bottom: 70px;
  }

  .calculator-container {
    margin-top: -40px;
  }

  .calculator-card,
  .results-section {
    padding: 20px;
    border-radius: 14px;
  }

  .calculator-hero .d-flex {
    gap: 15px;
    align-items: flex-start !important;
    flex-direction: column;
  }
}
