/*@import url('https://fonts.googleapis.com/css2?family=Manrope:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Manrope+Flex:opsz,wght@8..144,100..1000&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');*/

:root {
    --mud-palette-drawer-background: #FAFAFA !important;
    --mud-palette-drawer-text: #311718 !important;
    --mud-palette-drawer-icon: #838383 !important;
    --mud-drawer-width-left: 280px !important;
    --mud-elevation-1: none !important;
    --mud-typography-caption-family: "Manrope", sans-serif !important;
    --mud-typography-family: "Manrope", sans-serif !important;
    --mud-typography-subtitle1-family: "Manrope", sans-serif !important;
    --mud-default-borderradius: 12px !important;
    --mud-typography-default-size: 0.775rem !important;

    --mud-zindex-dialog: 9999;

    --mud-typography-button-weight: 400 !important;
    --mud-palette-skeleton: #FAFAFA !important;
    --rz-input-border-radius: 12px !important;
    --mud-palette-action-disabled-background: rgba(241, 239, 239, 0.82) !important;
    /*--mud-palette-primary: rgb(0, 0, 0) !important;*/
}

.virtualize-modal .mud-dialog-container {
    max-height: 85vh !important;
    height: 85vh !important;
}

.virtualize-modal .mud-dialog-content {
    max-height: 70vh !important;
    height: 70vh !important;
    overflow-y: auto !important;
    padding: 16px !important;
}

.mud-pagination .mud-button-root
{
    height: 32px !important;
    width: 32px !important;
    min-width: unset !important;
}

html, body, #app { height: 100%; }

body {
    font-family: "Manrope", sans-serif !important;
}

/* LoginLayout styles (unscoped replacement for removed Paymap.styles.css) */
.login-layout {
    display: flex;
    padding: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.login {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    margin-top: 20vh;
}

.login-action button {
    width: 100%;
}

.login-header {
    display: flex;
    flex-direction: column;
}

.login-header h3 {
    font-weight: 400;
}

.login-header label {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
    font-weight: 300;
    font-size: 13px;
}

.login-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

button {
    border-radius: var(--mud-default-borderradius) !important;
}

#components-reconnect-modal {
    display: none !important;
}

.mud-tabs-tabbar .mud-tabs-tabbar-inner
{
    border-bottom: 1px solid #E4E4E5;
}

.mud-button-filled-primary {
    min-width: 142px !important;
}

.mud-input-numeric-spin {
    margin-right: 1rem;
}

.mud-input-number-control.mud-input-showspin .mud-input-adornment-end {
    margin-inline-end: 30px !important;
    margin-inline-start: unset;
}

.mud-dialog button {
    height: 36.5px !important;
}

h1:focus {
    outline: none;
}



.mud-table-loading {
    display: none !important;
}

._indicator {
    justify-content: center;
    display: flex;
}

.mud-table-cell .mud-icon-root {
    margin-left: auto !important;
    margin-right: auto !important;
}

.mud-table-cell {
    font-size: 11px !important;
}

.mud-table-cell .mud-typography {
    font-size: 11px !important;
}

.mud-drawer.mud-drawer-mini {
    height: 100vh !important;
}

.mud-dialog-title .mud-typography {
    font-weight: 400;
}

