#ag-overlay .section {
    background-color: rgba(0, 0, 0, 1);
    border-radius: 10px;
}

#ag-overlay .section .container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#ag-overlay .section__content,
#ag-overlay .section__right {
    flex: 1;
    width: 50%;
}

#ag-overlay .section__right {
    display: flex;
    justify-content: center;
    align-items: center;
}

#ag-overlay .ag-overlay-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    #ag-overlay .section .container {
        flex-direction: column;
    }

    #ag-overlay .ag-container {
        padding: 20px !important;
    }

    #ag-overlay .section__content,
    #ag-overlay .section__right {
        width: 100%;
    }

    #ag-overlay .section__content {
        padding-right: 0;
        padding-bottom: 20px;
    }
}


#ag-overlay .section__content,
#ag-overlay .section__content * {
    color: #ffffff;
}

#ag-overlay input,
#ag-overlay select {
    color: black;
}

/* Ensure options have black text and white background */
.age-select option {
    color: black !important;
    background-color: white !important;
}

/* For better contrast on hover (optional) */
.age-select option:hover {
    background-color: #f0f0f0 !important;
    color: black !important;
}


#ag-overlay .ag-submit {
    color: black;
}

#ag-overlay .ag-overlay-img {
    width: 100%;
    height: auto;
}