/*@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: -35px !important;
    margin-bottom: -35px !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: white;
}

.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;
}

/* ── Order details modal (Pay-in) — Vue/React UI kit, pa2 palette ── */
.od-modal-overlay {
    --od-bg: #f0e1ce;
    --od-ink: #1b1a17;
    --od-muted: rgba(27, 26, 23, 0.68);
    --od-stroke: rgba(27, 26, 23, 0.14);
    --od-accent: #c66b2a;
    --od-accent2: #a84f1a;
    --od-accent-soft: rgba(198, 107, 42, 0.14);
    --od-shadow: 0 28px 70px rgba(16, 24, 40, 0.22);
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(27, 26, 23, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: od-fade-in 0.22s ease both;
}

.od-modal-overlay.od-nested {
    z-index: 10050;
}

.od-modal {
    width: min(96vw, 520px);
    max-height: min(90vh, 900px);
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    border: 1px solid var(--od-stroke);
    background:
        radial-gradient(900px 220px at 10% 0%, rgba(198, 107, 42, 0.16), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
    box-shadow: var(--od-shadow);
    color: var(--od-ink);
    animation: od-slide-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    overflow: hidden;
}

.od-modal-xl {
    width: min(96vw, 1280px);
    max-height: min(92vh, 960px);
}

.od-modal-md {
    width: min(92vw, 720px);
}

.od-modal-sm {
    width: min(92vw, 420px);
}

.od-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--od-stroke);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45));
}

.od-modal-head.compact {
    align-items: center;
    padding: 14px 18px;
}

.od-modal-head.compact .od-modal-title {
    font-size: 17px;
}

.od-modal-head-main {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.od-modal-ico {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--od-stroke);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5));
    color: var(--od-accent2);
    box-shadow: 0 10px 22px rgba(16, 24, 40, 0.1);
}

.od-modal-ico svg {
    width: 22px;
    height: 22px;
}

.od-modal-head-text {
    min-width: 0;
    flex: 1;
}

.od-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.od-modal-sub {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: var(--od-muted);
    font-weight: 650;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.od-dot {
    opacity: 0.45;
}

.od-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
}

.od-status-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.12);
}

.od-status-pill.sm {
    padding: 4px 10px;
    font-size: 11.5px;
    align-self: flex-start;
}

.od-modal-close {
    appearance: none;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 1px solid var(--od-stroke);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--od-muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.od-modal-close:hover {
    color: var(--od-ink);
    border-color: rgba(198, 107, 42, 0.35);
    box-shadow: 0 12px 26px rgba(198, 107, 42, 0.14);
    background: rgba(255, 255, 255, 0.92);
}

.od-modal-body {
    padding: 16px 18px 18px;
    overflow: auto;
    flex: 1;
    min-height: 0;
}

.od-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 18px 16px;
    border-top: 1px solid var(--od-stroke);
    background: rgba(255, 255, 255, 0.42);
}

.od-panel {
    --od-bg: #f0e1ce;
    --od-ink: #1b1a17;
    --od-muted: rgba(27, 26, 23, 0.68);
    --od-stroke: rgba(27, 26, 23, 0.14);
    --od-accent: #c66b2a;
    --od-accent2: #a84f1a;
    --od-accent-soft: rgba(198, 107, 42, 0.14);
}

.od-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px;
    margin-bottom: 12px;
    border-radius: 999px;
    border: 1px solid var(--od-stroke);
    background: rgba(255, 255, 255, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.od-tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--od-muted);
    font-weight: 750;
    font-size: 12.5px;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.1s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.od-tab:hover {
    color: var(--od-ink);
    transform: translateY(-1px);
}

.od-tab.is-active {
    background: linear-gradient(180deg, rgba(198, 107, 42, 0.24), rgba(198, 107, 42, 0.1));
    color: var(--od-ink);
    box-shadow: 0 8px 18px rgba(198, 107, 42, 0.16);
}

.od-tab-body {
    min-height: 200px;
}

.od-card {
    border-radius: 16px;
    border: 1px solid var(--od-stroke);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
    padding: 14px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

.od-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 12px;
}

.od-span2 {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .od-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .od-span2 {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .od-grid {
        grid-template-columns: 1fr;
    }

    .od-span2 {
        grid-column: span 1;
    }
}

.od-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.od-field-highlight .od-amount {
    font-size: 18px;
    color: var(--od-accent2);
}

.od-label {
    font-size: 11.5px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--od-muted);
}

.od-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--od-ink);
    word-break: break-word;
}

.od-empty {
    padding: 24px;
    text-align: center;
    color: var(--od-muted);
    font-weight: 700;
    font-size: 13px;
}

