/* Estilos para el Modal de Ventas */
.modal-backdrop-flotante {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.modal-ventana-blanca {
    background: #ffffff;
    color: #111827;
    padding: 24px;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin: auto;
}

.modal-btn-cerrar {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #6b7280;
    padding: 4px;
}

.modal-btn-nav {
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #f3f4f6;
    color: #1f2937;
    font-family: inherit;
    font-size: 14px;
}
.modal-btn-nav:hover {
    background-color: #e5e7eb;
}

.modal-hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 12px 0;
}

.modal-lista {
    margin: 4px 0;
    padding-left: 20px;
}

dialog#modal-backdrop,
dialog#modal-backdrop[open] {
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    max-width: none;
    overflow: visible;
}

dialog#modal-backdrop::backdrop {
    background: rgba(0, 0, 0, 0.5);
}
