form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .vertical_stack_input {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

    /* .shorter-input-wrapper {
        flex: 1; /* Take 1 part of the available space
    } */

    .longer-input-wrapper {
        flex: auto;
    }

    .zip-input {
        width: calc(5ch + 1.5em); /* Adjust the width to fit 5 characters */
        flex: none; /* Prevent it from growing */
        text-align: center; /* Keep the text centered */
    }
    .year-input {
        width: calc(4ch + 1.5em); /* Adjust the width to fit 5 characters */
        flex: none; /* Prevent it from growing */
        text-align: center; /* Keep the text centered */
    }

    div#birthday {
        display: flex;
        flex-direction: column;
    }

label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

input, select {
    width: 100%; /* Ensure inputs fill their parent */
    box-sizing: border-box; /* Include padding and border in the width calculation */
    padding: 0.75em;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #232323ff;
    color: var(--text);
    font-size: 16px;
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

    .select-wrapper select {
        width: 100%;
        appearance: none;      /* Safari, Chrome */
        -webkit-appearance: none;
        -moz-appearance: none; /* Firefox */
    }

    .select-wrapper .icon {
    position: absolute;
    right: 10px;
    /* top: 50%; */
    /* transform: translateY(-50%); */
    color: var(--text);
    pointer-events: none;
    }



input:focus, select:focus {
    outline: 2px solid var(--accent1);
}

.checkboxes {
    all: unset;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

    .checkboxes input[type="checkbox"] {
        margin-right: 0.5rem;
        width: 1.2em;
        height: 1.2em;
        accent-color: var(--accent1);
        cursor: pointer;
    }

    .checkboxes label {
        font-size: 0.9rem;
        cursor: pointer;
    }

    a {
        color: var(--accent1);
        text-decoration: none;
    }

button {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: var(--accent2);
    color: var(--text);
    border: none;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: var(--accent1);
}

