/* Target Heart Rate Calculator Styles - Adapted */
.calcufacil-target_heart_rate_calculator.calcufacil-container {
    max-width: 900px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    font-family: Arial, sans-serif;
}

.calcufacil-target_heart_rate_calculator h3 {
    width: 100%;
    text-align: center;
    color: #dc3545; /* Danger Red for Heart/Health */
    margin-bottom: 20px;
    font-size: 24px;
}

.calcufacil-target_heart_rate_calculator .calcufacil-left,
.calcufacil-target_heart_rate_calculator .calcufacil-right {
    flex: 1;
    min-width: 300px;
}

/* Form Styling */
.calcufacil-target_heart_rate_calculator .calculator-form h2 {
    font-size: 20px;
    color: #dc3545;
    margin-bottom: 15px;
}

.calcufacil-target_heart_rate_calculator .input-group {
    margin-bottom: 18px;
}
.calcufacil-target_heart_rate_calculator .input-group small {
    display: block;
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}


.calcufacil-target_heart_rate_calculator label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.calcufacil-target_heart_rate_calculator input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    background: #f9f9f9;
}

.calcufacil-target_heart_rate_calculator button {
    background-color: #dc3545; /* Danger Red */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.calcufacil-target_heart_rate_calculator button:hover {
    background-color: #c82333; /* Darker Red */
}

.calcufacil-target_heart_rate_calculator .formula-note {
    font-size: 11px;
    color: #666;
    margin-top: 15px;
    text-align: center;
    font-style: italic;
    background: #fef4f5;
    padding: 8px;
    border-radius: 3px;
    line-height: 1.4;
}

/* Results Styling */
.calcufacil-target_heart_rate_calculator .results {
    background: #fdeaea; /* Lighter Red */
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
}

.calcufacil-target_heart_rate_calculator .results-header {
    text-align: center;
    margin-bottom: 15px;
}
.calcufacil-target_heart_rate_calculator .results-header h2 {
     font-size: 20px;
     color: #a51d2a; /* Darker Red */
     margin: 0;
}
.calcufacil-target_heart_rate_calculator .results-summary-info {
    display: flex;
    justify-content: space-around;
    background-color: #f8d7da;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: center;
    flex-wrap: wrap; /* Wrap items if needed */
    gap: 10px;
}
.calcufacil-target_heart_rate_calculator .results-summary-info span {
     color: #721c24;
}
.calcufacil-target_heart_rate_calculator .results-summary-info strong {
    color: #5a141c;
}


/* Results Table Styling */
.calcufacil-target_heart_rate_calculator .zones-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
    background-color: #fff;
     box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.calcufacil-target_heart_rate_calculator .zones-table th,
.calcufacil-target_heart_rate_calculator .zones-table td {
    border: 1px solid #f1b0b7; /* Lighter red border */
    padding: 10px 12px;
    text-align: left;
    vertical-align: middle;
}

.calcufacil-target_heart_rate_calculator .zones-table thead th {
    background-color: #f1b0b7; /* Light Red */
    color: #5a141c; /* Darkest Red */
    font-weight: bold;
    text-align: center;
}
.calcufacil-target_heart_rate_calculator .zones-table tbody td:first-child small {
    display: block;
    font-size: 11px;
    color: #666;
}
.calcufacil-target_heart_rate_calculator .zones-table .bpm-range {
     font-weight: bold;
     font-size: 1.1em;
     text-align: center;
     color: #c82333; /* Darker Red */
}


.calcufacil-target_heart_rate_calculator .note {
    font-size: 12px;
    color: #555;
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    line-height: 1.4;
}

.calcufacil-target_heart_rate_calculator .errors {
    color: #721c24; background-color: #f8d7da; border: 1px solid #f5c6cb;
    padding: 10px 15px; border-radius: 4px; margin-top: 15px;
}
.calcufacil-target_heart_rate_calculator .errors ul { list-style: none; padding: 0; margin: 0; }
.calcufacil-target_heart_rate_calculator .errors li { margin-bottom: 5px; }
.calcufacil-target_heart_rate_calculator .errors li:last-child { margin-bottom: 0; }