/* Unified Newsletter Component Styles */

/* Newsletter Section Styles */
.newsletter-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.newsletter-container {
    background-color: #1A2A3A;
    border-radius: 10px;
    padding: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.newsletter-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.newsletter-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: white;
    opacity: 0.95;
}

/* Stylish input and button styles */
.stylish-input {
    height: 50px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.stylish-input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #20c7d9;
    box-shadow: 0 0 0 0.25rem rgba(32, 199, 217, 0.25);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.stylish-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.stylish-button {
    height: 50px;
    border-radius: 8px;
    padding: 0 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background-color: #20c7d9;
    border-color: #20c7d9;
}

.stylish-button:hover {
    background-color: #1ab5c6;
    border-color: #1ab5c6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gap-2 {
    gap: 0.75rem;
}

/* Newsletter message styles */
.newsletter-message {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 1rem;
    border-left: 3px solid #20c7d9;
    animation: fadeInDown 0.5s ease-in-out;
}

.newsletter-message i {
    color: #20c7d9;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Alert styles */
.alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
    font-size: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.alert-success {
    color: #ffffff;
    background-color: #28a745;
    border-left: 4px solid #1e7e34;
}

.alert-info {
    color: #ffffff;
    background-color: #17a2b8;
    border-left: 4px solid #117a8b;
}

.alert-danger {
    color: #ffffff;
    background-color: #dc3545;
    border-left: 4px solid #bd2130;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .newsletter-container {
        padding: 2rem;
    }

    .newsletter-content {
        margin-bottom: 2rem;
        text-align: center;
    }

    .newsletter-message {
        text-align: center;
    }

    .d-flex.gap-2 {
        flex-direction: column;
    }

    .stylish-button {
        margin-top: 10px;
        width: 100%;
    }
}
