.calculator-container {
    max-width: 700px;
    margin: 70px auto;
    padding: 30px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e6f0ff;
    overflow-x: hidden;
}

h1 {
    color: #2a5c91;
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    color: #2a5c91;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

.choices__inner {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 2.5rem !important;
}

.choices {
    width: 100% !important;
    max-width: 100% !important;
}

select {
    font-size: 16px;
}

button.btn-primary {
    background-color: #2a5c91;
    color: white;
    padding: 12px 20px;
    margin: 10px 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

    button.btn-primary:hover {
        opacity: 0.9;
    }

.button-group {
    text-align: center;
    margin-top: 20px;
}

#result {
    display: none;
    margin-top: 30px;
    background: #d4dee9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
}

@media (max-width: 768px) {
    .calculator-container {
        padding: 20px;
    }

    select, button.btn-primary, .choices, .choices__inner {
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

        button.btn-primary {
            margin-top: 10px;
        }
}

@media (max-width: 480px) {
    h1 {
        font-size: 22px;
    }

    button {
        font-size: 16px;
        padding: 10px;
    }
}
