/* Estilos para el contenedor del pop-up de suscripción (newsletter) */
.newsletter-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Por encima de otros elementos */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.newsletter-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.newsletter-popup-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}

.newsletter-popup-overlay.active .newsletter-popup-container {
    transform: scale(1);
}

.newsletter-popup-container h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.newsletter-popup-container p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.newsletter-popup-container .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.newsletter-popup-container .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.newsletter-popup-container .form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.newsletter-popup-container .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    background-color: #007bff;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-popup-container .btn-primary:hover {
    background-color: #0056b3;
}

.newsletter-popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s;
}

.newsletter-popup-close-btn:hover {
    color: #333;
}
