/* Fondo del modal */
.modal-ges {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;}
/* Oculto por defecto */
.oculto {
    display: none;}
/* Caja del modal */
.modal-ges-content {
    background: #f3e9ff;
    border: 1px rgba(74,25,87,0.15);
    color: #4a1957;
    padding: 2rem;
    width: 95%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    animation: fadeIn 0.25s ease;}
/* Título */
.modal-ges-title {
    color: #4a1957;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;}
/* Etiquetas */
.modal-ges-label {
    color: #4a1957;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: block;}
/* Inputs */
.modal-ges-input,
.modal-ges-textarea {
    width: 95%;
    background: #ffffff;
    border: 1px solid rgba(74,25,87,0.25);
    color: #4a1957;
    padding: 0.7rem;
    border-radius: 6px;
    margin-top: 0.3rem;
    font-size: 0.95rem;}
.modal-ges-textarea {
    height: 120px;
    resize: none;}
/* Botones */
.modal-ges-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;}
.btn-ges {
    background: #c5a028;
    color: #1a0f1d;
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;}
.btn-ges:disabled {
    opacity: 0.4;
    cursor: not-allowed;}
.btn-ges:hover:not(:disabled) {
    background: #e0b63a;}
.btn-ges-sec {
    background: transparent;
    border: 1px solid rgba(74,25,87,0.35);
    color: #4a1957;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;}
.btn-ges-sec:hover {
    background: rgba(255,255,255,0.1);}
/* Animación */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }}
/* Fila exclusiva para centrar el botón */
.footer-denuncia-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;}
/* Botón amarillo estilo SeguridadGES */
.footer-denuncia-btn {
    background: #c5a028 !important;
    color: #1a0f1d !important;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.35);}
/* Hover */
.footer-denuncia-btn:hover {
    background: #e0b63a !important;}
/* Icono candado */
.footer-denuncia-btn .icon-14 {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;}
.footer-denuncia-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: 1rem; /* ← ESTA LÍNEA NUEVA */}
/* Asterisco rojo en labels obligatorios */
.modal-ges-label.required::after {content: " *";color: #ff4d4d;font-weight: bold;}
/* Borde rojo cuando el campo está vacío y es obligatorio */
.modal-ges-input.error,
.modal-ges-textarea.error {border: 2px solid #ff4d4d !important;}
/* ------------------------- TOAST PREMIUM –------------------- */
/* Contenedor centrado arriba */
.toast-container {position: fixed;top: 18vh; /* un poco más arriba, más premium */left: 50%;transform: translateX(-50%);
    z-index: 99999;display: flex;flex-direction: column;align-items: center;gap: 16px;pointer-events: none;}
/* Caja del toast */
.toast {display: flex;align-items: center;gap: 14px;padding: 20px 32px;font-size: 1.2rem;font-weight: 600;border-radius: 12px;
    color: white;opacity: 0;transform: translateY(-25px) scale(0.96);transition: all .45s cubic-bezier(.16,.82,.33,1);
    max-width: 90vw;text-align: center;box-shadow: 0 8px 28px rgba(0,0,0,0.45);backdrop-filter: blur(4px);}
/* Animación de entrada */
.toast.show {opacity: 1;transform: translateY(0) scale(1);}
/* Icono dentro del toast */
.toast::before {content: "";width: 22px;height: 22px;display: inline-block;background-size: contain;background-repeat: no-repeat;}
/* Éxito */
.toast.ok {background: linear-gradient(135deg, #2ecc71, #27ae60);}
.toast.ok::before {background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.17l-3.88-3.88-1.41 1.41L9 19 21 7l-1.41-1.41z"/></svg>');}
/* Error */
.toast.err {background: linear-gradient(135deg, #e74c3c, #c0392b);}
.toast.err::before {background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');}
