.age-calculator-wrapper {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    background: #fff;
}

/* Headings */
.age-calculator-wrapper h2 {
    text-align: center;
    color: #333;
    margin-bottom: 5px;
}
.age-calculator-wrapper p {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}
.age-calculator-wrapper h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #0073e6;
    font-size: 18px;
}

/* Fields with alignment */
.age-field {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.age-field label {
    width: 140px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    text-align: left;
    white-space: nowrap;
    display: inline-block;
}
.age-field input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

/* Buttons */
.age-btn {
    width: 100%;
    padding: 12px;
    background: #0073e6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}
.age-btn:nth-of-type(2) {
    background: #222222;
}
.age-btn:hover {
    background: #005bb5;
}

/* Results */
.age-result {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #222;
    line-height: 1.5;
}

/* Responsive layout */
@media (max-width: 480px) {
    .age-field {
        flex-direction: column;
        align-items: flex-start;
    }
    .age-field label {
        width: auto;
        margin-bottom: 5px;
    }
    .age-field input {
        width: 100%;
    }
}
