/* Calorie Calculator – live o8e / a8e parity */

body:has(.calorie-page) {
  background: #f3faff;
}
body:has(.calorie-page) .navbar-pc {
  background: #f3faff !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.calorie-page {
  background: #f3faff;
}
.calorie-page .calorie-hero {
  background: #f3faff !important;
  margin: 0 !important;
  padding-top: 3rem !important;
  padding-bottom: 1.5rem !important;
  overflow: hidden;
  display: flow-root;
}
.calorie-page .calorie-lower {
  background: #fff;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.calories-container {
  background: linear-gradient(180deg, #2d587b, #52a1e1);
  border-radius: 16px;
  padding: 40px 30px;
  color: #fff;
  width: 100%;
  margin: auto;
  font-family: Segoe UI, sans-serif;
  box-shadow: 0 10px 30px #00000040;
}
.calories-container h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.calories-container .form-label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #fff;
  font-size: .95rem;
}
.calories-container .form-control,
.calories-container .form-select {
  background-color: #254f73;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  padding: 10px 15px;
  font-size: .95rem;
  transition: all .2s ease;
}
.calories-container .form-control::placeholder,
.calories-container .form-select::placeholder {
  color: #fff;
}
.calories-container .form-control:focus,
.calories-container .form-select:focus {
  border: 1px solid #fff;
  box-shadow: 0 0 0 2px #fff6;
  background-color: #254f73;
  color: #fff;
}
.calories-container .form-select option {
  background-color: #254f73;
  color: #fff;
}
.calories-container .button-calories-calc {
  background-color: #fff;
  color: #2d587b;
  font-weight: 700;
  padding: 12px 36px !important;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
}
.calories-container .button-calories-calc:hover {
  background-color: #d3e6f7;
  color: #1b3c5a;
}
.calories-container .d-flex.gap-2 {
  gap: 15px;
}

.calories-container .cbc-arrow,
.calorie-page .cbc-arrow {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAICAYAAADwdn+XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACSSURBVHgBjY49DoJAEIV3ErHWaGenxgNYehIvpAcw8RI2JraG0FIQjkDFOVi+IVNQ7ACTfCHh/ewLwS7GeIFNmDn1wDUlfOEF2UR4C0/1psQj5PCGfULfwQN+cPZe0JLKSrLR/5Wtq92ws2StRRYuUmHxSvh8oIQObnCHRkS6sORsyd/WnDyfTBSodhhMIq3n6wGrWItMTdKHUAAAAABJRU5ErkJggg==);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 7px;
  padding-right: 32px;
}

.calories-result-box {
  background-color: #e0f3ff;
  border-radius: 12px;
  padding: 25px 30px;
  color: #0a0a0a;
  font-size: .95rem;
  margin-top: 30px;
  box-shadow: 0 4px 15px #0000001a;
}
.calories-result-box h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0a0a0a;
}
.calories-result-box ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}
.calories-result-box li {
  margin-bottom: 10px;
}
.calories-result-box .calories-danger {
  color: #d32f2f;
  font-weight: 600;
}

.calorie-page .calc-button {
  background-color: #fff;
  color: #2d587b;
  font-weight: 700;
  padding: 12px 36px !important;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  font-family: var(--base-font);
  cursor: pointer;
}
.calorie-page .calc-button:hover {
  background-color: #d3e6f7;
  color: #1b3c5a;
}

.calorie-page .content-heading-text {
  font-family: var(--base-font);
  font-weight: 500;
  font-size: 38px;
  line-height: 48px;
  color: #121212;
  letter-spacing: .2px;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
}
.calorie-page .content-heading-para {
  font-family: var(--base-font);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #6f6f6f;
  margin-bottom: 1rem;
}
.calorie-page .bmi-content-list {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.calorie-page .bmi-content-list li {
  font-family: var(--base-font);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #6f6f6f;
}
.calorie-page .bmr-formulas h5 {
  font-weight: 700;
  color: #121212;
}
.calorie-page .bmr-formulas p {
  font-family: var(--base-font);
  font-size: 18px;
  line-height: 28px;
  color: #121212;
}

.calorie-page .table-other-calculator {
  width: 100%;
  overflow-x: auto;
}
.calorie-page .calc_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--base-font);
  box-shadow: 0 2px 10px #0000001a;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
}
.calorie-page .calc_table thead th {
  background: linear-gradient(180deg, #2d587b, #52a1e1);
  color: #fff;
  text-align: left;
  padding: 12px;
  font-weight: 700;
  border-right: 1px solid #ffffff33;
}
.calorie-page .calc_table thead th:last-child {
  text-align: center;
  border-right: none;
}
.calorie-page .calc_table tbody td {
  padding: 12px;
  border-top: 1px solid #ddd;
  background-color: #fff;
  vertical-align: middle;
}
.calorie-page .calc_table tbody td + td {
  border-left: 1px solid #ddd;
  text-align: center;
}
.calorie-page .calc_table tbody tr:nth-child(2n) td {
  background-color: #f9f9f9;
}
.calorie-page .calc_table tbody tr:hover td {
  background-color: #e6f2ff;
}

@media (max-width: 768px) {
  .calories-container {
    padding: 20px 14px;
  }
  .calorie-page .content-heading-text {
    font-size: 28px;
    line-height: 34px;
  }
  .calorie-page .table-other-calculator {
    width: 100%;
    overflow-x: auto;
  }
}
