#nice--pp--modal {
    width: 225px;
    background-color: #fff;
    border-top: 2px solid #3594BD;
    border-left: 2px solid #3594BD;
    border-right: 2px solid #3594BD;
    border-bottom: 2px solid #3594BD;
    padding: 10px 15px;
    position: fixed;
    display: none;
    text-align: center;
    z-index: 1000;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, .7);
    box-shadow: 0 3px 7px rgba(0, 0, 0, .7);
    -webkit-border-radius: 0 0 2px 2px;
    border-radius: 8px;
}

#nice--pp--modal .close {
    font-size: 18px;
    right: 8px;
    top: 5px;
}

.nice--pp--modal--form {
    margin-bottom: 15px;
}

.nice--pp--modal--form .pp--body {
    max-width: 420px;
    width: 100%;
    padding: 10px 15px;
    margin: 25px auto 15px;
    border: 1px solid #d0d1d0;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
}

.nice--pp--modal--form .pp-title {
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Inter', Arial, sans-serif !important;
    font-weight: 500;
    font-size: 20px;
    color: #272727;
}

.nice--pp--modal--form .mb-3 {
    margin-bottom: 1rem !important;
}

.nice--pp--modal--form .form-control {
    display: block;
    width: 100%;
    max-width: 570px;
    padding: 7px 14px !important;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #171716;
    background-color: #fff !important;
    background-clip: padding-box;
    border: 1px solid #d0d1d0 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-sizing: border-box;
}

.nice--pp--modal--form .form-control:focus {
    color: #333;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.nice--pp--modal--form .form-label {
    display: inline-block;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    color: #171716;
    cursor: default;
    float: left;
    margin: 5px 0;
}

.nice--pp--modal--form .form-label .require {
    color: red;
}

.nice--pp--modal--form input[type="text"],
.nice--pp--modal--form input[type="tel"],
.nice--pp--modal--form input[type="email"] {
    border: 1px solid #3594BD;
    width: 100%;
}

.nice--pp--modal--form .nice--links {
    display: flex;
    justify-content: center;
    flex-flow: column;
    gap: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.nice--pp--modal--form .nice--links a {
    font-weight: 400;
    font-size: 14px;
    color: rgb(30, 163, 210);
    font-family: Inter, Arial, sans-serif !important;
}

.nice--pp--modal--form .buttons-row-full {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    gap: 10px;
}

.nice--pp--modal--form .buttons-row-full .bt {
    width: 100% !important;
    max-width: 260px !important;
    padding-inline: 0 !important;
    flex: 1;
}

.nice--pp--modal--form .bt {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 6px;
    padding: 9px 14px;
    line-height: 20px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    margin: 0;
    border-radius: 6px;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    vertical-align: middle;
    outline: none;
}

.nice--pp--modal--form .buttons-row-full .bt {
    width: 100% !important;
    max-width: 260px !important;
    padding-inline: 0 !important;
    flex: 1;
}

.nice--pp--modal--form .bt-primary {
    border: 1px solid #1ea3d2;
    background-color: #1ea3d2;
    color: #fff;
}

.nice--pp--modal--form .bt-primary:disabled {
    border: 1px solid #777777;
    background-color: #9f9f9f;
    color: #fff;
}

.nice--pp--modal--form .bt-default {
    border: 1px solid #d0d1d0;
    background-color: #e7e8e7;
    color: #212529;
}

.nice--pp--modal--form .error {
    padding: 5px;
}

.nice--pp--modal--form .nice--links.agree p,
.nice--pp--modal--form .nice--links.agree a {
    font-size: 10px;
}

.nice--pp--modal--form .success {
    margin: 10px auto 0 auto;
}

/* For price percent */
.nice--pp--modal--form .pp--body .product-name {
    border: 1px solid #eee;
    background: rgba(0, 0, 0, .03);
    width: auto;
    text-align: center;
    border-radius: 2px;
    padding: 5px 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}
.nice--pp--modal--form .error-price_field {
    background-color: #ffbebe !important;
    border-color: #ff0000 !important;
}
.nice--pp--modal--form .old-price {
    text-decoration: line-through;
}
.nice--pp--modal--form .new-price {
    color: #ff3516;
}
.nice--pp--modal--form #cheaper-percent {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
}
.nice--pp--modal--form #cheaper-percent .percent-label {
    display: inline-block;
    box-shadow: 5px 5px 5px #c7c7c7;
    float: left;
    padding: 5px;
    margin: 5px;
    border-radius: 10px;
    font-size: 16px;
    background-color: lightgrey;
}
.nice--pp--modal--form #cheaper-percent label.percent-checked {
    background-color: #0d95e8;
    color: #fff;
}
.nice--pp--modal--form .percent-description {
    width: 100%;
    padding: 5px;
    background: #e1e1e1;
    border-radius: 5px;
}
.nice--pp--modal--form .cheapest {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
    padding: 10px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 5px;
    border: 2px dashed #1ea3d2;
    border-radius: 5px;
    background: transparent;
}
.nice--pp--modal--form .cheapest .bt {
    color: #fff !important;
    padding: 5px 10px;
}
.nice--pp--modal--form .cheapest .price-block {
    display: flex;
    align-items: flex-end;
    gap: 5px;
}
.nice--pp--modal--form .cheapest .price-block .new-price {
    font-size: 20px !important;
}
.nice--pp--modal--form .cheapest .price-block .old-price {
    color: #9d9d9d !important;
}

@media(max-width:380px){
    .nice--pp--modal--form .cheapest .price-block {
        flex-flow: column;

    }
}