body {
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    display: flex;
    justify-content: center;
    padding: 40px 0;   /* spacing from top */
    min-height: 100vh;
    overflow-y: auto;  /* enables scrolling */
}


.container {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
    width: 400px;
    text-align: center;
}

h1 {
    font-size: 20px;
    margin: 0;
    color: #555;
}

h2 {
    margin: 10px 0 20px 0;
    font-size: 24px;
    font-weight: bold;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin: 12px 0 5px;
    font-weight: 500;
    text-align: left;
}

input[type="text"], input[type="date"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    outline: none;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.button-group label {
    background: #f4f4f4;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: 0.2s;
}

.button-group label:hover {
    background: #e0e0e0;
}

button {
    background: black;
    color: white;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #333;
}
.age-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

.age-value {
    font-size: 14px;
    margin-top: 5px;
    color: #333;
}

textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 8px;
    outline: none;
    resize: none;
}

