.form-control {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    box-sizing: border-box;
}


.form-check-input {
    margin-right: 10px;
}

.rsvp_form form {
    width: 100%;
    padding: 20px;
    background-color: var(--color-light);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    align-items: left;
}

.top_level_label {
    display: block;
    width: 100px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: bold;
    color: var(--color-dark);
    flex-shrink: 0;
}


.submit-button{
    margin-top: 20px;
    background-color: var(--color-dark);
    color: var(--color-lightest);
    border: none;
    padding: 12px 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.rsvp_form button:hover {
    background-color: var(--color-muted);
}

.form-group {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    padding: 5px 0px;
    width: 100%;
}

.form-group.attending {
    display: flex;
    width: 100%;
    justify-content: left;
}

.attending_options {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 5px 0px;
}

.attending_options .radio-group {
    display: flex;
    flex-direction: column;
}

.attending_options .radio-option {
    display: flex;
    align-items: center;
    margin-right: 10px;
}
.attending_options .radio-option label {
    width:100%;
}

.rsvp_form{
    width: 96%;
    justify-content: center;
    align-items: center;
    display: flex;
}


#rsvp-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    width: 600px;
    height: auto;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 50px;
    padding-left: 60px;
    padding-right: 60px;
    font-family: 'Cormorant Garamond', serif;
    color: var(--color-dark);
    font-weight: bold;
}

.rsvp_form_header_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 300px;
    height: auto;
    text-align: center;
    margin: 30px 0px;
}

.rsvp_form_header_text {
    font-size: 36px;
    line-height: 36px;
    font-family: 'Birthstone', serif;
    font-weight: normal;
    color: var(--color-dark);
}




#attendee-section{
    width: 100%;
}

.attendee-headers {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    font-weight: bold;
}


.attendee-row{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px 0px;
}


.attendee_name_input, .attendee_name_label{
    width: 200px;
    margin: 0px 10px;
}

.attendee_age_input, .attendee_age_label{
    width: 100px;
    margin: 0px 10px;
    
}

.attendee_age_input{
    -webkit-appearance: none; /* Removes default Chrome and Safari styling */
    -moz-appearance: none;    /* Removes default Firefox styling */
    appearance: none;        /* Removes default styling */
    background-image: url(../images/down_arrow.png);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 9px 6px;

}


.boat_options, .attendee_boat_label{
    width: 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
    flex-wrap: wrap;
}

.remove-attendee-btn{
    font-size: 12px;
    padding: 5px 10px;
    background-color: var(--color-dark);
    color: var(--color-lightest);
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.remove-header{
    width: 28px;
}

#add-attendee-btn{
    font-size: 16px;
    line-height: 16px;
    padding: 6px 50px;
    background-color: var(--color-dark);
    color: var(--color-lightest);
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.add_attendee_button_container{
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    text-align: center;
}


    
/* Make sure the form is responsive */
@media (max-width: 768px) {
    .rsvp_form_header_text{
        font-size: 30px;
        line-height: 30px;
    }
    
    .form-control {
        font-size: 14px;
        line-height: 14px;
    }


    #rsvp-form {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 50px;
        font-size: 14px;
        line-height: 14px;

    }
    .attendee_name_input, .attendee_name_label{
        width: 130px;
        margin: 0px 5px;
    }
    
    .attendee_age_input, .attendee_age_label{
        width: 80px;
        margin: 0px;
        margin-left: 5px;
    }
    
    .boat_options, .attendee_boat_label{
        width: 100px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0px 5px;
        flex-wrap: wrap;
    }
    
    .remove-attendee-btn{
        font-size: 8px;
        padding: 2px 4px;
        background-color: var(--color-dark);
        color: var(--color-lightest);
        border: none;
        cursor: pointer;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    
    .remove-header{
        width: 28px;
    }
}