/* --- SISTEMA DE DIÁLOGOS (MESSAGE BOX) PARA CENDI ADMIN --- */

.cendi-msg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 117, 178, 0.3);
    /* Azul traslúcido solicitado */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cendi-msg-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.cendi-msg-box {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cendi-msg-overlay.show .cendi-msg-box {
    transform: scale(1);
}

.cendi-msg-header {
    padding: 20px 25px;
    background: #3185cb;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cendi-msg-header i {
    font-size: 24px;
}

.cendi-msg-header h3 {
    margin: 0;
    font-size: 18px;
    font-family: 'Lato', sans-serif;
}

.cendi-msg-body {
    padding: 30px 25px;
    color: #444;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
}

.cendi-msg-footer {
    padding: 15px 25px;
    background: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid #eee;
}

.cendi-msg-btn {
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    border: none;
    font-family: 'Lato', sans-serif;
}

.cendi-msg-btn-cancel {
    background: #e9ecef;
    color: #495057;
}

.cendi-msg-btn-cancel:hover {
    background: #dee2e6;
}

.cendi-msg-btn-confirm {
    background: #dc3545;
    /* Rojo CENDI para acciones peligrosas */
    color: white;
}

.cendi-msg-btn-confirm:hover {
    background: #c82333;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.cendi-msg-btn-confirm.info {
    background: #3185cb;
}

.cendi-msg-btn-confirm.info:hover {
    background: #2b75b2;
    box-shadow: 0 4px 8px rgba(43, 117, 178, 0.3);
}