h2 {
    font-family: "Manrope", sans-serif !important;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 22px !important;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.mud-drawer-header {
    display: flex !important;
    flex-direction: column;
}

.mud-drawer-header img {
    width: 3rem;
}

.mud-navmenu-default, .container-padding {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}

.nav-step {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.nav-step label {
    margin-left: 0.5rem !important;
    margin-bottom: 0.5rem;
    font-size: 13px;
    font-weight: 500;
}

.nav-step .mud-icon-size-medium {
    font-size: 1.25rem !important;
}

.mud-nav-item {
    height: 42px;
    margin-bottom: 0.1rem;
}

.mud-drawer-mini .mud-nav-link {
    border-radius: 0px !important;
}

.mud-nav-link:focus:not(.mud-nav-link-disabled) svg {
    color: #0062FF !important;
}

/*.mud-drawer-header {*/
/*    flex-direction: column;*/
/*}*/

.mud-nav-link {
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.mud-nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--mud-palette-primary);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 200ms ease, opacity 200ms ease;
    z-index: 0;
}

.mud-nav-link > * {
    position: relative;
    z-index: 1;
}

.mud-nav-link:hover,
.mud-nav-link:focus-visible,
.mud-nav-link.select,
.mud-nav-link.mud-nav-link-active {
    background-color: transparent !important;
}

.mud-nav-link:hover::before,
.mud-nav-link:focus-visible::before,
.mud-nav-link.select::before,
.mud-nav-link.mud-nav-link-active::before {
    opacity: 0.16;
    transform: scaleX(1);
}

.nav-container label {
    margin-bottom: 1rem !important;
}

.nav-container .mud-input-outlined-border {
    border-radius: 12px !important;
}

.mud-main-content {
    padding-top: 1rem !important;
}

.header {
    display: flex;
}

.header .profile {
    margin-left: auto;
    background-color: #F9F9F9;
    border-radius: 8px;
    border: 1px solid #E4E4E5;
    display: flex;
    justify-content: center;
    text-align: center;

    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;

    /* keep dropdown positioned/visible above content */
    position: relative;
    z-index: 50;
}

.header .profile label {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.header .profile label, .header .profile svg {
    margin-top: auto;
    margin-bottom: auto;
}

.header .profile .mud-avatar {
    margin-top: auto;
    margin-bottom: auto;
}

.header .profile .mud-button-label .mud-button-icon-end {
    display: flex !important;
    margin-left: unset !important;
    margin-right: unset !important;
    margin-inline-start: unset !important;
    margin-inline-end: unset !important;
}

.header .profile button {
    max-width: unset !important;
    min-width: unset !important;
    /*width: 30px !important;*/
    /*height: 30px !important;*/
}


.header .header-action {
    margin-left: auto;
    display: flex;
    margin-right: 1rem;
}

.header .header-action button {
    margin-top: auto;
    margin-bottom: auto;
}

.header .profile .deposit {
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

.mud-elevation-2 {
    box-shadow: none !important;
}

.mud-tab {
    text-transform: none !important;
}

.indicator-header .mud-svg-icon {
    margin-right: 0.2rem !important;
}

.i-item-header svg {
    width: 22px !important;
    margin-right: 0.2rem !important;
    margin-top: auto;
    margin-bottom: auto;
}

.params button {
    margin-top: 1rem !important;
}

.mud-button-filled {
    box-shadow: none !important;
    text-transform: none !important;
    font-family: "Manrope", sans-serif !important;
    border-radius: 12px !important;
    background-color: #FAFAFA !important;
    color: #000 !important
}

.mud-container-maxwidth-lg {
    max-width: unset !important;
}

.mud-dialog .mud-button {
    width: 100%;
}

.mud-dialog .mud-input {
    border-radius: 12px !important;
}

.mud-dialog-actions {
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-bottom: 24px !important;
}

.login fieldset {
    border-radius: 6px !important;
}

.login .login-action button {
    width: 100% !important;
    height: 40px;
    background-color: #E2552C !important;
    color: #fff !important;
    border-radius: 6px !important;
    margin-top: 0.5rem;
}

.action button {
    width: 100%;
}

.input-confines {
    max-width: 450px !important;
}

.margin-input {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.mud-table-cell {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.invoice-status {
    padding: 0.6rem;
    display: flex;
    border-radius: 9px;
    color: #fff;
    display: flex;
    justify-content: center;
}

.reflective-invoice-action {
    margin-top: 1rem;
}

.reflective-invoice-action button {
    width: 100%;
}

/* ReflectiveInvoiceData (global styles, no CSS-isolation attrs) */
.reflective-invoice-data {
    display: flex;
    flex-direction: row;
    font-size: 13px;
    height: 100%;
}

.reflective-invoice {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #F0F0F0;
    padding: 1rem;
    height: 100%;
}

.data-left {
    flex: 1 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.data-right {
    flex: 1 1;
}

.reflective-line {
    display: flex;
    margin-bottom: 0.25rem;
}

.reflective-line div:first-of-type {
    flex: 1 1;
}

.reflective-line div:last-of-type {
    flex: 1 1;
    text-align: end;
}

.reflective-line div:last-of-type label:last-of-type {
    color: #020202;
    font-weight: 500;
}

.important label:first-of-type {
    font-weight: 600;
    color: #020202;
}

.data-right {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.img-bg {
    background-color: #e6e6e6;
    border-radius: 12px;
    width: 100%;
    height: 100%;
}

.data-right img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.not-found-base64 {
    background-color: #232323;
    width: 100%;
    height: 100%;
    display: flex;
    margin-left: 1rem;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    justify-content: center;
    justify-items: center;
}

.not-found-base64 label {
    margin-top: auto;
    margin-bottom: auto;
}

.users-header .mud-select {
    margin-top: auto;
    margin-bottom: auto;
}

.users-header button {
    height: 51px !important;
    margin-top: auto;
    margin-bottom: auto;
}

.item-row .mud-icon-root {
    margin-left: auto;
    margin-right: auto;
}

.settings-item button {
    margin-top: auto;
    width: 100%;
}

.settings .settings-item:last-of-type {
    width: 100% !important;
    flex: auto !important;
}

.user-info .item-row {
    white-space: nowrap;
}

.user-info .item-row:first-of-type {
    min-width: 20%;
}

.tab-header {
    display: flex;
    margin-bottom: 0.5rem;
    gap: 15px;
}

.tab-header button {
    height: 51px !important;
    margin-top: auto;
    margin-bottom: auto;
}

.tab-data {
    margin-top: 1rem;
}

.dialog-check {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    background-color: #FAFAFA !important;
    border: 1px solid #F1F1F1;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
}


.dialog-check .mud-input-control p {
    font-size: 13px;
}

.mud-icon-size-medium {
    font-size: 18px !important;
}

.user-wallet-action .mud-icon-root {
    fill: #005BE3 !important;
}

.full-width {
    grid-column: span 2;
}

.mud-container {
    padding-bottom: 1rem !important;
}

.qr-image {
    display: flex;
}

.two-fields .mud-input-control {
    margin-bottom: unset !important;
}

.two-fields .mud-input-control:last-of-type {
    margin-right: auto;
}

.two-fields .mud-select {
    flex-grow: unset !important;
    width: 180px;
    margin-top: auto;
}

.mud-table-pagination-caption {
    display: none !important;
}

.mud-drawer-header .mud-typography-h6 {
    margin-top: auto;
    margin-left: 0.4rem;
}

.mud-drawer-header img {
    width: 14.75rem !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.mud-drawer-header {
    flex-direction: row !important;
}

.nav-container label:first-of-type {
    font-weight: 500;
    position: relative;
    /* margin-left: 1rem; */
    text-align: center;
    width: 100%;
}


.exit-btn {
    width: 36.5px;
    height: 36.5px;
}

.header-menu {
    position: fixed;
    z-index: 20000;
    display: none;
    left: 2rem;
    bottom: 5rem;
}

.header-menu .mud-button-label .mud-button-icon-start {
    display: inherit;
    margin-left: unset !important;
    margin-right: unset !important;
    margin-inline-start: unset !important;
    margin-inline-end: unset !important;
}

.header-menu button {
    width: 54px !important;
    height: 54px !important;
    min-width: unset !important;
    background-color: #020202 !important;
    color: #fff !important;
    font-size: 21px !important;
}

.header-menu .mud-icon-root {
    width: 1.4rem !important;
    height: 1.4rem !important;
}

.hide {
    display: none !important;
}

.show {
    display: unset !important;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 16px;
}

.grid-item {
    box-sizing: border-box;
    background-color: #ddd;
    border-radius: 12px;
}

.mud-table .mud-table-child-content .reflective {
    width: 50%;
}

.mud-table .mud-table-child-content .reflective .settings {
    display: grid !important;
}

.mud-popover-open .mud-menu-list .mud-menu-item button {
    width: 100% !important;
    height: 100% !important;
}

.mud-popover-open .mud-menu-list {
    animation: mud-menu-pop-in 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: top center;
}

@keyframes mud-menu-pop-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mud-popover-open .mud-menu-list {
        animation: none;
    }
}

.copy-btn {
    width: 24px;
    height: 24px;
    margin-left: 0.2rem !important;
}

.mud-tabs .tab-data .pagination {
    margin-top: 2rem;
    display: flex;
}

.mud-tabs .tab-data .pagination .mud-pagination {
    margin-left: auto;
    margin-right: auto;
}

.mud-table-body .mud-tab.mud-tab-active {
    background-color: #F1F1F16E !important;
}

.wallet-list {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}

.grid-list p:first-of-type {
    text-align: center;
}

.tab-head-item .mud-picker-inline {
    width: 60% !important;
    flex: none !important;
}

.mud-input-label-outlined.mud-input-label-margin-dense {
    transform: translate(14px, 10px) scale(1);
}

.tab-head-item .mud-select {
    /*width: 200px !important;*/
    /*flex: none !important;*/
}

.tab-head-item .mud-select .mud-select-input {
    line-height: 40px !important;
    height: 40px !important;
}

.login-inputs .mud-input {
    line-height: 40px !important;
    height: 40px !important;
}

.nav-container .mud-input {
    line-height: 40px !important;
    height: 40px !important;
}

input:-webkit-autofill {
    box-shadow: 0 0 0 3000px var(--input-bg, white) inset !important;
    -webkit-text-fill-color: var(--input-color, #000) !important;
    caret-color: var(--input-color, #000) !important;
}


.virtualize-modal .mud-typography-caption
{
    line-height: 40px !important;
    height: 40px !important;
}

.tab-head-item .mud-button-filled-size-medium, .tab-head-item .mud-menu,.tab-head-item .mud-input-outlined-with-label
{
    height: 41px;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.tab-header .mud-input-control-input-container
{
    margin-top: auto;
    margin-bottom: auto;
}

.tab-stats-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab-head, .tab-stats {
    margin-bottom: 1rem;
}

.tab-fin-stats-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab-head-item {
    display: flex;
    gap: 1rem;
}

.reflective .action button {
    background-color: #f1f1f1 !important;
}

.user-wallet-action .mud-button-filled {
    background-color: #FFF !important;
}

.indicator-collection {
    min-height: 88px !important;
}

.log-items-data
{
    width: 100%;
}

.dialog-row
{
    margin-bottom: 0.2rem !important;
}

@media (min-width: 1600px) {
    .user-item {
        display: grid
    }

    .user-info {
        display: grid
    }
}

@media (max-width: 710px) {
    .mud-layout .mud-drawer-fixed {
        display: none;
        position: fixed !important;
        height: 100vh !important;
    }

    .mud-drawer-open-mini-md-left .mud-main-content {
        margin-left: unset !important;
    }

    .header-menu {
        display: unset;
    }

    .users-header {
        display: grid !important;
        margin-bottom: 1rem;
    }

    .users-list .user-item {
        display: flex !important;
        flex-direction: column;
    }

    .users-list .user-item .mud-avatar {
        margin-left: auto;
        margin-right: auto;
    }

    .users-list .user-item .user-info {
        flex-direction: column;
    }

    .users-list .user-item .user-action {
        margin-top: 1rem;
    }

    .grid-list {
        grid-template-columns: unset !important;
    }

    .reflective .header {
        display: grid !important;
    }

    .reflective .settings {
        display: grid !important;
    }

    .reflective .information {
        display: grid !important;
    }

    .mud-table .mud-table-child-content .reflective {
        max-width: 100% !important;
    }

    .mud-table-body .mud-paper {
        width: 100%;
        display: flex !important;
        flex-direction: column;
    }

    .user-wallet {
        max-width: unset !important;
    }
    
    .tab-head-item
    {
        flex-wrap: wrap;
    }
    
    .tab-head-item .mud-picker-input-button
    {
        width: 100% !important;
    }

    .reflective-invoice-data
    {
        flex-direction: column !important;
    }

    .data-right
    {
        padding-left: unset !important;
        padding-right: unset !important;
        margin-top: 1rem !important;
        min-height: 700px;
    }

    .not-found-base64
    {
        margin-left: 0rem !important;
    }
}

.log-item
{
    display: flex;
    background-color: #FAFAFA;
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 1rem;
}

.invoice-row
{
    display: flex;
    gap: 10px;
}

.invoice-row .reflective-invoice
{
    width: 100%;
}

.tab-data
{
    display: flex;
    flex-direction: column;
    height: 100%;            /* занимает всё доступное высоты у родителя */
    min-height: 0;           /* важно, чтобы дочерний overflow работал внутри flex */
}

.invoice-row {
    align-items: stretch;
    height: 606px;
}

.invoice-card {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.log-item-type
{
    display: flex;
    margin-right: 1rem;
}

.log-item-type .mud-avatar
{
    margin-top: auto;
    margin-bottom: auto;
}

.tab-fin-stats:last-of-type
{
    margin-top: 1rem;
}

.log-data
{
    display: flex;
}

.log-data span:first-of-type
{
    font-weight: 500;
    margin-right: 0.3rem;
}

.log-data-description
{
    margin-top: 0.3rem;
}

.log-data-date
{
    margin-top: 0.3rem;
    display: flex;
}

.log-data-date span:first-of-type
{
    font-weight: 500;
}

.log-data-date span:last-of-type
{
    margin-left: auto;
    font-weight: 500;
}

.log-data span:last-of-type
{
    margin-left: auto;
}

.order-table-page {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.orders-page-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 6px 0 6px;
    margin-top: -50px;
}

.orders-direction-toggle {
    margin-left: 10px;
}

.orders-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.orders-direction-tabs .mud-tabs-panels {
    display: none;
}

.orders-direction-tabs .mud-tabs-toolbar {
    min-height: unset;
}

.orders-title {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #111827;
}

.mud-dark-theme .orders-title {
    color: #ffffff;
}

.orders-direction-toggle-group {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: #ffffff;
    padding: 2px;
}

.mud-dark-theme .orders-direction-toggle-group {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(26, 26, 26, 0.8);
}

.orders-direction-toggle-group .mud-button-root {
    text-transform: none;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 14px;
    min-width: 84px;
    border-radius: 8px;
}

.course-time {
    font-weight: 600;
    font-size: 12px;
    color: rgba(17, 24, 39, 0.7);
}

.mud-dark-theme .course-time {
    color: rgba(255, 255, 255, 0.72);
}

.header .profile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 1500;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    padding: 8px;
    z-index: 20;

    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 140ms ease,
        transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1),
        visibility 0s linear 160ms;
}

.profile-dropdown.is-open {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition:
        opacity 140ms ease,
        transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1),
        visibility 0s;
}

.profile-dropdown:focus-within {
    visibility: visible;
    pointer-events: auto;
}

.mud-dark-theme .profile-dropdown {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.12);
}

.profile-dropdown-title {
    font-weight: 800;
    font-size: 12px;
    color: rgba(17, 24, 39, 0.8);
    padding: 6px 8px 8px;
}

.mud-dark-theme .profile-dropdown-title {
    color: rgba(255, 255, 255, 0.82);
}

.profile-dropdown-item {
    width: 100%;
    justify-content: flex-start;
    text-transform: none;
    font-weight: 700;
}

.profile-dropdown-sep {
    height: 1px;
    background: rgba(17, 24, 39, 0.08);
    margin: 6px 0;
}

.mud-dark-theme .profile-dropdown-sep {
    background: rgba(255, 255, 255, 0.10);
}

.column-settings-dialog {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-columns-link {
    margin-left: 8px;
}

.order-details-dialog .mud-dialog {
    width: min(96vw, 1400px);
    max-width: 96vw;
}

.order-dialog-title {
    font-weight: 900;
    letter-spacing: -0.02em;
}

.order-top-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.order-filters-block {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
    border: 1px solid #e4e9ef;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}

.order-filters-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
}

.order-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 10px;
}

.order-filters-settings {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 8px;
}

.filters-dialog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: end;
}

.order-table-wrap {
    background: linear-gradient(180deg, #f9fafb 0%, #f4f6f8 100%);
    border-radius: 14px;
    border: 1px solid #e4e9ef;
    overflow: auto;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1100px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.order-table thead th {
    text-align: left;
    font-weight: 600;
    padding: 13px 14px;
    border-bottom: 1px solid #d9dde2;
    color: #4a4f57;
    background: #f2f5f8;
    position: sticky;
    top: 0;
    z-index: 1;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.order-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e5e9;
    vertical-align: top;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.35;
}

.order-time {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.order-date {
    margin-top: 2px;
    color: rgba(17, 24, 39, 0.66);
    font-size: 12px;
    font-weight: 600;
}

.mud-dark-theme .order-date {
    color: rgba(255, 255, 255, 0.7);
}

.order-expiry {
    margin-top: 6px;
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    font-size: 12px;
    font-weight: 700;
    color: rgba(17, 24, 39, 0.72);
    background: rgba(255, 255, 255, 0.65);
}

.mud-dark-theme .order-expiry {
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
    background: rgba(26, 26, 26, 0.55);
}

.order-amount {
    font-weight: 800;
}

.order-requisite .req-bank {
    font-weight: 800;
}

.order-requisite .req-holder {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(17, 24, 39, 0.78);
}

.mud-dark-theme .order-requisite .req-holder {
    color: rgba(255, 255, 255, 0.78);
}

.order-requisite .req-value {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(17, 24, 39, 0.72);
}

.mud-dark-theme .order-requisite .req-value {
    color: rgba(255, 255, 255, 0.72);
}

.order-table tbody tr:nth-child(even) td {
    background: #fcfdff;
}

.order-table tbody tr:hover td {
    background: #f5f9ff;
}

.order-table tbody tr:last-child td {
    border-bottom: none;
}

.order-open-btn {
    background: #eef3ff;
    border: 1px solid #d5e2ff;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.order-open-btn:hover {
    background: #dfe9ff;
    border-color: #bdd0ff;
}

.order-id-label {
    font-size: 11px;
    color: #677180;
}

.order-id-chip {
    display: inline-block;
    padding: 2px 7px;
    background: #eef2f7;
    border: 1px solid #d9e1eb;
    border-radius: 999px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    color: #1f2937;
    box-shadow: inset 0 -1px 0 rgba(16, 24, 40, 0.05);
}

.order-table .invoice-status {
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
}

.order-table .mud-icon-button-root {
    transform: scale(0.92);
}

.pagination-container {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 6px 2px 2px;
}

@media (max-width: 1100px) {
    .order-top-filters {
        grid-template-columns: 1fr;
    }
}

.order-details-panel {
    background: #f7f9fc;
    border: 1px solid #e1e5ea;
    border-radius: 12px;
    padding: 12px;
}

.order-details-tabs {
    background: #fff;
    border-radius: 10px;
}

.order-details-card {
    background: #fff;
    border: 1px solid #e5e8ed;
    border-radius: 10px;
    padding: 12px;
}

.order-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 10px;
}

.order-details-pair {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-details-label {
    font-size: 12px;
    color: #697180;
}

.order-details-value {
    font-size: 14px;
    color: #1f2630;
}

.order-mini-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.order-mini-table thead th {
    text-align: left;
    font-size: 12px;
    color: #5f6978;
    border-bottom: 1px solid #dde3ea;
    padding: 8px;
}

.order-mini-table tbody td {
    font-size: 13px;
    color: #1f2630;
    border-bottom: 1px solid #eef1f5;
    padding: 8px;
    vertical-align: top;
}

.order-bottom-actions {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 10px;
    position: sticky;
    bottom: 8px;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.order-action-btn {
    text-transform: none;
    font-weight: 700;
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-size-label {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: rgba(17, 24, 39, 0.7);
}

.mud-dark-theme .page-size-label {
    color: rgba(255, 255, 255, 0.72);
}

.page-size-select {
    min-width: 96px;
}

.callback-code-badge {
    display: inline-block;
    min-width: 44px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.callback-code-badge.code-2xx {
    background: #eaf8ee;
    color: #1d7a33;
    border-color: #b8e7c4;
}

.callback-code-badge.code-4xx {
    background: #fff4e8;
    color: #9a5a00;
    border-color: #ffd3a6;
}

.callback-code-badge.code-5xx {
    background: #fdecee;
    color: #a62828;
    border-color: #f6bcc1;
}

.callback-code-badge.code-other {
    background: #eef2f7;
    color: #4a5568;
    border-color: #d9e1eb;
}

.order-details-dialog .mud-dialog {
    max-height: 82vh !important;
}

.order-details-dialog .mud-dialog-content {
    max-height: 68vh;
    overflow: auto;
}