/* ============================================
   MODAL DE ANUNCIOS 
   ============================================ */

.v-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.70);      /* oscurece fondo */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;                       /* por encima del navbar y del banner */
}

/* Ventana del modal */
.v-modal-window {
    background: rgba(0, 47, 108, 0.95);   /* azul VIASA oscuro translúcido */
    color: #fff;
    max-width: 520px;
    width: 90%;
    border-radius: 16px;
    padding: 22px 24px 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-sizing: border-box;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Animación de entrada ligera */
.v-modal-window.v-animate-in {
    animation: vModalIn .35s ease-out both;
}

@keyframes vModalIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Título del modal */
.v-modal-title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffcc00;                       /* dorado VIASA */
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

/* Cuerpo del mensaje (puede tener varias líneas, HTML, etc.) */
.v-modal-message {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #f5f5f5;
    margin-bottom: 12px;
}

/* Contenedor de botones */
.v-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

/* Botón principal (opcional) */
.v-modal-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #0047A8, #0078D7);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: background 0.25s ease, transform 0.15s ease;
}

.v-modal-btn:hover {
    background: linear-gradient(90deg, #006fe6, #0099ff);
    transform: translateY(-1px);
}

/* Botón de cerrar */
.v-modal-close {
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.20);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    transition: background 0.25s ease, transform 0.15s ease;
}

.v-modal-close:hover {
    background: rgba(255,255,255,0.30);
    transform: translateY(-1px);
}

/* Colores según tipo, por si quieres variar borde o glow */
.v-modal-window[data-type="success"] {
    box-shadow: 0 0 18px rgba(0, 255, 140, 0.35);
}
.v-modal-window[data-type="warning"] {
    box-shadow: 0 0 18px rgba(255, 200, 0, 0.35);
}
.v-modal-window[data-type="alert"] {
    box-shadow: 0 0 18px rgba(255, 60, 60, 0.35);
}
.v-modal-window[data-type="promo"],
.v-modal-window[data-type="event"] {
    box-shadow: 0 0 18px rgba(180, 120, 255, 0.35);
}

/* Responsive móvil */
@media (max-width: 600px) {
    .v-modal-window {
        padding: 18px 16px 14px;
        max-width: 95%;
    }

    .v-modal-title {
        font-size: 1.2rem;
    }

    .v-modal-message {
        font-size: 0.95rem;
    }

    .v-modal-actions {
        justify-content: flex-start;
    }
}