﻿.gmx-aviso {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #FBEFF2; /* tinte suave del color institucional */
    border-left: 4px solid #9D2449;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 1.95rem;
    line-height: 1.5;
    color: #333;
}

.gmx-aviso-icono {
    color: #9D2449;
    font-size: 1.5rem;
    margin-top: 2px; /* alinea el ícono con la primera línea de texto */
    flex-shrink: 0;
}

.gmx-aviso-link {
    color: #9D2449;
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}

    .gmx-aviso-link:hover {
        color: #7A1C37;
    }

    .gmx-aviso-link:active {
        color: #5C0F2A;
    }



.gmx-modal-content .modal-header {
    background-color: #9D2449;
    color: #fff;
    border-bottom: none;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .gmx-modal-content .modal-header .modal-title {
        font-weight: 600;
        font-size: 1.8rem;
        margin: 0;
    }

    .gmx-modal-content .modal-header .close {
        color: #fff;
        opacity: 0.9;
        text-shadow: none;
        background: transparent;
        border: none;
        font-size: 1.8rem;
        line-height: 1;
        padding: 0;
        margin: 0;
        cursor: pointer;
    }

        .gmx-modal-content .modal-header .close:hover {
            opacity: 1;
        }

.gmx-modal-content .form-group label {
    font-weight: 600;
    font-size: 1.9rem;
    margin-bottom: 0.4rem;
    display: block;
}

.gmx-modal-content .form-control {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border-color: #ddd;
}

    .gmx-modal-content .form-control:focus {
        border-color: #9D2449;
        box-shadow: 0 0 0 0.2rem rgba(157, 36, 73, 0.15);
    }

.gmx-modal-content .modal-footer .btn-secondary {
    border: 1px solid #ccc;
    color: #555;
    background-color: #fff;
}

    .gmx-modal-content .modal-footer .btn-secondary:hover {
        background-color: #f5f5f5;
    }


/* Evita el doble padding-right cuando SweetAlert2 se abre sobre un modal de Bootstrap ya abierto */
body.swal2-shown.modal-open {
    padding-right: 0 !important;
    overflow: hidden !important;
}

/* Asegura que el contenedor de SweetAlert2 siempre se centre sobre el viewport completo, ignorando el layout del body */
.swal2-container {
    z-index: 2000 !important;
}