/*

Общие параметры кабинета

*/

.cabinet__navigation_wrapper {
    display: flex;
    background-color: var(--colors_bg__firm_yellow);
}

.cabinet__navigation_wrapper>a {
    color: #222222;
}

.cabinet__navigation_wrapper>* {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cabinet__navigation_wrapper>a.active {
    background-color: rgb(255 255 255 / 50%);
    color: #cc0000;
}

.cabinet__navigation_wrapper>a:hover {
    background-color: rgb(255 255 255 / 80%);
}

.cabinet__navigation_wrapper .hover_cursor_pointer:hover {
    background-color: rgb(255 255 255 / 80%);
}

.cabinet__navigation_wrapper .cabinet_navigation_icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cabinet__navigation_wrapper .cabinet_navigation_title {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 25px;
}

.cabinet__navigation_wrapper .cabinet_logout {
    margin-left: auto;
}

.cabinet_widget__title {
    text-decoration: underline;
}

.cabinet_widget {
    margin-top: 75px;
}

.cabinet_widget__content {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}


/*

Стили источников

*/

.source_report_manage:hover {
    cursor: pointer;
}


/*

Раздел финансовой статистики

*/

.finance__balance_move__wrapper {
    width: 100%;
}

.balance_move__expenses_wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    border: 1px solid var(--colors_bg__firm_blue);
    overflow-x: auto;
    height: 200px;
    overflow-y: hidden;
}

.balance_move__expense_item {
    font-size: 10px;
    width: 80px;
    height: 200px;
    text-align: center;
    flex-shrink: 0;
    flex-grow: 1;
}

.balance_move__expense_item__date {
    padding: 5px;
    background-color: var(--colors_bg__firm_blue);
    color: #fff;
    height: 25px;
}

.balance_move__expense_item__value {
    background-color: #658cab2e;
    border-bottom: 1px solid var(--colors_bg__firm_blue);
    transition: height 0.4s ease-in-out;
    height: 0px;
}

/*

Раздел оплаты

*/

.finance__pay_form {
    width: 100%;
}

.finance__pay_buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.finance__pay_button {
    padding: 10px 30px;
    color: #fff;
    width: 100%;
    text-align: center;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.finance__pay_form form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.finance__form_inputs {
    display: flex;
    flex: 1;
}

.finance__pay_sum {
    height: 40px;
    border: 1px solid #434343;
    text-align: center;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
    font-size: 20px;
    font-weight: bold;
    color: #434343;
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 200px;
}

.finance__payment_methods {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.finance__pay_submit {
    height: 40px;
    border: none;
    cursor: pointer;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 200px;
    background-color: var(--colors_bg__firm_yellow);
    color: var(--colors_bg__firm_red);
    font-weight: bold;
    font-size: 16px;
}

.finance__pay_submit:hover {
    opacity: 0.8;
}

.finance__pay_form__settings {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.finance__pay_form__settings .finance__payer_person_type {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.finance__check_needed {
    display: none;
}

.finance__check_not_needed {
    display: block;
}

.finance__pay_form:has(input[name="cheque_is_needed"]:checked) .finance__check_needed {
    display: block;
}

.finance__pay_form:has(input[name="cheque_is_needed"]:checked) .finance__check_not_needed {
    display: none;
}

.finance__payer_person_type__corporate {
    display: none;
}

.finance__pay_form:has(input[value="corporate"]:checked) .finance__payer_person_type__corporate {
    display: block;
}

.finance__orders_cheques {
    max-height: 500px;
    overflow-y: scroll;
    box-shadow: inset 0 0 5px 0px #ccc;
}

.finance__orders_cheques .block_data__item>:first-child {
    margin-top: unset;
}

/*

Стили для истории авторизации

*/

.auth_data__item {
    margin-top: 20px;
}