.newsletter-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    margin: 20px 0;
}

.newsletter-input-wrapper {
    position: relative;
    display: block;
}

.newsletter-input-wrapper input[type="email"] {
    width: 100%;
    padding: 15px 60px 15px 20px;
    background: #F5F5F5;
    color: #666666;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.newsletter-input-wrapper input[type="email"]::placeholder {
    color: #999;
}

.newsletter-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-submit:focus,
.newsletter-submit:active,
.newsletter-submit:hover {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.newsletter-submit svg {
    display: block;
}

.newsletter-submit svg {
    display: block;
}

.newsletter-consent {
    font-size: 11px;
    color: #999;
    margin: 10px 0 0 0;
    line-height: 1.4;
}

.newsletter-already-subscribed {
    padding: 15px;
    background: #e7f3e7;
    color: #2c662d;
    border-radius: 8px;
    text-align: center;
}

/* Popup */
.newsletter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.newsletter-popup.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.newsletter-popup-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    animation: slideUp 0.4s ease;
}

.newsletter-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.2s ease;
}

.newsletter-popup-close:hover {
    color: #333;
}

.newsletter-popup-content h3 {
    margin: 0 0 15px 0;
    color: #6839CC;
    font-size: 24px;
}

.newsletter-popup-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.newsletter-popup-body h3 {
    margin: 0 0 15px 0;
    color: #6839CC;
    font-size: 24px;
}

.newsletter-popup-body p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

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

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsywność */
@media (max-width: 768px) {
    .newsletter-popup-content {
        padding: 30px 20px;
    }
}
