
.newsletter-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.newsletter-content {
    background-color: #6EB533;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
}

.newsletter-title {
    color: white;
    font-size: 33px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.newsletter-subtitle {
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 30px 0;
    line-height: 1.4;
}

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

.newsletter-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

#newsletter-email {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
}

#newsletter-email::placeholder {
    color: rgba(53, 55, 61, 0.39);
}

.newsletter-submit {
    background-color: #35373D;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-submit:hover {
    background-color: #2a2c32;
    transform: translateY(-1px);
}

.newsletter-success {
    text-align: center;
}

.newsletter-error {
    color: #ff6b6b;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
}
/* Wyższa specyficzność dla przycisku */
.newsletter-container .newsletter-submit,
.newsletter-container input[type="submit"].newsletter-submit,
.newsletter-container button.newsletter-submit {
    background-color: #35373D !important;
    color: white !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    min-height: auto !important;
    height: auto !important;
    line-height: normal !important;
}

.newsletter-container .newsletter-submit:hover,
.newsletter-container input[type="submit"].newsletter-submit:hover,
.newsletter-container button.newsletter-submit:hover {
    background-color: #2a2c32 !important;
    transform: translateY(-1px) !important;
    color: white !important;
}

.newsletter-container .newsletter-submit:focus,
.newsletter-container .newsletter-submit:active {
    background-color: #35373D !important;
    color: white !important;
    outline: none !important;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    .newsletter-content {
        padding: 30px 20px;
    }
    
    .newsletter-title {
        font-size: 28px;
    }
    
    .newsletter-subtitle {
        font-size: 15px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-submit {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .newsletter-container {
        padding: 20px 10px;
    }
    
    .newsletter-content {
        padding: 25px 15px;
    }
    
    .newsletter-title {
        font-size: 24px;
    }
    
    .newsletter-subtitle {
        font-size: 14px;
    }
    
    #newsletter-email {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .newsletter-submit {
        padding: 12px 20px;
        font-size: 15px;
    }
}
