/* General Container */
.newsletter-widget-container {
    background-color: #a9d47a; /* Light green background */
    padding: 3rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
}

/* Main Widget Card */
.newsletter-widget {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    max-width: 800px;
    width: 100%;
}

/* Left Side (Image) */
.newsletter-image-side {
    background-color: #0062bd !important; /* Dark blue */
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40%;
}

.newsletter-icon {
    width: 100px;
    height: 100px;
    z-index: 1;
}

/* Decorative elements for the blue side */
.newsletter-image-side::before,
.newsletter-image-side::after {
    content: '';
    position: absolute;
    opacity: 0.1;
}

/* Right Side (Form) */
.newsletter-form-side {
    padding: 3rem 2rem;
    width: 60%;
}

.newsletter-form-side h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0062bd !important;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.newsletter-form-side p {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1rem;
}

#mc_embed_signup .mc-field-group {
    margin-bottom: 1rem;
}

#mc_embed_signup input.text,
#mc_embed_signup input.email {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #f8f9fa;
    font-size: 1rem;
}

#mc_embed_signup input.text:focus,
#mc_embed_signup input.email:focus {
    outline: none;
    border-color: #0062bd !important;
    box-shadow: 0 0 0 2px rgba(11, 79, 156, 0.2);
}

#mc_embed_signup .button {
    background-color: #0062bd !important;
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    text-align: center;
    text-decoration: none;
    border: none;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

#mc_embed_signup .button:hover {
    background-color: #0a4588 !important;
}

/* Mailchimp responses */
#mce-responses {
    font-size: 0.9em;
}
#mce-success-response {
    color: #28a745;
    font-weight: bold;
}
#mce-error-response {
    color: #dc3545;
    font-weight: bold;
}


/* Responsive */
@media (max-width: 768px) {
    .newsletter-widget {
        flex-direction: column;
    }
    .newsletter-image-side,
    .newsletter-form-side {
        width: 100%;
    }
    .newsletter-image-side {
        padding: 2rem;
        min-height: 150px;
    }
    .newsletter-form-side {
        padding: 2rem 1.5rem;
    }
} 