/**
 * Newsletter Section Styles
 *
 * Styles for the newsletter signup component.
 *
 * @package Famoid_Blogger
 */

/* Newsletter Section Styles */
.newsletter-section {
    padding: var(--space-16) 0;
    background-color: var(--color-bg-secondary);
}

.newsletter-section--accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: #ffffff;
}

.newsletter-section--accent .newsletter-box__subtitle,
.newsletter-section--accent .newsletter-form__note,
.newsletter-section--accent .newsletter-feature {
    color: rgba(255, 255, 255, 0.85);
}

.newsletter-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-6);
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-full);
}

.newsletter-section--accent .newsletter-box__icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.newsletter-box__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
}

.newsletter-box__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

.newsletter-box__form {
    margin-bottom: var(--space-6);
}

.newsletter-form__fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .newsletter-form__fields {
        flex-direction: row;
    }

    .newsletter-form__fields input[type="email"] {
        flex: 1;
    }
}

.newsletter-form__fields input[type="email"] {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
}

.newsletter-section--accent .newsletter-form__fields input[type="email"] {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: transparent;
}

.newsletter-form__fields .btn {
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
}

.newsletter-section--accent .newsletter-form__fields .btn {
    background-color: #ffffff;
    color: var(--color-accent);
}

.newsletter-section--accent .newsletter-form__fields .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.newsletter-form__note {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin-top: var(--space-4);
}

.newsletter-box__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border-light);
}

.newsletter-section--accent .newsletter-box__features {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.newsletter-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.newsletter-feature svg {
    color: var(--color-success);
    flex-shrink: 0;
}

.newsletter-section--accent .newsletter-feature svg {
    color: #ffffff;
}
