/* ===========================================
BMR Calculator - Tool Specific Styles
=========================================== */

/* Tool Layout */
.bmr-box {
 max-width: 900px;
 margin: 0 auto;
}

/* Controls Layout */
.bmr-controls {
 display: flex;
 gap: 30px;
 flex-wrap: wrap;
 align-items: stretch;
}

.bmr-section {
 flex: 1 1 45%;
 padding: 25px;
 border-radius: 12px;
 background: #f0fdf4; /* Light Green Background */
 border: 1px solid #d1fae5;
}
.calculation-settings {
    /* Slightly different color for contrast */
    background: #eef4ff; 
    border-color: #bfdbfe;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bmr-section-title {
 font-size: 1.1rem;
 font-weight: 700;
 color: #065f46; /* Dark Green Title */
 margin-bottom: 20px;
 padding-bottom: 8px;
 border-bottom: 2px solid #a7f3d0;
}
.calculation-settings .bmr-section-title {
    color: #1e40af; /* Dark Blue Title */
    border-bottom-color: #93c5fd;
}

/* Inputs */
.bmr-input-group {
 margin-bottom: 15px;
 display: flex;
 flex-direction: column;
}

.bmr-label {
 font-size: 0.95rem;
 font-weight: 600;
 color: #1f2937;
 margin-bottom: 6px;
}

.bmr-input, .bmr-select {
 padding: 10px;
 border: 1px solid #93c5fd;
 border-radius: 6px;
 font-size: 1.1rem;
 color: #1f2937;
 width: 100%;
 background-color: white;
}
.bmr-help-text {
 font-size: 0.8rem;
 color: #4b5563;
 margin-top: 5px;
}

/* Calculate Button */
.bmr-btn-calc {
 width: 100%;
 padding: 15px 20px;
 font-size: 1.2rem;
 font-weight: 700;
 border: none;
 border-radius: 8px;
 cursor: pointer;
 background: #10b981; /* Primary Teal/Green Button */
 color: white;
 transition: background 0.2s;
 margin-top: 20px;
}
.bmr-btn-calc:hover {
 background: #059669;
}

/* --- Results Section --- */

.bmr-results-section {
 margin-top: 30px;
 text-align: center;
}

.bmr-result-box {
 background: #ffffff;
 padding: 30px;
 border-radius: 10px;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 border: 2px solid #10b981;
}

.bmr-card-title {
 font-size: 1.1rem;
 text-transform: uppercase;
 color: #065f46;
 margin-bottom: 10px;
 font-weight: 700;
}

/* Main BMR Display */
.bmr-value-main {
 font-size: 4rem;
 font-weight: 800;
 color: #10b981;
 line-height: 1;
 margin-bottom: 5px;
}
.bmr-unit {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 25px;
}

/* Breakdown Display */
.bmr-breakdown {
 display: flex;
 justify-content: center;
 gap: 25px;
 flex-wrap: wrap;
 padding-top: 20px;
 border-top: 1px dashed #d1fae5;
}

.bmr-breakdown-item {
 text-align: center;
 flex: 1 1 200px;
 padding: 15px;
    border-radius: 8px;
    background: #f0fdf4;
}

.bmr-breakdown-item.tdee-result {
    background: #d1fae5;
}

.bmr-breakdown-number {
 font-size: 2rem;
 font-weight: 700;
 color: #059669;
 line-height: 1.2;
}

.bmr-breakdown-item.tdee-result .bmr-breakdown-number {
    color: #047857;
}

.bmr-breakdown-unit {
 font-size: 0.9rem;
 color: #4b5563;
 text-transform: uppercase;
 margin-bottom: 5px;
}
.bmr-note {
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 5px;
}

/* Responsive Styling */
@media (max-width: 768px) {
 .bmr-controls {
  flex-direction: column;
  gap: 15px;
 }
 .bmr-section {
  flex-basis: 100%;
 }
 .bmr-value-main {
  font-size: 3rem;
 }
 .bmr-breakdown {
  flex-direction: column;
 }
}