@import "./variables.css";

.page, .forgot-password {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0 24px;
}

.forgot-password {
    background-color: var(--bg-form);
    padding: 13px 0 0;
    border-radius: 16px;
    margin-bottom: 16px;
}

.page-container {
    padding-top: 160px;
}

.error-img {
    margin-bottom: 24px;
}

.back-to-home {
    color: var(--title-color);
    font-size: 16px;
    letter-spacing: 0.3px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    transition: 0.3s;
    margin-top: 20px;
}

.back-to-home svg {
    transform: rotate(180deg);
    margin-right: 8px;
}

.back-to-home:hover svg {
    position: relative;
    left: -5px;
}

.back-to-home svg path {
    stroke: #fff;
}

.txt {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.56px;
}

.password {
    position: relative;
    margin-bottom: 18px;
}

.password .eye {
    top: 31px;
}

.change-password-btn {
    padding: 8px 16px;
    border: 1px solid #2DAC84;
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 12px;
    color: #fff;
    background: var(--bg-btn);
    height: 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-top: 32px;
}

.change-password-btn:hover {
    background: var(--btn-hover);
    transition: 0.3s linear;
}

.page-container-terms {
    width: 100%;
    max-width: 89%;
    margin: 0 auto;
}

.page-container-terms-content {
    padding-top: 36px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.page-container-terms .back-container {
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    padding: 40px 0 16px;
}

.page-container-terms .page {
    max-width: 50%;
    width: 100%;
    margin-bottom: 50px;
}

.terms-img {
    max-width: 50%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: fixed;
    right: 0;
    height: 100vh;
}

.page-container-terms .back-to-home {
    width: max-content;
    margin: auto 0 0 0;
}

.back-container {
    width: 100%;
    padding-left: 102px;
    text-align: left;
}

.terms-content {
    width: 100%;
    text-align: left;
}

.terms-header-right {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.terms-header-right > div {
    margin-left: 32px;
}

.page-container-terms .back-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.page-container-terms .back-container .back-to-home {
    margin-top: 0;
}

.light .back-to-home svg path {
    stroke: #434e5b;
}

.error-page-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.error-page-txt {
    max-width: 400px;
    width: 100%;
}

a.txt {
    text-decoration: underline;
}

.error-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 90px;
}

input[type=search] {
    border-radius: 6px;
    border: 1px solid var(--border-select);
    background: var(--bg-select);
    padding: 11px 16px;
    font-size: 14px;
    color: var(--color-select);
    width: 100%;
    min-width: 83px;
}

.error-page-txt .title {
    margin-top: 0;
}

.error-code {
    color: #2DAC84;
    font-family: GHEAHelveticaGeoBold;
    font-size: 102px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0.3px;
    margin-right: 32px;
    margin-top: 11px;
}

.error-search-form {
    position: relative;
}

.error-search-form button {
    border: none;
    background: transparent;
    position: absolute;
    right: 11px;
    top: 8px;
}

.input-content {
    position: relative;
}

.eye {
    position: absolute;
    right: 8px;
    top: 26px;
    cursor: pointer;
}


@media (max-width: 1600px) {
    .terms-img img {
        width: 55%;
    }
}

@media (max-width: 900px) {
    .back-container {
        padding-left: 0;
    }

    .terms-content, .page-container-terms .page {
        max-width: 100%;
    }

    .terms-img {
        display: none;
    }

    .page-container-terms .back-container {
        padding-top: 0;
    }

    .page-container-terms-content {
        padding-top: 0;
    }

    .page-container-terms .back-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -moz-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding-top: 24px;
    }

    .page-container-terms .back-container .back-to-home {
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -moz-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        margin-top: 24px;
    }

    .terms-header-right .toggle-container {
        margin-left: 0;
    }

    .theme-btn-content {
        white-space: nowrap;
    }

    .page-container-terms-content .page {
        padding: 0;
    }
}

@media (max-width: 660px) {
    .error-code {
        font-size: 70px;
        margin: 0 0 16px 0;
    }

    .error-content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .error-content {
        margin-top: 40px;
    }
}

@media (max-width: 393px) {
    .terms-header-right .language {
        margin-left: 16px;
    }

    .error-page-header .title {
        font-size: 14px;
    }
}

@media (max-width: 369px) {
    .terms-header-right {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -moz-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .terms-header-right .language {
        margin-left: 0;
        margin-top: 24px;
    }
}
