

/* Start:/local/templates/v1/assets/css/personal.css?17866022599022*/
/*
 * Личный кабинет: /personal/, /personal/login/, /personal/register/.
 * Подключается только на страницах раздела (см. Asset::addCss в index.php
 * этих страниц), в общий style.css не включён.
 *
 * Переиспользуемые стили сайта (не дублируем здесь): .text-h1.text-color-darkred,
 * .button/.button-dark, .button-light/.button-light-active, input/.input,
 * .content/.content__container, .text-color-subtext.
 */

.personal {
    width: 100%;
}

.personal__subtitle {
    margin-top: 8px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #262626;
}

/* ---------- Табы «Активные / Завершенные» ---------- */

.personal__tabs {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.personal__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    border: 1px solid #393939;
    background: #fff;
    color: #393939;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.personal__tab:hover {
    background: #f7f3f4;
}

.personal__tab.is-active {
    background: #efe6e9;
    border-color: #59001a;
    color: #59001a;
}

/* ---------- Список заявок ---------- */

.personal__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin-top: 24px;
}

.personal__list.is-hidden {
    display: none;
}

.personal__list_empty {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
}

/* ---------- Пустое состояние (нет заявок вовсе) ---------- */

.personal__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    text-align: center;
}

.personal__empty_text {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
}

/* ---------- Карточка заявки ---------- */

.personal-order {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid #d7d7d7;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.personal-order__image {
    flex: 0 0 276px;
    position: relative;
    background: #efe6e9;
}

.personal-order__image.-empty {
    background: #59001a url("/local/templates/v1/assets/css/../images/logo.svg") no-repeat center;
    background-size: 96px auto;
}

.personal-order__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.personal-order__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
}

.personal-order__head {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.personal-order__name {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    color: #262626;
    text-decoration: none;
}

a.personal-order__name:hover {
    color: #59001a;
}

.personal-order__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
}

.personal-order__status_icon {
    display: block;
    width: 18px;
    height: 18px;
}

.personal-order__status.-new { background: #ff5f00; }
.personal-order__status.-progress { background: #f79e1b; }
.personal-order__status.-approval { background: #00b4e6; }
.personal-order__status.-measure { background: #db3f3f; }
.personal-order__status.-done { background: #2fb331; }

.personal-order__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.personal-order__meta_item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 24px;
    border-left: 1px solid #d7d7d7;
}

.personal-order__meta_item:first-child {
    padding-left: 0;
    border-left: none;
}

.personal-order__meta_label {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #969696;
}

.personal-order__meta_value {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #262626;
}

@media only screen and (max-width: 768px) {
    .personal__tabs {
        margin-top: 16px;
    }

    .personal__tab {
        flex: 1 1 0;
        height: 38px;
        padding: 0 12px;
        font-size: 13px;
    }

    .personal__list {
        gap: 16px;
        margin-top: 16px;
    }

    .personal-order {
        flex-direction: column;
        border-radius: 12px;
    }

    .personal-order__image {
        flex-basis: auto;
        aspect-ratio: 350 / 190;
    }

    .personal-order__body {
        gap: 16px;
        padding: 16px;
    }

    .personal-order__head {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 12px;
    }

    .personal-order__name {
        font-size: 16px;
    }

    .personal-order__meta {
        gap: 0;
    }

    .personal-order__meta_item {
        padding: 0 12px;
    }

    .personal-order__meta_label {
        font-size: 12px;
    }

    .personal-order__meta_value {
        font-size: 15px;
    }
}

/* ---------- Формы входа / регистрации / восстановления пароля ---------- */

.personal-auth-page {
    width: 100%;
    display: flex;
    justify-content: center;
}

.personal-auth {
    width: 100%;
    max-width: 342px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.personal-auth .text-h1 {
    margin-bottom: 8px;
}

.personal-auth__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    text-align: left;
}

.personal-auth__field {
    position: relative;
    width: 100%;
}

.personal-auth__field .input {
    width: 100%;
}

.personal-auth__field--password .input {
    padding-right: 44px;
}

.personal-auth__eye {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: url("/local/templates/v1/assets/css/../images/personal/eye-off.svg") no-repeat center;
    background-size: 20px;
    cursor: pointer;
}

.personal-auth__eye.is-visible {
    background-image: url("/local/templates/v1/assets/css/../images/personal/eye.svg");
}

.personal-auth__forgot_row {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
}

.personal-auth__forgot {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #59001a;
    text-decoration: none;
}

.personal-auth__forgot:hover {
    text-decoration: underline;
}

.personal-auth__submit {
    width: 100%;
    margin-top: 8px;
}

.personal-auth__switch {
    margin-top: 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #393939;
}

.personal-auth__switch a {
    color: #59001a;
    text-decoration: none;
}

.personal-auth__switch a:hover {
    text-decoration: underline;
}

.personal-auth__note {
    margin-top: 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #393939;
    text-align: left;
    width: 100%;
}

.personal-auth__error {
    width: 100%;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fdecec;
    color: #db3f3f;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    text-align: left;
}

.personal-auth__error p {
    margin: 0;
}

.personal-auth__error p + p {
    margin-top: 4px;
}

.personal-auth__captcha_img {
    display: block;
    margin-bottom: 8px;
    border-radius: 4px;
}

/* Чекбокс согласия — тот же вид, что в .installment-feedback__form, но не
   завязан на её обёртку: там стили заданы через родительский класс формы
   рассрочки и вне неё не действуют. */
.personal-auth .concst-block {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}

.personal-auth .concest-checkbox {
    flex: 0 0 auto;
    appearance: none;
    width: 24px;
    height: 24px;
    margin: 0;
    border-radius: 2px;
    border: 1px solid #ededed;
    background: transparent;
    cursor: pointer;
    transition: all .2s ease;
}

.personal-auth .concest-checkbox:hover {
    border-color: #59001a;
    background-color: #efe6e9;
}

.personal-auth .concest-checkbox:checked {
    background-color: transparent;
    background-image: url("/local/templates/v1/assets/css/../images/rassrochka/inner-checkbox.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    outline: 1px solid #fff;
    border-color: #59001a;
}

@media only screen and (max-width: 768px) {
    .personal-auth {
        max-width: 100%;
    }
}

/* End */
/* /local/templates/v1/assets/css/personal.css?17866022599022 */
