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

.newsletter-popup-content {
    background: #FAFBF8;
    position: relative;
    width: 800px;
    height: 500px;
    display: flex;
    overflow: hidden;
}

.newsletter-popup .close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #000000;
    z-index: 2;
}

.newsletter-popup-image {
    width: 50%;
    height: 100%;
    position: relative;
}

.newsletter-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-popup-text {
    width: 50%;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-popup-text h2 {
    font-family: Arial;
    font-size: 22px;
    margin-bottom: 15px;
    color: #000000;
    font-weight: bold;
}

.newsletter-popup-text p {
    font-family: Arial;
    font-size: 13px;
    color: #774c20;
    margin-bottom: 1rem;
}

.newsletter-popup-custom-content {
    margin: 20px 0;
    text-align: left;
}

.newsletter-popup .newsletter-form {
    width: 100%;
}

.newsletter-popup .form-group {
    margin-bottom: 20px;
}

.newsletter-popup .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: Arial;
    font-size: 14px;
    background: #fff;
}

.newsletter-popup .form-control::placeholder {
    color: #000000;
}

.newsletter-popup .form-control.is-invalid {
    border-color: #dc3545;
}

.newsletter-popup .invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    text-align: left;
}

.newsletter-popup .custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
    margin-bottom: 20px;
}

.newsletter-popup .custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.newsletter-popup .custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    font-family: Arial;
    font-size: 9px;
    color: #000000;
    text-align: left;
    line-height: 1.4;
}

.newsletter-popup .custom-control-label::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border: 1px solid #774c20;
    background-color: #fff;
}

.newsletter-popup .custom-control-input:checked + .custom-control-label::before {
    background-color: #774c20;
}

.newsletter-popup .custom-control-label a {
    color: #000000;
    text-decoration: underline;
}

.newsletter-popup .custom-control-label a:hover {
    color: #774c20;
}

.newsletter-popup {
    width: 100%;
    cursor: pointer;
}

@media (max-width: 768px) {
    .newsletter-popup-content {
        width: 95%;
        height: auto;
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .newsletter-popup-text {
        width: 100%;
        padding: 20px;
    }
    
    .newsletter-popup-text h2 {
        font-size: 20px;
    }
    
    .newsletter-popup-text p {
        font-size: 14px;
    }

    .newsletter-popup-image {
        display: none;
    }

    .custom-control-label {
        font-size: 12px;
    }
} 