/**
 * SEID Disclaimer Sanitario — Modal styles
 */

.sds-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sds-modal.sds-visible {
    display: flex;
    animation: sds-fadein 0.2s ease-out;
}

@keyframes sds-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.sds-modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba( 20, 20, 30, 0.7 );
    backdrop-filter: blur( 3px );
    -webkit-backdrop-filter: blur( 3px );
}

.sds-modal-dialogo {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 540px;
    width: 100%;
    padding: 35px 35px 30px 35px;
    box-sizing: border-box;
    text-align: center;
    animation: sds-popin 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sds-popin {
    from { transform: scale( 0.92 ); opacity: 0; }
    to   { transform: scale( 1 );    opacity: 1; }
}

.sds-modal-icono {
    font-size: 2.6em;
    color: #2271b1;
    margin-bottom: 12px;
    line-height: 1;
}

.sds-modal-titulo {
    font-size: 1.4em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.sds-modal-mensaje {
    color: #444;
    font-size: 1.1em;
    line-height: 1.55;
    margin-bottom: 28px;
    text-align: center;
}

.sds-modal-acciones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.sds-boton {
    flex: 1 1 180px;
    padding: 13px 20px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: inherit;
    line-height: 1.2;
    transition: all 0.15s ease;
    min-width: 0;
}

.sds-boton-si {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}
.sds-boton-si:hover,
.sds-boton-si:focus {
    background: #185a8c;
    border-color: #185a8c;
    outline: none;
    transform: translateY( -1px );
}

.sds-boton-no {
    background: white;
    color: #555;
    border-color: #c0c0c0;
}
.sds-boton-no:hover,
.sds-boton-no:focus {
    background: #f5f5f5;
    border-color: #888;
    outline: none;
}

/* Responsive */
@media (max-width: 480px) {
    .sds-modal-dialogo {
        padding: 25px 22px 22px 22px;
    }
    .sds-modal-titulo { font-size: 1.2em; }
    .sds-modal-acciones { flex-direction: column; }
    .sds-boton { flex: 1 1 auto; width: 100%; }
}
