/* Estilos para la búsqueda de procedimientos */
.procedure-search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.procedure-input {
    flex-grow: 1;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
}

/* Estilos para la tabla de procedimientos seleccionados */
.selected-procedures-container {
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 15px;
    background-color: #f8f9fa;
}

.selected-procedures-container h5 {
    margin-bottom: 15px;
    color: #495057;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quantity-value {
    min-width: 20px;
    margin: 0 0px;
    text-align: center;
    font-weight: bold;
}

/* Estilos para el popup de procedimientos */
.procedure-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.procedure-popup {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.procedure-popup h4 {
    margin-bottom: 15px;
    color: #495057;
}

.search-container {
    margin-bottom: 15px;
}

.procedure-list-container {
    overflow-y: auto;
    max-height: 50vh;
    margin-bottom: 15px;
}

.popup-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}