.body-fat-calculator-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.body-fat-calculator {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    width: 100%;
    max-width: 650px;
}

.body-fat-calculator h3 {
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.body-fat-form {
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.body-fat-input-group {
    margin-bottom: 0;
    flex: 1 1 calc(50% - 0.5rem);
}

.body-fat-input-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.body-fat-input-group input,
.body-fat-input-group select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.body-fat-input-group input:focus,
.body-fat-input-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
}

.body-fat-btn {
    display: block;
    width: 100%;
    padding: 0.6rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.body-fat-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.body-fat-btn:active {
    transform: translateY(0);
}

.body-fat-result {
    background-color: #fff;
    border-radius: 5px;
    padding: 1.25rem;
    margin-top: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: none;
}

.body-fat-result.show {
    display: block;
}

.body-fat-result-value, .body-fat-category {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.body-fat-result-value span:last-child, .body-fat-category span:last-child {
    font-weight: 700;
}

.body-fat-gauge {
    position: relative;
    margin: 1.5rem 0;
    height: 25px;
}

.body-fat-gauge-scale {
    display: flex;
    width: 100%;
    height: 16px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.body-fat-gauge-section {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 0.7rem;
}

.body-fat-gauge-marker {
    position: absolute;
    width: 8px;
    height: 25px;
    background-color: #333;
    top: -5px;
    left: 0;
    transform: translateX(-50%);
    transition: left 0.3s;
    z-index: 10;
}

.body-fat-gauge-marker:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #333;
}

.body-fat-description {
    margin-top: 1.25rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-size: 0.85rem;
}

/* Vücut Yağ Bilgi Bölümü Stilleri */
.body-fat-info {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 1.5rem;
}

.body-fat-info h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.body-fat-info h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin: 1.25rem 0 0.5rem;
}

.body-fat-info p {
    line-height: 1.5;
    margin-bottom: 0.75rem;
    color: #495057;
}

.body-fat-info ul {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.body-fat-info li {
    margin-bottom: 0.4rem;
    line-height: 1.4;
    color: #495057;
}

.body-fat-info strong {
    color: #212529;
}

.body-fat-info table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.body-fat-info table th,
.body-fat-info table td {
    padding: 0.6rem;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
}

.body-fat-info table th {
    background-color: #e9ecef;
    font-weight: 600;
}

.body-fat-info table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .body-fat-form {
        flex-direction: column;
    }
    
    .body-fat-input-group {
        flex: 1 1 100%;
    }
    
    .body-fat-male-scale,
    .body-fat-female-scale {
        flex-direction: column;
    }
    
    .body-fat-scale-segment {
        padding: 0.3rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .body-fat-calculator {
        padding: 1rem;
    }
    
    .body-fat-scale-essential, 
    .body-fat-scale-athletic, 
    .body-fat-scale-fitness, 
    .body-fat-scale-average, 
    .body-fat-scale-obese {
        font-size: 0.6rem;
    }
    
    .body-fat-info {
        padding: 1rem;
    }
    
    .body-fat-info h3 {
        font-size: 1.3rem;
    }
    
    .body-fat-info h4 {
        font-size: 1.1rem;
    }
    
    .body-fat-info table th,
    .body-fat-info table td {
        padding: 0.4rem;
        font-size: 0.85rem;
    }
} 