/* Estilos generales para el modal */
.search-modal-overlay,
.processing-modal-overlay {
    display: flex;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.search-modal-overlay{
    justify-content: right;
}

.processing-modal-overlay {
    justify-content: center;
}

.search-hidden,
.processing-hidden {
    display: none;
}

.search-modal-container,
.processing-modal-container {
    width: 100%;
    /*max-width: 600px;*/
    max-width: 500px;
    padding: 16px;
}

.search-modal-content,
.processing-modal-content {
    --bg-opacity: 1;
    /*background-color: white;*/
    background-color: rgb(23 23 23 / var(--bg-opacity));
    border-radius: 8px;
    padding: 24px;
    /*box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);/
    /*border: 2px solid #eba7c7;*/
    box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.3);
}

.search-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-modal-select,
.search-modal-input,
.search-modal-button {
    padding: 12px;
    /*border: 1px solid #ccc;*/
    border-radius: 6px;
    width: 100%;
    font-size: 1rem;
    outline: none;
}

.search-modal-button {
    color: white;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

/* Estilos para pantallas grandes */
@media (min-width: 768px) {
    .search-modal-container,
    .processing-modal-container {
        /*max-width: 800px;*/
        /*max-width: 600px;*/
        max-width: 500px;
        padding: 32px;
    }

    .search-modal-form {
        flex-direction: row;
        gap: 12px;
    }

    .search-modal-select,
    .search-modal-input,
    .search-modal-button {
        /*width: auto;*/
        width: 100%;
        flex: 1;
    }

    .search-modal-button {
        flex-shrink: 0;
        /*width: auto;*/
        width: 100%;
        padding: 12px 24px;
    }
}
