.fakta-newsletter-wrapper {
    width: 100%;
    max-width: none;
    margin: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.fakta-newsletter-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 24px;
}

.fakta-newsletter-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.3;
}

.fakta-newsletter-description {
    font-size: 15px;
    color: #555;
    margin: 0 0 10px;
    line-height: 1.5;
}

.fakta-newsletter-form {
    margin: 0;
}

.fakta-newsletter-fields {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.fakta-newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.2s ease;
}

.fakta-newsletter-input:focus {
    border-color: #8bc34a;
}

.fakta-newsletter-button {
    flex-shrink: 0;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #8bc34a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fakta-newsletter-button:hover {
    background: #7cb342;
}

.fakta-newsletter-privacy {
    font-size: 13px;
    color: #666;
    margin: 14px 0 0;
    line-height: 1.5;
}

.fakta-newsletter-privacy a {
    color: #555;
    text-decoration: underline;
}

.fakta-newsletter-privacy a:hover {
    color: #8bc34a;
}

@media (max-width: 600px) {
    .fakta-newsletter-card {
        padding: 20px;
    }

    .fakta-newsletter-fields {
        flex-direction: column;
    }

    .fakta-newsletter-button {
        width: 100%;
    }
}

/* Modal */
.fakta-newsletter-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.fakta-newsletter-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.fakta-newsletter-modal[hidden] {
    display: none;
}

.fakta-newsletter-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.fakta-newsletter-modal__content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    max-width: 420px;
    width: calc(100% - 40px);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.fakta-newsletter-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.fakta-newsletter-modal__close:hover {
    color: #333;
}

.fakta-newsletter-modal__title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px;
}

.fakta-newsletter-modal__message {
    font-size: 15px;
    color: #555;
    margin: 0 0 24px;
    line-height: 1.5;
}

.fakta-newsletter-modal__button {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #8bc34a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fakta-newsletter-modal__button:hover {
    background: #7cb342;
}
