.blue-box {
    padding: 20px;
    border-radius: 30px;
    background: #ffffff;
    -webkit-box-shadow: 0 5px 20px 0 #d8d8d8;
    box-shadow: 0 5px 20px 0 #d8d8d8
}

.box__title {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: normal;
    display: table;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    min-width: 190px;
}

.form__row-right {
    gap: 10px;
}

.checkbox__label {
    font-size: 14px;
    position: relative;
}

.checkbox__label::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__label::before {
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAdklEQVR4nGNgGPRAxLhFkmRNYvqtAeIG7XcZ7OtZiNYkrt/hLa7fdkfUsE1lADWJ6bUVieu3d+Pyk6hxlzJWU1VUJrKLGbRtETdo7yfZeSpgze2bQZpJ9pOMRS+nuEH7TjH9toc4nYcLaGnVs8nptguSpIkuAADRByt3zS/6QAAAAABJRU5ErkJggg==') no-repeat center !important;
}

.remember-password {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: underline;
}

.form__bottom p {
    color: #000;
    font-size: var(--font-size-4);
    font-weight: 500;
    text-align: center;
}

/*--------------------register-page--------------------*/
.register-box {
    padding-top: 70px;
}

.register-box .form__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-box .form__label {
    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: 1000;
    border-radius: 24px;
    width: 500px;
    height: fit-content;
    right: unset;
    display: none;
}

.modal__title {
    width: 200px;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
    border-bottom: 1px solid;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.input-prefix {
    height: 100%;
    border-radius: 0 10px 10px 0;
    padding: 0 4px
}

.modal .main-title {
    font-size: 15px;
    line-height: 23px;
}

.modal .main-title {
    font-size: 15px;
    line-height: 23px;
}

.input-prefix ~ .form__input {
    padding-right: 40px;
}

@media only screen and (max-width: 576px) {
    .modal {
        max-width: 92vw;
        padding: 20px 15px;
    }
}


@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: 18px;
    }
}

@media only screen and (max-width: 500px) {
    .register-box .form__row {
        flex-direction: column;
    }

    .register-box .form__label {
        text-align: center;
    }

    .form__row-right {
        align-items: flex-start;
    }

    .remember-checkbox {
        margin-top: 6px;
    }

    .form__label 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;
    outline-offset: 4px;
    margin-bottom: 11px;
}

.offer-plan .more {
    outline: 2px solid;
    outline-offset: 2px;
}


.disable-btn {
    opacity: 0.4;
}

.modal svg path {
    fill: var(--primary-color);
}

.counter {
    font-size: 16px;
    margin: 5px 0;
    color: var(--primary-color);
    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;
    }
}

.remember-password-overlay {
    z-index: 118;
    background-color: rgba(0, 0, 0, 0.5) !important;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: none;
}

.resend-code:disabled{
    opacity: 0.4;
    cursor: no-drop;
}