/* popups */

.popups {
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-blur {
    background: #000000;
    opacity: 0.6;
    backdrop-filter: blur(15px);
    width: 100vw;
    height: 100vh;
    position: fixed;
    content: "";
    z-index: 99;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    z-index: 99;
    transition: all .3s ease-in-out;
}

.popup-blur.active {
    visibility: visible;
    opacity: 0.6;
    transition: all .3s ease-in-out;
}

.book-container,
.drive-container,
.success-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    padding: 74px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    /* transition: all 0.3s linear; */
}

.book-container .check-security label,
.drive-container .check-security label {
    position: absolute;
    white-space: nowrap;
    bottom: 0;
    left: 34px;
}

.book-container .error,
.drive-container .error {
    padding-top: 5px;
    /* position: absolute; */
}

.book-container .wpcf7-form-control-wrap i,
.drive-container .wpcf7-form-control-wrap i {
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.book-container #time_buy-error,
.drive-container #time_buy-error,
.book-container #time_buy-1-error,
.drive-container #time_buy-1-error,
.book-container #time_buy-2-error,
.drive-container #time_buy-2-error {
    position: absolute;
}

.book-container.active,
.drive-container.active,
.success-container.active {
    visibility: visible;
    opacity: 1;
    height: fit-content;
    transition: 0.3s all linear;
}

.popup-book,
.popup-drive,
.popup-success {
    max-width: 960px;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);
    z-index: 99;
}

.popup-success {
    max-width: 600px;
}

.popup-book .popup-book-content .mb-30 {
    margin-bottom: 30px;
}

.close-container {
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 20px;
}

.close-container--btn {
    background: transparent;
    border: 0;
    outline: 0;
}

.close-container--btn img {
    width: 15px;
    height: 15px;
    object-fit: cover;
    outline: none;
}

.popup-book-title,
.popup-drive-title,
.popup-success-title {
    font-style: normal;
    font-weight: 800;
    font-size: 36px;
    line-height: 49px;
    color: #EB0A1E;
    text-align: center;
    margin: 0;
    padding-bottom: 20px;
}

.popup-success-title {
    color: #000;
}

.popup-book-desc,
.popup-drive-desc,
.popup-success-desc {
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    color: #4B4B4B;
    text-align: center;
    margin: 0;
    padding-bottom: 20px;
}

.popup-book-content,
.popup-drive-content {
    padding: 0 60px;
}

.popup-success-content {
    padding: 20px 20px 40px;
}

.popup-line {
    height: 1px;
    width: 100%;
    background: #EEEEEE;
    margin-bottom: 20px;
}

.popup-book--input,
.popup-drive--input {
    height: 50px;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.025em;
    color: #808080;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.popup-book-content .form-group,
.popup-drive-content .form-group {
    margin-bottom: 30px;
}

.popup-book--checkbox,
.popup-drive--checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.popup-book--check-label,
.popup-drive--check-label {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #808080;
    margin-bottom: 0;
}

.popup-book .popup-book--security,
.popup-drive .popup-drive--security {
    /* margin-bottom: 15px; */
    padding-left: 40px;
    align-items: center;
    margin-top: 0;
}

.popup-book .popup-book--security .wpcf7-list-item,
.popup-drive .popup-drive--security .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
}

.popup-book-regula,
.popup-drive-regula {
    text-decoration: underline;
}

.popup-book-btn,
.popup-drive-btn {
    width: 320px;
    height: 60px;
    background: #EB0A1E;
    border-radius: 4px;
    border: 0;
    outline: 0;

    font-style: normal;
    font-weight: 700;
    font-size: 21px;
    line-height: 29px;
    color: #fff;
    transition: all 0.3s linear;
    margin-bottom: 40px;
}

.popup-book-btn:hover,
.popup-drive-btn:hover {
    background: #fff;
    color: #EB0A1E;
    border: 1px solid #EB0A1E;
    transition: all 0.3s linear;
}

.popup-book--select,
.popup-drive--select {
    appearance: none;
    background-image: url("../../distdaily/images/icon-down.png");
    background-repeat: no-repeat;
    background-position: right 20px top 50%;
    background-size: 14px 10px;
}

.popup-book input[type='checkbox'],
.popup-drive input[type='checkbox'] {
    accent-color: #EB0A1E;
}

@media screen and (max-width: 576px) {

    .popup-book,
    .popup-drive {
        width: 90%;
        background: #FFFFFF;
        box-shadow: 0px 4px 4px rgb(0 0 0 / 8%);
        z-index: 99;
        max-width: 90%;
    }

    .popup-book-content,
    .popup-drive-content {
        padding: 0 20px;
    }

    .popup-book .popup-book--security,
    .popup-drive .popup-drive--security {
        margin-bottom: 15px;
        padding-left: 20px;
        align-items: flex-start;
    }

    .popup-book-title,
    .popup-drive-title {
        font-size: 34px;
    }

    .popup-book-btn,
    .popup-drive-btn {
        height: 50px;
        font-size: 17px;
    }
}