/*html, body {*/
/*    !*padding: 0;*!*/
/*    !*margin: 0;*!*/
/*    !*height: 100%*!*/
/*}*/

body {
    min-width: 768px;
}

.header {
    border-bottom: 1px solid #d8dde8;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.header-aside,
.aside {
    width: 300px;
    float: left;
}

.aside {
    padding: 24px 20px;
}

.header-aside a {
    display: flex;
    font-size: 10px;
    align-items: center;
    line-height: 155%;
    letter-spacing: 1.2px;
    text-decoration: none;
}

.header-aside span img {
    width: 28px;
}

.header-aside span {
    background-color: #E8E3D7;
    padding: 6px;
    border-radius: 7px;
}

.header-aside strong {
    padding-left: 8px;
    font-weight: 700;
    color: #003B5C;
}

.label-light-success {
    background-color: #D9F7BE;
    color: #237804;
}

.aside {
    width: 300px;
    float: left;
    padding: 24px 20px;
}

.app-content {
    display: block;
    overflow: hidden;
    width: auto;
}

.app-content-container {
    width: 100%;
    padding: 32px 64px;
}

.header-content {
    flex: 1;
    display: flex;
}

.header-content {
    justify-content: space-between;
    align-items: center;
}

.user-welcome-message {
    color: #000;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 32px;
}

.app-content-container {
    width: 100%;
    padding: 32px 64px;
}

@media (max-width: 1440px) {
    .app-content-container {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .header-subject {
        display: none;
    }
}

.header-subject-name {
    font-weight: 600;
    font-size: 15px;
}

.header-subject-bin {
    font-weight: 400;
    font-size: 14px;
    color: #2A2C31CC;
}

.header-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-navigation-widget {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.header-navigation-widget>a,
.header-navigation-widget>div>a{
    padding: 0 10px;
    color: #2A2C31;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.header-navigation-login {
    padding: 22px 0 22px 20px;
}

.header-navigation-login > a {
    text-decoration: none;
    color: #2A2C31;
    font-size: 15px;
    font-weight: 600;
}
.header-navigation-login > a > i {
    padding-left: 12px;
    display: inline-block;
}

.aside ul,
.aside ul > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aside ul > li > a {
    display: block;
    text-decoration: none;
    padding: 12px 10px;
    font-size: 15px;
    white-space: break-spaces;
}

.aside > ul > li > a {
    color: #2A2C31CC;
    border-radius: 7px;
    font-weight: 500;
}

.aside > ul > .dropdown {
    position: relative;
}

.aside > ul > .dropdown .dropdown-menu {
    padding: 5px;
    margin: 0;
    border-radius: 4px;
    border: none;
    width: 465px;
    max-width: 465px;
    top: 0;
    left: 100%;
}

.aside .dropdown-sub-menu:hover > a {
    font-size: 15px !important;
}

.aside > ul > .active > a,
.aside > ul > li > a:hover,
.aside > ul > li > a:focus,
.aside > ul > li > a:active {
    color: #fff !important;
    background-color: #003B5C !important;
}


.footer {
    height: 85px;
    border-top: 1px solid #d8dde8;
    padding-top: 20px;
}

.label-wallet {
    font-size: 15px;
    padding: 8px 12px;
}

/*.card {*/
/*    background-color: #fff;*/
/*    border-radius: 16px;*/
/*    border: 1px solid #CDD7E1;*/
/*}*/

/* Шапка карточки */
/*.card-header {*/
/*    border-bottom: 1px solid #CDD7E1;*/
/*    padding: 24px;*/
/*    font-weight: 600;*/
/*        display: flex;*/
/*        justify-content: space-between; !* Тексты — влево, тулбокс — вправо *!*/
/*        align-items: center;            !* Центрируем по вертикали *!*/
/*    }*/

/*    !* Блок с текстами: делаем его колонкой *!*/
/*    .card-title-group {*/
/*        display: flex;*/
/*        flex-direction: column; !* Заголовок над подзаголовком *!*/
/*    }*/

/*    .card-title {*/
/*        font-weight: 700;*/
/*        color: #171A1C;*/
/*        line-height: 1.2;*/
/*    }*/

/*    .card-subtitle {*/
/*        color: #2A2C31CC; !* Приглушенный цвет для подзаголовка *!*/
/*        margin-top: 2px;*/
/*        font-weight: 400;*/
/*    }*/

/*    !* Кнопки справа *!*/
/*    .card-toolbox {*/
/*        display: flex;*/
/*        gap: 8px;*/
/*    }*/

/*    .w-100 {*/
/*        width: 100%;*/
/*    }*/

/* Основное тело карточки */
/*.card-body {*/
/*    padding: 24px;*/
/*}*/

/*!* Эффект "смыва" границ и отступов *!*/
/*.card.card-flush > .card-header {*/
/*    border-bottom: none;*/
/*    padding-bottom: 0; !* Прижимает заголовок к body *!*/
/*}*/

/*.card.card-flush > .card-footer {*/
/*    border-top: none;*/
/*    padding-top: 0; !* Прижимает футер к body *!*/
/*}*/

/*!* Текст внутри тела *!*/
/*.card-text {*/
/*    color: #6c757d;*/
/*    line-height: 1.6;*/
/*    margin-bottom: 1.25rem;*/
/*}*/

/*!* Ссылки внутри карточки *!*/
/*.card-link {*/
/*    font-weight: 500;*/
/*    text-decoration: none;*/
/*    transition: color 0.2s ease;*/
/*}*/

/*.card-link:hover {*/
/*    color: #0056b3;*/
/*    text-decoration: underline;*/
/*}*/

/*!* Подвал карточки *!*/
/*.card-footer {*/
/*    border-top: 1px solid rgba(0,0,0,0.05);*/
/*    padding: 1rem 1.5rem;*/
/*    font-size: 0.9rem;*/
/*    color: #adb5bd;*/
/*}*/
/* Основной стиль кнопки */
.btn-indigo-dark {
    --bg-color: #006196; /* Глубокий индиго */
    --bg-hover: #004265; /* Еще темнее для наведения */
    --text-color: #ffffff;

    background-color: var(--bg-color);
    border-color: var(--bg-color);
    border-radius: 10px;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: all 0.25s ease-in-out;
}

/* Эффект при наведении */
.btn-indigo-dark:hover {
    background-color: var(--bg-hover);
    border-color: var(--bg-hover);
    color: #ffffff;
}

/* Состояние при нажатии (active) */
.btn-indigo-dark:active,
.btn-indigo-dark.active {
    background-color: #2e2a7a !important;
}

/* Фокус (для доступности) */
.btn-indigo-dark:focus {
    color: #ffffff;
    background-color: var(--bg-hover);
    outline: none;
}

/* Вариант Outline (контурная кнопка), если понадобится */
.btn-outline-indigo-dark {
    color: #006196;
    border-color: #006196;
    background-color: transparent;
}

.btn-outline-indigo-dark:hover {
    background-color: #006196;
    color: #fff;
}

.aside-toggle {
    position: fixed;
    left: 326px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;

    width: 24px;
    height: 75px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    border: 1px solid #d8dde8;
    border-left: 0;
    border-radius: 0 7px 7px 0;

    cursor: pointer;
    transition: left 0.2s ease;
}

.aside-toggle svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #2A2C31;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

body.aside-collapsed .aside {
    display: none;
}

body.aside-collapsed .aside-toggle {
    left: 0;
}

body.aside-collapsed .aside-toggle svg {
    transform: rotate(180deg);
}

.aside-toggle:hover {
    background: #f5f6f8;
}