﻿/* Add these styles inside your <style> tag */
.bioageform {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the button horizontally */
    position: relative; /* Position relative to make dropdown align correctly */
}

    .bioageform label {
        display: block;
        margin-top: 1rem;
        font-weight: bold;
        color: var(--dark-text-color);
    }

    .bioageform input,
    .bioageform select {
        width: 100%;
        padding: 0.5rem;
        margin-top: 0.5rem;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

/* Responsive adjustments */
@media (max-width: 600px) {
    .bioageform {
        padding: 1rem;
    }
}

/* Fieldset Styles */
.bioageform fieldset {
    border: 1px solid #ccc;
    padding: 1rem;
    margin-top: 2rem;
    border-radius: 8px;
    width: 90%; /* Allow fieldset to fill available space */
}

.bioageform legend {
    font-weight: bold;
    padding: 0 0.5rem;
}

.bioageform textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical; /* Allow users to resize vertically */
}