html,
body {
    min-height: 100%;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f7fa;
}

a {
    text-decoration: none;
}

.theme-bg3 {
    background: linear-gradient(135deg, #04a9f5 0%, #6610f2 100%);
}

.shadow-2 {
    box-shadow: 0 6px 14px rgba(4, 169, 245, 0.25);
}

.auth-wrapper {
    align-items: center;
    background: #f4f7fa;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-content {
    width: min(920px, 100%);
}

.auth-card {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1fr);
    min-height: 430px;
    overflow: hidden;
}

.auth-card-wide {
    grid-template-columns: minmax(240px, 0.9fr) minmax(420px, 1.4fr);
}

.auth-visual {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 36px;
}

.auth-visual img {
    max-height: 280px;
    max-width: 100%;
}

.auth-form {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.auth-form form {
    width: 100%;
}

.auth-icon {
    color: #04a9f5;
    font-size: 48px;
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.login-wrapper {
    background: #f3f6f9;
    min-height: 100vh;
    padding: 0;
}

.login-wrapper .auth-content {
    width: 100%;
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(420px, 1.15fr) minmax(390px, 0.85fr);
    min-height: 100vh;
    width: 100%;
}

.login-showcase {
    background:
        linear-gradient(135deg, rgba(35, 49, 63, 0.98), rgba(4, 169, 245, 0.86)),
        #263544;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(42px, 6vw, 76px);
    position: relative;
}

.login-showcase::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    inset: 0;
    opacity: 0.22;
    position: absolute;
}

.login-showcase::after {
    background: rgba(255, 255, 255, 0.12);
    content: "";
    height: 42%;
    position: absolute;
    right: 14%;
    top: 24%;
    transform: skewX(-18deg);
    width: 1px;
}

.login-showcase > * {
    position: relative;
    z-index: 1;
}

.login-showcase-brand {
    align-items: center;
    display: flex;
    gap: 16px;
}

.login-showcase-brand img {
    background: #ffffff;
    border-radius: 8px;
    height: 64px;
    object-fit: contain;
    padding: 8px;
    width: 64px;
}

.login-showcase-name {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.login-showcase-tagline {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    margin-top: 4px;
}

.login-showcase-copy {
    max-width: 620px;
}

.login-showcase-copy .mud-typography-h2 {
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.96;
    margin-bottom: 22px;
}

.login-showcase-copy .mud-typography-body1 {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.6;
    max-width: 520px;
}

.login-showcase-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 140px));
}

.login-showcase-metrics div {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 14px 16px;
}

