/* ================================
   MODALES FLOTANTES (AISLADOS)
================================ */

.modal-flotante .modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

/* Header */
.modal-flotante .modal-header {
    background: linear-gradient(135deg, #4CAF7D, #6ED9A0);
    color: #ffffff;
    padding: 1.3rem 1.6rem;
    border-bottom: none;
}

.modal-flotante .modal-title {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Botón cerrar */
.modal-flotante .btn-close {
    filter: invert(1);
    opacity: 0.85;
}

.modal-flotante .btn-close:hover {
    opacity: 1;
}

/* Body */
.modal-flotante .modal-body {
    padding: 2rem;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
}

/* Listas bonitas */
.modal-flotante .modal-body ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.modal-flotante .modal-body ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.7rem;
}

.modal-flotante .modal-body ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #4CAF7D;
    font-weight: bold;
}

/* Texto destacado */
.modal-flotante .modal-body strong {
    color: #2e8b57;
}

/* Animación suave */
.modal-flotante.modal.fade .modal-dialog {
    transform: scale(0.9);
    transition: all 0.35s ease;
}

.modal-flotante.modal.fade.show .modal-dialog {
    transform: scale(1);
}
