/* footer-modals.css */

/* Overlay del Modal */
.policy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.policy-modal.active {
    display: flex;
}

/* Contenedor Principal */
.policy-modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    overflow: hidden;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    margin: auto;
}

/* Cabecera */
.policy-modal-header {
    background-color: #E91E63;
    padding: 20px 40px;
    position: relative;
    flex-shrink: 0;
}

.policy-modal-header h2 {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
}

.policy-modal-close {
    color: white;
    position: absolute;
    right: 20px;
    top: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* Cuerpo */
.policy-modal-body {
    color: #444;
    padding: 25px 30px;
    line-height: 1.6;
    text-align: left;
    overflow-y: auto;
}

/* Subtítulos */
.policy-modal-body h3 {
    color: #E91E63;
    font-weight: bold;
    font-size: 1.15em;
    margin-top: 15px;
    margin-bottom: 10px;
}

.policy-modal-body h3:first-child {
    margin-top: 0;
}

.policy-modal-body p {
    margin-bottom: 15px;
}

.policy-modal-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.policy-modal-body li {
    margin-bottom: 5px;
}
