/* Email Widget Common Styles */

.email-widget-container {
    background: #00283c;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin: 2rem 0;
}

.email-widget-container h2,
.email-widget-container h3 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.email-widget-container .widget-description {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.email-widget-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.email-widget-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: #ffffff;
    color: #333;
}

.email-widget-input::placeholder {
    color: #999;
    opacity: 0.7;
}

.email-widget-button {
    padding: 0.875rem 2rem;
    background: #ff46a0;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.email-widget-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 70, 160, 0.4);
}

.email-widget-privacy {
    color: #ffffff;
    font-size: 0.875rem;
    margin-top: 1rem;
    opacity: 0.9;
}

.email-widget-privacy a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.email-widget-privacy a:hover {
    opacity: 0.8;
}

/* Wide Widget Specific */
.email-widget-wide {
    padding: 4rem 2rem;
}

.email-widget-wide h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.email-widget-wide .widget-description {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.email-widget-wide .email-widget-form {
    max-width: 700px;
}

/* Narrow Widget Specific */
.email-widget-narrow {
    padding: 2.5rem 1.5rem;
    max-width: 600px;
    margin: 2rem auto;
}

.email-widget-narrow h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.email-widget-narrow .widget-description {
    display: none; /* Hide description in narrow version for space */
}

.email-widget-narrow .email-widget-form {
    flex-direction: column;
    max-width: 400px;
}

.email-widget-narrow .email-widget-input {
    width: 100%;
}

.email-widget-narrow .email-widget-button {
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .email-widget-wide .email-widget-form {
        flex-direction: column;
    }

    .email-widget-wide .email-widget-input,
    .email-widget-wide .email-widget-button {
        width: 100%;
    }

    .email-widget-wide h2 {
        font-size: 2rem;
    }

    .email-widget-wide .widget-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .email-widget-container {
        padding: 2rem 1rem;
    }

    .email-widget-wide h2 {
        font-size: 1.5rem;
    }

    .email-widget-narrow h3 {
        font-size: 1.25rem;
    }
}