.login-showcase-metrics span {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.login-showcase-metrics small {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 8px;
}

.login-panel {
    align-items: center;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    padding: clamp(28px, 4vw, 58px);
}

.login-card {
    background: #ffffff;
    border: 1px solid rgba(205, 218, 230, 0.9);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(31, 45, 61, 0.13);
    overflow: hidden;
    width: min(460px, 100%);
}

.login-form {
    background: #ffffff;
    padding: 34px 38px 28px;
    text-align: left;
}

.login-card-header {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.login-brand {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    margin-bottom: 0;
}

.login-brand img {
    border-radius: 8px;
    height: 54px;
    object-fit: contain;
    width: 54px;
}

.login-brand-name {
    color: #2d3748;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.login-brand-tagline {
    color: #6e7f91;
    font-size: 14px;
    line-height: 1.35;
    margin-top: 4px;
}

.login-access-pill {
    background: #edf8fe;
    border: 1px solid #cfeaf9;
    border-radius: 999px;
    color: #176b9f;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    margin-top: 4px;
    padding: 8px 10px;
}

.login-title {
    color: #1f2d3d;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 6px;
    text-align: left;
}

.login-subtitle {
    color: #6e7f91;
    margin-bottom: 22px;
    text-align: left;
}

.login-form .mud-input-control {
    margin-bottom: 0;
    text-align: left;
}

.login-field-shell {
    align-items: center;
    background: #f8fbfe;
    border: 1px solid #dce6f0;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: 24px minmax(0, 1fr);
    margin-bottom: 14px;
    min-height: 62px;
    padding: 0 14px;
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.login-field-shell:hover,
.login-field-shell:focus-within {
    background: #ffffff;
    border-color: #8fd4f7;
    box-shadow: 0 0 0 3px rgba(4, 169, 245, 0.1);
}

.login-field-shell > .mud-icon-root {
    color: #6e7f91;
}

.login-field-shell:focus-within > .mud-icon-root {
    color: #04a9f5;
}

.login-field-shell .mud-input-control {
    margin: 0;
}

.login-field-shell .mud-input {
    background: transparent;
}

.login-field-shell .mud-input::before,
.login-field-shell .mud-input::after {
    display: none;
}

.login-submit {
    border-radius: 8px;
    box-shadow: 0 12px 22px rgba(4, 169, 245, 0.24);
    margin-top: 4px;
    min-height: 48px;
}

.login-help {
    color: #6e7f91;
    text-align: left;
}

.login-help a {
    font-weight: 700;
}

.login-card-footer {
    border-top: 1px solid #edf2f7;
    margin: 24px -38px 0;
    padding: 18px 38px 0;
}

.auth-wrapper.offline {
    background: #ffffff;
}

.auth-message {
    max-width: 720px;
    text-align: center;
}

.auth-message-icon {
    color: #04a9f5;
    font-size: 72px;
    margin-bottom: 18px;
}

.loader-bg {
    background: rgba(255, 255, 255, 0.75);
    display: none;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.2s ease;
    z-index: 3000;
}

.loader-bg.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.loader-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e9f1;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(31, 45, 61, 0.18);
    color: #1f2d3d;
    display: flex;
    gap: 14px;
    left: 50%;
    min-width: 260px;
    padding: 18px 22px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.loader-track {
    background: #dce8f1;
    height: 4px;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
}

.loader-fill {
    animation: loader-slide 1.1s infinite ease-in-out;
    background: #04a9f5;
    height: 100%;
    width: 35%;
}

@keyframes loader-slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(320%);
    }
}

.pcoded-shell {
    min-height: 100vh;
    --mud-palette-primary: var(--hoverColorElements, #04a9f5);
    --mud-palette-primary-hover: color-mix(in srgb, var(--hoverColorElements, #04a9f5) 88%, #000000);
    --mud-palette-secondary: var(--backgroundMenuSelected, #6610f2);
}

.pcoded-shell-background {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pcoded-shell-background .pcoded-main-container {
    background: rgba(244, 247, 250, 0.88);
    min-height: calc(100vh - 70px);
}

.pcoded-navbar {
    background: var(--backgroundColorMenu, #263544);
    bottom: 0;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.12);
    color: var(--textColorMenu, #a9b7c5);
    left: 0;
    position: fixed;
    top: 0;
    transition: transform 0.2s ease;
    width: 264px;
    z-index: 1000;
}

.navbar-wrapper {
    height: 100%;
}

.navbar-brand.header-logo {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    height: 70px;
    justify-content: space-between;
    padding: 0 18px;
}

.b-brand {
    align-items: center;
    display: flex;
}

.b-bg {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.b-bg img {
    display: block;
    max-height: 38px;
    max-width: 140px;
    object-fit: contain;
}

.img-b-logo {
    width: 34px;
}

.navbar-content {
    height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 16px 0;
}

.pcoded-inner-navbar {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 2px 0;
}

.pcoded-menu-caption {
    color: var(--textColorMenu, #6f8295);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    padding: 16px 24px 8px;
    text-transform: uppercase;
}

.nav-link,
.nav-link-button {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--textColorMenu, #a9b7c5);
    display: flex;
    gap: 12px;
    min-height: 42px;
    padding: 10px 22px;
    text-align: left;
    width: 100%;
}

.nav-link:hover,
.nav-link.active,
.nav-link-button:hover {
    background: var(--backgroundMenuSelected, rgba(255, 255, 255, 0.06));
    color: var(--textColorMenuSecond, #ffffff);
}

.pcoded-micon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-width: 24px;
}

.pcoded-micon img {
    max-height: 18px;
    max-width: 20px;
}

.pcoded-mtext {
    flex: 1;
}

.pcoded-arrow {
    color: var(--textColorMenu, #a9b7c5);
    font-size: 18px;
}

.pcoded-submenu {
    background: var(--backgroundSubMenu, rgba(0, 0, 0, 0.12));
    display: none;
    list-style: none;
    margin: 0;
    padding: 6px 0 8px 56px;
}

.pcoded-trigger > .pcoded-submenu {
    display: block;
}

.pcoded-trigger > .nav-link .pcoded-arrow,
.pcoded-trigger > .nav-link-button .pcoded-arrow {
    transform: rotate(180deg);
}

.pcoded-submenu a {
    color: var(--textColorSubMenu, #b9c7d5);
    display: block;
    font-size: 13px;
    padding: 8px 16px 8px 0;
}

.pcoded-submenu a:hover,
.pcoded-submenu a.active {
    color: var(--hoverColorSubMenu, #ffffff);
}

.mobile-menu,
.header-icon-button,
.settings-button {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.mobile-menu span,
.mobile-menu span::before,
.mobile-menu span::after {
    background: currentColor;
    content: "";
    display: block;
    height: 2px;
    position: relative;
    width: 20px;
}

.mobile-menu span::before {
    position: absolute;
    top: -6px;
}

.mobile-menu span::after {
    position: absolute;
    top: 6px;
}

.pcoded-header {
    align-items: center;
    background: #ffffff;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    height: 70px;
    left: 264px;
    padding: 0 22px;
    position: fixed;
    right: 0;
    top: 0;
    transition: left 0.2s ease;
    z-index: 999;
}

.m-header {
    display: none;
}

.collapse.navbar-collapse {
    align-items: center;
    display: flex;
    width: 100%;
}

.navbar-nav {
    align-items: center;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.me-auto {
    margin-right: auto;
}

.ms-auto {
    margin-left: auto;
}

.settings-button {
    color: #263544;
}

.profile-notification {
    min-width: 260px;
}

.pro-head {
    align-items: center;
    background: #04a9f5;
    color: #ffffff;
    display: flex;
    gap: 12px;
    padding: 14px;
}

.img-radius {
    border-radius: 50%;
    height: 42px;
    object-fit: cover;
    width: 42px;
}

.pcoded-main-container {
    margin-left: 264px;
    padding-top: 70px;
    transition: margin-left 0.2s ease;
}

.pcoded-content {
    padding: 24px;
}

.main-body {
    min-height: calc(100vh - 148px);
}

.layout-footer {
    align-items: center;
    color: #6c757d;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    margin-left: 264px;
    padding: 10px 24px 20px;
}

.page-container {
    padding-top: 8px;
}

.page-title {
    margin-bottom: 18px;
}

.profile-panel {
    padding: 24px;
}

.admin-panel {
    padding: 22px;
}

.admin-toolbar {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.admin-toolbar.compact {
    margin-bottom: 10px;
}

.admin-toolbar .mud-input-control {
    max-width: 360px;
}

.admin-modal {
    max-height: calc(100vh - 48px);
    max-width: 680px;
    overflow-y: auto;
    padding: 24px;
    width: 100%;
}

.audit-modal {
    max-width: min(1120px, calc(100vw - 40px));
}

.detail-panel {
    background: #f8fafc;
    border-left: 4px solid #04a9f5;
    margin: 8px 0 18px;
    padding: 18px;
}

.catalog-detail-cell {
    background: #f8fafc;
}

.catalog-detail-panel {
    margin: 0;
}

.catalog-elements-table {
    background: #ffffff;
}

.catalog-detail-loading {
    align-items: center;
    background: #ffffff;
    display: flex;
    gap: 10px;
    padding: 18px;
}

.admin-form-grid {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.profile-table {
    margin-bottom: 18px;
}

.dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.modal-backdrop-custom {
    align-items: center;
    background: rgba(0, 0, 0, 0.42);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 2500;
}

.modal-backdrop-custom.report-backdrop {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

.report-fullscreen-modal {
    display: flex;
    flex-direction: column;
    height: 100vh !important;
    max-height: 100vh !important;
    max-width: 100vw !important;
    overflow: hidden;
    padding: 20px;
    width: 100vw !important;
}

.report-table-scroll {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.report-table-scroll > .catalog-toolbar {
    flex: 0 0 auto;
}

.report-table-grid-scroll {
    flex: 1;
    min-height: 0;
    max-width: 100%;
    overflow: auto;
    padding-bottom: 8px;
    scrollbar-gutter: stable both-edges;
}

.report-table-grid-scroll > .mud-table {
    display: block;
    overflow: visible;
    width: max-content;
}

.report-wide-table {
    min-width: 4200px;
}

.report-table-grid-scroll .mud-table-container {
    overflow: visible;
}

.mud-popover-provider,
.mud-popover,
.mud-popover-cascading-value {
    z-index: 2600 !important;
}

.change-password-modal {
    max-width: 520px;
    padding: 24px;
    width: 100%;
}

.nav-collapsed .pcoded-navbar {
    transform: translateX(-264px);
}

.nav-collapsed .pcoded-header {
    left: 0;
}

.nav-collapsed .pcoded-main-container,
.nav-collapsed .layout-footer {
    margin-left: 0;
}

.pcoded-navbar {
    background: var(--backgroundColorMenu, #253344);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: width 0.2s ease, transform 0.2s ease;
}

.navbar-brand.header-logo {
    background: rgba(255, 255, 255, 0.025);
    height: 100px;
    padding: 0 24px;
}

.navbar-brand .b-bg {
    gap: 14px;
}

.navbar-brand .img-b-logo-text {
    max-width: 132px;
}

.navbar-brand .img-b-logo {
    background: var(--backgroundMenuSelected, #0d9ee8);
    box-shadow: 0 8px 20px rgba(4, 169, 245, 0.2);
    display: none;
    padding: 3px;
}

.navbar-content {
    height: calc(100vh - 100px);
    padding: 14px 10px 24px;
}

.pcoded-menu-caption {
    color: var(--textWordMenu, #8ea2b7);
    padding: 12px 14px 8px;
}

.pcoded-inner-navbar > .nav-item {
    margin: 4px 0;
}

.nav-link,
.nav-link-button {
    border-radius: 8px;
    color: var(--textColorMenu, #c1cfdd);
    font-size: 14px;
    min-height: 44px;
    padding: 10px 14px;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-link-button:hover {
    background: var(--backgroundMenuSelected, rgba(255, 255, 255, 0.08));
    color: var(--textColorMenuSecond, #ffffff);
}

.nav-link.active {
    box-shadow: inset 3px 0 0 var(--hoverColorElements, #04a9f5);
}

.pcoded-micon {
    background: var(--backgroundMenuSelected, rgba(255, 255, 255, 0.07));
    border-radius: 8px;
    height: 30px;
    min-width: 30px;
    width: 30px;
}

.pcoded-submenu {
    background: var(--backgroundSubMenu, rgba(10, 19, 29, 0.38));
    border-radius: 8px;
    margin: 2px 0 8px 42px;
    padding: 6px 8px;
}

.pcoded-submenu .pcoded-submenu {
    margin-left: 14px;
}

.pcoded-submenu a {
    border-radius: 6px;
    padding: 8px 10px;
}

.pcoded-arrow {
    transition: transform 0.16s ease;
}

.pcoded-header {
    border-bottom: 1px solid #e7edf3;
    box-shadow: 0 6px 18px rgba(31, 45, 61, 0.08);
}

.mobile-menu,
.header-icon-button,
.settings-button {
    border-radius: 8px;
    color: #3b4a5c;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.mobile-menu:hover,
.header-icon-button:hover,
.settings-button:hover {
    background: #edf4fa;
    color: #04a9f5;
}

.mobile-menu:active,
.header-icon-button:active,
.settings-button:active {
    transform: translateY(1px);
}

.page-heading {
    align-items: flex-end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.page-subtitle {
    color: #6e7f91;
}

.page-metrics {
    display: flex;
    gap: 10px;
}

.metric-tile {
    background: #ffffff;
    border: 1px solid #e2e9f1;
    border-radius: 8px;
    min-width: 112px;
    padding: 12px 14px;
}

.metric-value {
    color: #1f2d3d;
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.metric-label {
    color: #6e7f91;
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.catalog-panel {
    border: 1px solid #e2e9f1;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(31, 45, 61, 0.08);
    overflow: hidden;
}

.catalog-toolbar {
    background: #ffffff;
    border-bottom: 1px solid #e8eef5;
    margin: -22px -22px 18px;
    padding: 18px 22px;
}

.catalog-search {
    min-width: min(420px, 100%);
}

.primary-action {
    box-shadow: 0 8px 16px rgba(4, 169, 245, 0.22);
}

.catalog-table .mud-table-head {
    background: #f6f9fc;
}

.catalog-table .mud-table-row:hover {
    background: #f8fbfe;
}

.table-icon-button {
    border-radius: 8px;
}

.table-icon-button.mud-icon-button {
    padding: 5px;
}

.digital-card-actions-header,
.digital-card-actions-cell,
.table-actions-header,
.table-actions-cell {
    min-width: 132px;
    white-space: nowrap;
}

.digital-card-actions,
.table-actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 2px;
    white-space: nowrap;
}

.digital-card-actions .table-icon-button,
.table-actions .table-icon-button {
    flex: 0 0 auto;
}

.tooltip-action-wrapper {
    display: inline-flex;
}

.catalog-code {
    background: #edf6fd;
    border: 1px solid #d5ebfb;
    border-radius: 999px;
    color: #176b9f;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
}

.status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
}

.status-pill-success {
    background: #eaf8f0;
    color: #1f7a45;
}

.status-pill-muted {
    background: #eef2f6;
    color: #6e7f91;
}

.status-pill-warning {
    background: #fff7e6;
    color: #a15c00;
}

.status-pill-danger {
    background: #fdecec;
    color: #b42318;
}

.catalog-detail-cell {
    background: #f7fafc;
}

.catalog-detail-panel {
    border: 1px solid #dfe8f1;
    border-left: 4px solid var(--btnBorder);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(31, 45, 61, 0.06);
}

.catalog-detail-header {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.detail-filter-bar {
    align-items: center;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    padding: 12px;
}

.detail-filter-bar .mud-input-control {
    margin: 0;
}

.detail-filter-select {
    min-width: 180px;
}

.catalog-elements-table {
    border: 1px solid #edf2f7;
    border-radius: 8px;
    overflow: hidden;
}

.empty-state {
    align-items: center;
    color: #7a8a9c;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 22px;
}

.upload-zone {
    background: #f8fbfe;
    border: 1px dashed #c9d8e8;
    border-radius: 8px;
    padding: 18px;
}

.file-input-shell {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e9f1;
    border-radius: 8px;
    display: flex;
    min-height: 56px;
    padding: 0 14px;
}

.saldo-entero-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.saldo-entero-field label {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.75rem;
    line-height: 1;
}

.saldo-entero-input {
    background: #ffffff;
    border: 1px solid #d5dee8;
    border-radius: 4px;
    color: #1f2d3d;
    font: inherit;
    min-height: 42px;
    padding: 8px 12px;
    width: 100%;
}

.saldo-entero-input:focus {
    border-color: var(--brand-action-color, #04a9f5);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-action-color, #04a9f5) 14%, transparent);
    outline: none;
}

.switch-line {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e9f1;
    border-radius: 8px;
    color: #334155;
    display: flex;
    gap: 10px;
    min-height: 56px;
    padding: 0 14px;
}

.toolbar-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.vehicle-list-toolbar {
    align-items: flex-start;
}

.vehicle-list-toolbar .toolbar-actions,
.vehicle-detail-toolbar .toolbar-actions {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 4px;
}

.vehicle-list-toolbar .toolbar-actions .mud-button-root,
.vehicle-detail-toolbar .toolbar-actions .mud-button-root {
    flex: 0 0 auto;
    white-space: nowrap;
}

.catalog-detail-panel .vehicle-detail-toolbar {
    background: #ffffff;
    border: 1px solid #e2e9f1;
    border-radius: 8px;
    margin: 0 0 16px;
    padding: 12px;
}

.card-upload-modal {
    max-width: 720px;
}

.card-confirm-modal {
    max-width: min(1180px, calc(100vw - 40px));
}

@media (min-width: 901px) {
    .nav-collapsed .pcoded-navbar {
        transform: none;
        width: 78px;
    }

    .nav-collapsed .pcoded-header {
        left: 78px;
    }

    .nav-collapsed .pcoded-main-container,
    .nav-collapsed .layout-footer {
        margin-left: 78px;
    }

    .nav-collapsed .navbar-brand.header-logo {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        padding: 10px 0;
    }

    .nav-collapsed .navbar-brand.header-logo .b-brand {
        justify-content: center;
        width: 100%;
    }

    .nav-collapsed .navbar-brand.header-logo .b-bg {
        justify-content: center;
    }

    .nav-collapsed .navbar-brand.header-logo .img-b-logo-text {
        display: none;
    }

    .nav-collapsed .navbar-brand.header-logo .img-b-logo {
        display: block;
        height: 38px;
        width: 38px;
    }

    .nav-collapsed .navbar-content {
        padding-left: 8px;
        padding-right: 8px;
    }

    .nav-collapsed .pcoded-menu-caption,
    .nav-collapsed .pcoded-mtext,
    .nav-collapsed .pcoded-arrow {
        display: none;
    }

    .nav-collapsed .nav-link,
    .nav-collapsed .nav-link-button {
        justify-content: center;
        padding: 10px;
    }

    .nav-collapsed .pcoded-micon {
        margin: 0;
    }

    .nav-collapsed .pcoded-submenu {
        display: none !important;
    }
}

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    right: 0;
    z-index: 4000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 900px) {
    .auth-card,
    .auth-card-wide {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 180px;
        padding: 24px;
    }

    .auth-form {
        padding: 28px;
    }

    .login-form {
        padding: 28px 22px 26px;
    }

    .login-card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 22px;
    }

    .login-brand {
        margin-bottom: 22px;
    }

    .login-card-header .login-brand {
        margin-bottom: 0;
    }

    .login-brand-name {
        font-size: 23px;
    }

    .login-card-footer {
        margin-left: -22px;
        margin-right: -22px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-showcase {
        min-height: 300px;
        padding: 28px 24px;
    }

    .login-showcase-copy .mud-typography-h2 {
        font-size: 34px;
        margin-bottom: 12px;
    }

    .login-showcase-copy .mud-typography-body1 {
        font-size: 15px;
    }

    .login-showcase-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .login-showcase-metrics div {
        padding: 10px;
    }

    .login-showcase-metrics span {
        font-size: 17px;
    }

    .login-panel {
        padding: 24px;
    }

    .pcoded-navbar {
        transform: translateX(-264px);
    }

    .pcoded-header,
    .pcoded-main-container,
    .layout-footer {
        left: 0;
        margin-left: 0;
    }

    .m-header {
        align-items: center;
        display: flex;
        gap: 12px;
        margin-right: 16px;
    }

    .nav-collapsed .pcoded-navbar {
        transform: translateX(0);
    }

    .layout-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .page-heading,
    .page-metrics,
    .catalog-detail-header,
    .detail-filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .page-metrics {
        width: 100%;
    }

    .metric-tile {
        min-width: 0;
    }

    .catalog-detail-cell {
        padding: 0 8px 14px !important;
    }

    .admin-toolbar,
    .admin-form-grid {
        align-items: stretch;
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}
