.modal-dialog {
    max-width: 540px;
    max-height: 650px;
}

.modal-dialog .modal-body {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    padding: 16px !important;
    position: unset !important;
}

.modal-dialog .modal-content {
    position: relative;
    padding: 40px;
    border-radius: 20px;
    background-image: url("/wp-content/uploads/premium/pop_up.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.modal-dialog .modal-btn-inner {
    position: absolute;
    top: 5px;
    right: 5px;
    width: auto;
    padding: 10px;
}

.modal-dialog .modal-btn-inner button {
    width: 25px;
    height: 25px;
    padding: 0;
}

.modal-dialog .modal-text-h2 {
    color: rgba(21, 21, 21, 0.75);
    text-align: center;
    font-family: "Poltawski Nowy";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

.modal-dialog .modal-text-h2 span {
    color: #D5C5A4;
    font-size: 32px;
    line-height: 90%;
}

.modal-dialog .modal-text-h3 {
    color: #D5C5A4;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    text-transform: uppercase;
}

.modal-dialog .modal-text-p {
    color: rgba(21, 21, 21, 0.75);
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

.modal-dialog .modal-text-p span {
    color: #D5C5A4;
    font-weight: 700;
}

.modal-dialog .wpcf7-list-item-label {
    color: rgba(21, 21, 21, 0.75);
}

.modal-dialog .close {
    border: none;
    background-color: #D5C5A4;
}

.modal-dialog #tel-label {
    color: #D5C5A4;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 145%;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.modal-dialog #tel-nb {
    width: 100%;
    border-radius: 0px;
    margin: 10px 0;
    background-color: transparent;
    outline: none;
    border-bottom: 1px solid #D5C5A4 !important;
    border: none;
    color: rgba(21, 21, 21, 0.75);
}

.modal-dialog #tel-nb:focus {
    outline: none;
    box-shadow: none;
}

.modal-dialog .form-check a {
    color: white;
}

.modal-dialog #form-submit {
    margin-top: 24px;
    border: none;
    outline: none;
    color: white;
    padding: 10px 20px;
    width: 50%;
    border-radius: 16px;
    font-weight: bold;
    background-color: #D5C5A4;
    text-transform: uppercase;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    border-radius: 16px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.10);
    border: 1px solid #D5C5A4;
    transition: all 0.3s ease;
}

.modal-dialog .wpcf7-form.init p {
    align-items: center;
}

.modal-dialog #form-submit:hover {
    background-color: #fff;
    color: #D5C5A4;
}

.modal-dialog input[type="checkbox"]~span {
    font-size: 14px;
}

.modal-dialog .wpcf7 .form-check .form-check-input:checked {
    background-color: #D5C5A4;
    border-color: #D5C5A4;
    outline: none;
}

.modal-dialog .wpcf7-list-item .form-check-input {
    border: 2px solid #D5C5A4;
}

.modal-dialog .wpcf7 .form-check .form-check-input:focus {
    box-shadow: none;
    outline: none;
}

.modal-dialog .wpcf7 p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
}

.modal-dialog .wpcf7-list-item {
    margin: 0;
}

.modal-dialog .wpcf7-spinner {
    display: none;
}

.modal-dialog .popupline {
    height: 2px;
    width: 80%;
    background-color: #DEAC2B;
    opacity: 1;
    color: #DEAC2B;
}

.modal-dialog .privacy-link {
    cursor: pointer;
    padding: 20px 0px;
}

@media screen and (max-width: 576px) {
    .modal-dialog .modal-text-h2 {
        font-size: 32px;
    }

    .modal-dialog .modal-text-h2 span {
        font-size: 24px;
    }

    .modal-dialog .modal-text-h3 {
        font-size: 16px;
    }

    .modal-dialog .modal-text-p {
        font-size: 15px;
    }

    .modal-dialog #tel-label {
        font-size: 14px;
    }

    .modal-dialog #tel-nb {
        font-size: 14px;
    }
}