﻿.bmi-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
   /* max-width: 400px;*/
}

    .bmi-container h2 {
        text-align: center;
        font-size: 24px;
        color: #333;
        margin-bottom: 20px;
    }

    .bmi-container label {
        font-size: 16px;
        color: #555;
        margin-bottom: 8px;
        display: block;
    }

    .bmi-container input, .bmi-container select, .bmi-container button {
        width: 100%;
        padding: 12px;
        margin-bottom: 15px;
        border: 2px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
        box-sizing: border-box;
    }

        .bmi-container input:focus, .bmi-container select:focus, .bmi-container button:focus {
            outline: none;
            border-color: #4CAF50;
        }

    .bmi-container button {
        background-color: #4CAF50;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 18px;
    }

        .bmi-container button:hover {
            background-color: #45a049;
        }

.bmi-gender {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

    .bmi-gender label {
        flex: 1;
        text-align: center;
        background: #f0f0f0;
        padding: 12px;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s;
    }

    .bmi-gender input[type="radio"] {
        display: none;
    }

        /* Erkek için mavi, Kadın için pembe */
        .bmi-gender input[type="radio"]:checked + label {
            color: white;
        }

    .bmi-gender #male:checked + label {
        background-color: #2196F3; /* Mavi */
    }

    .bmi-gender #female:checked + label {
        background-color: #E91E63; /* Pembe */
    }

.bmi-bar-container {
    margin-top: 30px;
    position: relative;
}

.bmi-bar {
    display: flex;
    height: 30px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    overflow: hidden;
}

    .bmi-bar div {
        flex: 1;
        line-height: 30px;
    }

.bmi-underweight {
    background-color: #2196F3;
}

.bmi-normal {
    background-color: #4CAF50;
}

.bmi-overweight {
    background-color: #FF9800;
}

.bmi-obese {
    background-color: #F44336;
}

.bmi-arrow-indicator {
    position: absolute;
    font-size: 24px; /* Ok simgesini ince yaptık */
    font-weight: bold;
    color: black; /* Ok rengini siyah yapalım */
    display: none;
    transition: left 0.3s ease;
    top: 30px; /* Ok simgesini biraz daha yukarı aldık */
    left: 70%; /* Ok simgesini biraz daha sağa aldık */
    transform: translateX(-70%); /* Ok simgesini yatayda tam ortalayalım */
}

.bmi-result {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 80px; /* Sonuç ile ok arasına daha fazla boşluk bırakıldı */
}

.bmi-category {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.bmi-underweight-category {
    color: #2196F3;
}

.bmi-normal-category {
    color: #4CAF50;
}

.bmi-overweight-category {
    color: #FF9800;
}

.bmi-obese-category {
    color: #F44336;
}
