@import url(../styles/global.css);
@import url(../styles/header.css);

.blue-box {
    /* background-color: ; */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.2);
}

.box__title {
    color: var(--color-primary);
    font-size: 25px;
    font-weight: normal;
    display: table;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    min-width: 190px
}


.form__row-right {
    gap: 10px;
}

.checkbox__lable {
    font-size: 16px;
    position: relative;
}

    .checkbox__lable::before {
        content: " ";
        width: 20px;
        height: 20px;
        display: inline-block;
        background-color: #d9d9d9;
        border-radius: 2px;
        vertical-align: middle;
        margin-left: 3px;
    }

.remember-checkbox {
    z-index: 10;
    cursor: pointer;
    margin-bottom: 3px;
    opacity: 0;
}

    .remember-checkbox:checked ~ .checkbox__lable::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 18 18' width='18px' height='18px'%3E%3Cg id='surface146028198'%3E%3Cpath style=' stroke:none%3Bfill-rule:nonzero%3Bfill:rgb(9.411765%25 61.56863%25 70.588237%25)%3Bfill-opacity:1%3B' d='M 14.984375 4.492188 C 14.789062 4.5 14.605469 4.578125 14.46875 4.71875 L 6.75 12.4375 L 4.28125 9.96875 C 4.09375 9.773438 3.8125 9.695312 3.550781 9.761719 C 3.289062 9.832031 3.082031 10.039062 3.011719 10.300781 C 2.945312 10.5625 3.023438 10.84375 3.21875 11.03125 L 6.21875 14.03125 C 6.511719 14.324219 6.988281 14.324219 7.28125 14.03125 L 15.53125 5.78125 C 15.753906 5.566406 15.820312 5.234375 15.699219 4.949219 C 15.578125 4.664062 15.292969 4.484375 14.984375 4.492188 Z M 14.984375 4.492188 '/%3E%3C/g%3E%3C/svg%3E");
    }

.remember-password {
    color: var(--color-primary);
    text-decoration: underline;
}

.form__bottom p {
    font-family: var(--font-medium);
    color: #000;
    font-size: var(--font-size-4);
    text-align: center;
}

/* -------------------------------------- register page -------------------- */
.register-box {
    padding-top: 70px;
}

    .register-box .form__row {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .register-box .form__lable {
        min-width: 120px;
        text-align: right;
    }

    .register-box .form__row-right {
        display: flex;
        justify-content: center;
        width: 100%;
    }

.overlay {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    top: 0;
    left: 0;
    display: none;
}

.modal {
    position: fixed;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 24px 31px;
    z-index: 120;
    border-radius: 24px;
    width: 500px;
    display: none;
}

.modal__title {
    color: var(--color-blue-1);
    font-weight: normal;
    font-family: var(--font-medium);
    width: 200px;
    font-size: 20px;
    border-bottom: 1px solid var(--color-blue-1);
    margin-bottom: 15px;
}

.input-prefix {
    height: 100%;
    background-color: var(--color-blue-1);
    border-radius: 0 10px 10px 0;
    padding: 0 4px
}

.modal .main-title {
    font-size: 15px;
}

.input-prefix ~ .form__input {
    padding-right: 40px;
}

@media only screen and (max-width:576px) {
    .modal {
        max-width: 92vw;
        padding: 20px 15px;
    }
}


/* -------------------------------------- register page -------------------- */
@media only screen and (max-width:992px) {
    .white-box {
        flex-direction: column;
        padding: 50px;
    }

    .box__img {
        width: 100%;
        text-align: center;
    }

    .box__title {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media only screen and (max-width:576px) {
    .form__top {
        width: 100%;
    }

    .white-box {
        padding: 20px;
    }

    .form__row.d-flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .box__title {
        font-size: 20px;
    }
}

@media only screen and (max-width:500px) {
    .register-box .form__row {
        flex-direction: column;
    }

    .register-box .form__lable {
        text-align: center;
    }

    .form__row-right {
        align-items: flex-start;
    }

    .remember-checkbox {
        margin-top: 6px;
    }

    .form__lable svg {
        flex-shrink: 0;
    }
}

.modal-overlay {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    top: 0;
    left: 0;
    display: none;
}

.offer-plan {
    outline: 2px solid var(--color-blue-5);
    outline-offset: 4px;
    margin-bottom: 11px;
}

    .offer-plan .more {
        outline: 2px solid var(--color-blue-1);
        outline-offset: 2px;
    }


.disable-btn {
    opacity: 0.5;
}

.modal svg path {
    fill: #094778;
}

.counter {
    font-size: 16px;
    margin: 5px 0;
    color: var(--color-primary);
    text-shadow: 14px 2px 10px #ccc;
}

.modal__subtitle {
    font-size: 14px;
    color: #767790;
}

.modal .main-btn, .modal .primary-btn {
    font-size: 14px;
}
.form__row {
    position: relative;
}

.text-error {
    top: 106% !important;
    right: 140px !important;
    z-index: 10 !important;
    font-size: 10px !important;
}

@media only screen and (max-width:768px) {
    .text-error {
        right: 0 !important;
    }
}