.od-table-wrap {
    overflow: auto;
    border-radius: 12px;
    border: 1px solid var(--od-stroke);
    background: rgba(255, 255, 255, 0.55);
}

.od-table-wrap-wide {
    max-height: 360px;
}

.od-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.od-table thead th {
    text-align: left;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--od-muted);
    padding: 10px 12px;
    border-bottom: 1px solid var(--od-stroke);
    background: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
}

.od-table tbody td {
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 650;
    border-bottom: 1px solid rgba(27, 26, 23, 0.08);
    vertical-align: top;
}

.od-table tbody tr:hover td {
    background: rgba(198, 107, 42, 0.06);
}

.od-cell-url {
    max-width: 200px;
    word-break: break-all;
    font-size: 12px;
}

.od-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    white-space: nowrap;
}

.od-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
}

.od-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.od-toggle-track {
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: rgba(27, 26, 23, 0.12);
    border: 1px solid var(--od-stroke);
    position: relative;
    transition: background 0.2s ease;
}

.od-toggle-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.18);
    transition: transform 0.2s ease;
}

.od-toggle input:checked + .od-toggle-track {
    background: linear-gradient(180deg, rgba(198, 107, 42, 0.55), rgba(198, 107, 42, 0.35));
    border-color: rgba(198, 107, 42, 0.4);
}

.od-toggle input:checked + .od-toggle-track::after {
    transform: translateX(18px);
}

.od-toggle-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--od-ink);
}

.od-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--od-stroke);
    background: rgba(255, 255, 255, 0.55);
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -8px 24px rgba(16, 24, 40, 0.06);
}

.od-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--od-stroke);
    background: rgba(255, 255, 255, 0.72);
    color: var(--od-ink);
    font-size: 12.8px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.od-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.od-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(198, 107, 42, 0.32);
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.1);
}

.od-btn:active {
    transform: translateY(0) scale(0.99);
}

.od-btn.sm {
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
}

.od-btn-ghost {
    background: rgba(255, 255, 255, 0.5);
}

.od-btn-accent {
    border-color: rgba(198, 107, 42, 0.4);
    background: linear-gradient(180deg, rgba(198, 107, 42, 0.24), rgba(198, 107, 42, 0.1));
    box-shadow: 0 12px 28px rgba(198, 107, 42, 0.18);
}

.od-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.od-select-wrap {
    position: relative;
}

.od-select,
.od-input {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--od-stroke);
    background: rgba(255, 255, 255, 0.78);
    padding: 0 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    color: var(--od-ink);
    outline: none;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.od-select:focus,
.od-input:focus {
    border-color: rgba(198, 107, 42, 0.55);
    box-shadow: 0 0 0 4px rgba(198, 107, 42, 0.14);
}

.od-pre {
    margin: 0;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--od-stroke);
    background: rgba(27, 26, 23, 0.04);
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 50vh;
    overflow: auto;
}

.od-alert {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.od-alert-error {
    background: rgba(180, 35, 24, 0.1);
    border: 1px solid rgba(180, 35, 24, 0.25);
    color: #b42318;
}

.od-progress {
    height: 4px;
    border-radius: 999px;
    background: rgba(198, 107, 42, 0.15);
    overflow: hidden;
    margin-bottom: 12px;
}

.od-progress-bar {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--od-accent), var(--od-accent2));
    border-radius: inherit;
    animation: od-progress 1.1s ease-in-out infinite;
}

@keyframes od-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes od-slide-up {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes od-progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(280%); }
}

.mud-dark-theme .od-modal-overlay {
    --od-bg: #1a1917;
    --od-ink: rgba(255, 255, 255, 0.92);
    --od-muted: rgba(255, 255, 255, 0.62);
    --od-stroke: rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.65);
}

.mud-dark-theme .od-modal {
    background:
        radial-gradient(900px 220px at 10% 0%, rgba(198, 107, 42, 0.12), transparent 58%),
        linear-gradient(180deg, rgba(34, 32, 28, 0.98), rgba(26, 24, 22, 0.95));
}

.mud-dark-theme .od-card,
.mud-dark-theme .od-table-wrap,
.mud-dark-theme .od-actions,
.mud-dark-theme .od-tabs {
    background: rgba(255, 255, 255, 0.04);
}

.mud-dark-theme .od-select,
.mud-dark-theme .od-input {
    background: rgba(255, 255, 255, 0.06);
    color: var(--od-ink);
}

.mud-dark-theme .od-pre {
    background: rgba(0, 0, 0, 0.25);
}