/* age calculator */

.age-calc {
    max-width: 640px;
    margin: 0 auto 20px;
    padding: 16px;
    border: 1px solid #d9dee5;
    border-radius: 10px;
    background: #fff;
}

.age-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.age-inputs label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 16px;
    font-weight: bold;
}

.age-inputs .form-control {
    width: 200px;
    height: 44px;
    font-size: 18px;
}

.age-main {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 18px 0 12px;
    direction: inherit;
}

.age-box {
    min-width: 96px;
    padding: 10px 8px;
    border-radius: 10px;
    background: #eef6ee;
    text-align: center;
}

.age-box b {
    display: block;
    font-size: 32px;
    line-height: 1.2;
    color: #1b6b2f;
}

.age-box span {
    font-size: 15px;
}

.age-details {
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    font-size: 16px;
}

.age-details li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-top: 1px solid #eef0f3;
}

.age-question {
    margin: 18px 0 6px;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 480px) {
    .age-inputs .form-control {
        width: 100%;
    }

    .age-inputs label {
        width: 100%;
    }

    .age-box {
        min-width: 80px;
    }
}
