.aa-health-calculator {
    max-width: 400px;
    margin: 1em auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.aa-health-calculator label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: #333;
}

.aa-health-calculator input[type="number"],
.aa-health-calculator select {
    width: 100%;
    padding: 12px 40px 12px 14px;
    margin-bottom: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background-color: #fafafa;
    appearance: none;
    cursor: pointer;
    font-family: inherit;
}

/* Custom select arrow using SVG background */
.aa-health-calculator select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 1L7 7L13 1' stroke='%230073aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 10px;
}

.aa-health-calculator input[type="number"]:focus,
.aa-health-calculator select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 8px rgba(0, 115, 170, 0.3);
    outline: none;
    background-color: #fff;
}

.aa-health-calculator button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.aa-health-calculator button:hover,
.aa-health-calculator button:focus {
    background-color: #005177;
    box-shadow: 0 0 8px rgba(0, 81, 119, 0.6);
    outline: none;
}


/* Result */

.aa-health-result {
    background-color: #e8f4f8;
    border: 1px solid #a7d0e8;
    border-radius: 8px;
    padding: 20px 25px;
    color: #134e6f;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 400px;
    box-shadow: 0 2px 8px rgba(19, 78, 111, 0.15);
    margin-top: 1rem;
}

.aa-health-result p {
    margin: 0.6rem 0;
    font-size: 1.1rem; /* slightly bigger for readability */
}

.bmi-category {
    font-weight: 600;
    color: #1c6e8c;
    font-size: 1.05rem;
}

.ideal-weight {
    font-style: italic;
    color: #0e4d6a;
    font-size: 1rem;
}

.health-tip {
    font-style: italic;
    color: #0a3a51;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.aa-health-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.aa-health-actions a {
    background-color: #137aaf;
    color: #fff;
    padding: 10px 16px; /* slightly bigger clickable area */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.25s ease;
    min-width: 80px;
    text-align: center;
}

.aa-health-actions a:hover,
.aa-health-actions a:focus {
    background-color: #0f6791;
    outline: none;
}

/* Responsive */
@media (max-width: 480px) {
    .aa-health-calculator {
        padding: 15px;
    }

    .aa-health-actions {
        flex-direction: column;
    }
}
