/* Heart Rate Zone Calculator Specific Styles */

/* Radio group for formula selection */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #003049;
}

/* Optional label styling */
.optional-label {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    margin-left: 4px;
}

/* Form hint text */
.form-hint {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* Max HR display in results header */
.max-hr-display {
    font-size: 16px;
    color: #003049;
    margin-top: 8px;
    font-weight: 500;
}

#max-hr-value {
    font-weight: 700;
}

/* Zone cards container */
.zone-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual zone card */
.zone-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    border-left: 4px solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Zone color coding */
.zone-1 {
    border-left-color: #4CAF50;
    background: linear-gradient(to right, rgba(76, 175, 80, 0.08), transparent);
}

.zone-2 {
    border-left-color: #8BC34A;
    background: linear-gradient(to right, rgba(139, 195, 74, 0.08), transparent);
}

.zone-3 {
    border-left-color: #FFC107;
    background: linear-gradient(to right, rgba(255, 193, 7, 0.08), transparent);
}

.zone-4 {
    border-left-color: #FF9800;
    background: linear-gradient(to right, rgba(255, 152, 0, 0.08), transparent);
}

.zone-5 {
    border-left-color: #F44336;
    background: linear-gradient(to right, rgba(244, 67, 54, 0.08), transparent);
}

/* Zone card header */
.zone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.zone-number {
    font-weight: 700;
    font-size: 14px;
    color: #003049;
}

.zone-name {
    font-weight: 600;
    font-size: 16px;
    color: #003049;
}

/* Zone heart rate range */
.zone-range {
    font-size: 22px;
    font-weight: 700;
    color: #003049;
    margin-bottom: 4px;
}

/* Zone percentage */
.zone-percent {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Zone description */
.zone-description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (min-width: 600px) {
    .radio-group {
        flex-direction: row;
        gap: 24px;
    }

    .zone-cards {
        gap: 16px;
    }

    .zone-card {
        padding: 20px;
    }

    .zone-header {
        gap: 12px;
    }

    .zone-number {
        font-size: 15px;
    }

    .zone-name {
        font-size: 18px;
    }

    .zone-range {
        font-size: 26px;
    }
}

/* Large screens - two column layout for zones */
@media (min-width: 768px) {
    .zone-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Make zone 5 span full width at bottom */
    .zone-card.zone-5 {
        grid-column: 1 / -1;
    }
}
