.agreement__checkbox {
    width: 20px !important;
    height: 20px !important;
    opacity: 0;
}
.agreement__label {
    display: inline-flex !important;
    position: relative;
}
.agreement__label:hover {
    text-decoration: none !important;
}
.agreement__label_error {
    color: red !important;
}
.agreement__label_error .agreement__btn {
    color: red !important;
}

.agreement__overlay {
    position: fixed;
    z-index: 99998;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}
.agreement__modal {
    width: 75%;
    max-width: 800px;
    border: 1px solid #e8e8e8;
    padding: 10px;
    box-shadow: none;
    background: #fff;
    position: fixed;
    top: 150px;
    height: 400px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 99999;
    overflow: auto;
    transition: opacity 0.3s;
    text-align: left;
    line-height: 1.4;
    -webkit-overflow-scrolling: touch;
}
@media(max-width: 767px) {
    .agreement__modal {
        height: 60vh;
    }
}
.agreement__modal_hidden {
    visibility: hidden;
    opacity: 0;
    z-index: -1;
}
.agreement__btn {
    -webkit-appearance: none;
    cursor: pointer;
    color: #262626;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Exo 2', sans-serif;
    background-color: transparent;
    border: none;
    padding: 0;
    outline-style: none;
    border-radius: 0;
}
.agreement__btn_close {
    cursor: pointer;
    color: black;
    font-size: 35px;
    width: 35px;
    height: 40px;
    line-height: 0;
    font-weight: bold;
    display: inline-block;
    line-height: 0;
    padding: 10px 3px;
    float: right;
}
.agreement__btn_open {
    text-decoration: underline;
}
.agreement__btn_open:hover {
    text-decoration: none;
}

.agreement__label > span::before {
    display: block;
    min-width: 15px;
    max-width: 15px;
    min-height: 15px;
    max-height: 15px;
    margin-right: 15px;
    content: '';
    border: 1px solid #dadada;
    background: #fff;
    -webkit-box-shadow: inset 0 0 0 2px #fff;
    box-shadow: inset 0 0 0 2px #fff;
    position: absolute;
    left: 0;
    top: 5px;
}

.agreement__label [type='checkbox']:checked + span::before {
    background: url(../../images/tick.svg);
}