.newsletter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.newsletter-modal {
    background-color: #fff;
    border-radius: 8px;
    max-width: 450px;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.newsletter-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    padding: 0;
    z-index: 1;
}

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

.newsletter-content {
    padding: 30px;
}

.newsletter-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.newsletter-description {
    margin: 0 0 20px 0;
    font-size: 15px;
    color: #555;
    text-align: center;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-field {
    margin-bottom: 15px;
}

.newsletter-field input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
    font-family: inherit;
}

.newsletter-field input:focus {
    outline: none;
    border-color: #f2b069;
    box-shadow: 0 0 0 2px rgba(242, 176, 105, 0.3);
}

.newsletter-field input::placeholder {
    color: #999;
}

.newsletter-error {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
}

.newsletter-submit {
    background-color: #f2b069;
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 5px;
}

.newsletter-submit:hover:not(:disabled) {
    background-color: #e89a45;
}

.newsletter-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.newsletter-success {
    text-align: center;
    padding: 20px 0;
}

.newsletter-success-icon {
    width: 60px;
    height: 60px;
    background-color: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #fff;
}

.newsletter-success h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #333;
}

.newsletter-success p {
    margin: 0 0 25px 0;
    font-size: 16px;
    color: #666;
}

.newsletter-close-btn {
    background-color: #f2b069;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.newsletter-close-btn:hover {
    background-color: #e89a45;
}

@media (max-width: 480px) {
    .newsletter-overlay {
        padding: 10px;
    }

    .newsletter-content {
        padding: 25px 20px;
    }

    .newsletter-title {
        font-size: 20px;
    }
}
