.newsletter-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newsletter-popup-overlay.show {
    opacity: 1;
}

.newsletter-popup-modal {
    background-color: #ffffff;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.newsletter-popup-overlay.show .newsletter-popup-modal {
    transform: translateY(0);
}

.newsletter-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
}

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

.newsletter-popup-content h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #333;
}

.newsletter-popup-content p {
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
}

.newsletter-form-group {
    margin-bottom: 15px;
    text-align: left;
}

.newsletter-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #444;
    font-weight: bold;
}

.newsletter-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.newsletter-form-group input:focus {
    border-color: #007cba;
    outline: none;
}

.newsletter-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: green; /* Custom color */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-submit-btn:hover {
    background-color: red; /* Custom color */
}

.newsletter-form-message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}