/* Estilos para el modal de anuncio */
.anfiec-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(46, 13, 13, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.5s;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #B6D33D, #B6D33D);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600 !important; /* Solución temporal */
    color: #1E3C72;
}

.close-btn {
    background: none;
    border: none;
    color: #1E3C72;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px;
    text-align: center;
}

.modal-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 3rem;
    color: #1e3c72;
    margin-bottom: 15px;
}

.modal-footer {
    padding: 15px 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.understand-btn {
    background: linear-gradient(135deg, #B6D33D, #B6D33D);
    color: #1E3C72;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.understand-btn:hover {
    background: linear-gradient(135deg, #B6D33D, #B6D33D);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .modal-content {
        width: 95%;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    .modal-body p {
        font-size: 1rem;
    }
}