/* OVERLAY */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* CAJA */
.modal-box {
    background: #fff;
    width: 420px;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    animation: modalIn 0.25s ease-out;
}

/* HEADER */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* BODY */
.modal-body {
    padding: 20px;
}

.modal-subtitle {
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
}

/* LISTA DE PAQUETES */
.paquetes-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-paquete {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
    text-align: left;
    transition: all .2s ease;
}

.btn-paquete:hover {
    background: var(--azul-principal);
    color: #fff;
    border-color: var(--azul-principal);
}

/* FOOTER */
.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.btn-cancelar {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    background: #ccc;
    cursor: pointer;
}

/* ANIMACIÓN */
@keyframes modalIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
