/* ==========================================================================
   Loomix tasarım sistemi
   Renk tokenleri MudBlazor paletinden türetilir; böylece karanlık mod tek
   kaynaktan (ThemeService) yönetilir ve iki ayrı tema sistemi çakışmaz.
   ========================================================================== */

:root {
    /* Marka */
    --lx-primary: var(--mud-palette-primary, #0f2744);
    --lx-accent: var(--mud-palette-secondary, #0891b2);
    --lx-success: var(--mud-palette-success, #059669);
    --lx-warning: var(--mud-palette-warning, #d97706);
    --lx-error: var(--mud-palette-error, #dc2626);
    --lx-info: var(--mud-palette-info, #0284c7);

    /* Yüzeyler */
    --lx-bg: var(--mud-palette-background, #f1f5f9);
    --lx-surface: var(--mud-palette-surface, #ffffff);
    --lx-surface-alt: var(--mud-palette-background-gray, #f8fafc);
    --lx-text: var(--mud-palette-text-primary, #0f172a);
    --lx-text-muted: var(--mud-palette-text-secondary, #64748b);
    --lx-border: var(--mud-palette-lines-default, #e2e8f0);
    --lx-hover: var(--mud-palette-action-default-hover, rgba(15, 39, 68, 0.04));

    /* Ölçek */
    --lx-radius: 14px;
    --lx-radius-sm: 10px;
    --lx-radius-xs: 6px;
    --lx-shadow-xs: 0 1px 2px rgba(15, 39, 68, 0.06);
    --lx-shadow: 0 1px 3px rgba(15, 39, 68, 0.07), 0 4px 12px rgba(15, 39, 68, 0.05);
    --lx-shadow-lg: 0 8px 28px rgba(15, 39, 68, 0.13);
    --lx-font: 'Inter', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lx-font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;

    /* Mobil kabuk */
    --lx-bottom-nav-h: 60px;
    --lx-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Karanlık modda gölgeler siyah zeminde görünmez; kenarlık ağırlığa geçer. */
.mud-theme-dark,
[data-theme="dark"] {
    --lx-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --lx-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 4px 14px rgba(0, 0, 0, 0.35);
    --lx-shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.55);
    --lx-hover: rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------------------
   Temel
   -------------------------------------------------------------------------- */

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--lx-font);
    /* Yatay taşma mobilde tüm sayfayı kaydırmasın; taşıyıcılar kendi içinde kayar. */
    overflow-x: hidden;
}

*:focus-visible {
    outline: 2px solid var(--lx-accent);
    outline-offset: 2px;
    border-radius: var(--lx-radius-xs);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   Sayfa kabuğu
   -------------------------------------------------------------------------- */

.lx-main-surface {
    background: var(--lx-bg);
}

/*
  Kritik: MudBlazor .mud-main-content zaten appbar yüksekliği kadar padding-top verir.
  Eski !important 1.25rem bunu eziyordu; içerik header'ın altına yapışıyordu.
*/
.lx-main-content.mud-main-content {
    padding-top: calc(var(--mud-appbar-height, 64px) + 1.5rem) !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-bottom: calc(var(--lx-bottom-nav-h) + var(--lx-safe-bottom) + 1.75rem) !important;
}

@media (min-width: 600px) {
    .lx-main-content.mud-main-content {
        padding-top: calc(var(--mud-appbar-height, 64px) + 1.75rem) !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 960px) {
    .lx-main-content.mud-main-content {
        padding-top: calc(var(--mud-appbar-height, 64px) + 2rem) !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        padding-bottom: 2.75rem !important;
    }
}

@media (min-width: 1280px) {
    .lx-main-content.mud-main-content {
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
    }
}

.lx-page-shell {
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

.page-content {
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

/* --------------------------------------------------------------------------
   Üst çubuk (AppBar)
   -------------------------------------------------------------------------- */

.lx-appbar.mud-appbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 0 rgba(15, 39, 68, 0.12), 0 8px 24px rgba(15, 39, 68, 0.08);
    backdrop-filter: saturate(1.1);
}

.mud-theme-dark .lx-appbar.mud-appbar,
[data-theme="dark"] .lx-appbar.mud-appbar {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.35);
}

.lx-appbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    margin-left: 0.15rem;
}

.lx-appbar-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    background: rgba(8, 145, 178, 0.22);
    color: #67e8f9;
    flex: 0 0 auto;
}

.lx-appbar-brand-text {
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    min-width: 0;
}

.lx-appbar-product {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lx-appbar-product-sub {
    font-size: 0.6875rem;
    font-weight: 500;
    opacity: 0.72;
    letter-spacing: 0.01em;
}

.lx-appbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    min-width: 0;
}

.lx-appbar-icon-btn.mud-button-root {
    width: 2.5rem;
    height: 2.5rem;
}

.lx-appbar-divider {
    width: 1px;
    height: 1.5rem;
    margin: 0 0.35rem;
    background: rgba(255, 255, 255, 0.18);
}

.lx-appbar-branch {
    align-items: center;
    gap: 0.25rem;
    max-width: 11rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.lx-appbar-branch-icon {
    opacity: 0.8;
}

.lx-appbar-branch-select {
    min-width: 7rem;
    max-width: 9.5rem;
}

.lx-appbar-branch-select .mud-input-control,
.lx-appbar-branch-select .mud-input {
    margin: 0 !important;
    color: inherit !important;
}

.lx-appbar-branch-select .mud-input-slot,
.lx-appbar-branch-select .mud-select-input {
    color: inherit !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
}

.lx-appbar-branch-select .mud-input-underline::before,
.lx-appbar-branch-select .mud-input-underline::after {
    border-bottom: none !important;
}

.lx-appbar-meter {
    display: inline-flex;
    align-items: center;
    padding: 0 0.35rem;
}

.lx-appbar-account-btn.mud-button-root {
    text-transform: none;
    min-width: 0;
    padding: 0.2rem 0.35rem 0.2rem 0.2rem;
    border-radius: 999px;
    gap: 0.5rem;
}

.lx-appbar-account-btn.mud-button-root:hover {
    background: rgba(255, 255, 255, 0.08);
}

.lx-appbar-avatar.mud-avatar {
    background: rgba(8, 145, 178, 0.35) !important;
    color: #ecfeff !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
}

.lx-appbar-account-meta {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    max-width: 9.5rem;
    min-width: 0;
}

.lx-appbar-account-name {
    font-size: 0.8125rem;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lx-appbar-account-role {
    font-size: 0.6875rem;
    opacity: 0.72;
}

.lx-account-menu-head {
    padding: 0.75rem 1rem 0.5rem;
    max-width: 16rem;
}

/* --------------------------------------------------------------------------
   Sayfa başlığı
   -------------------------------------------------------------------------- */

.lx-page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lx-border);
}

@media (min-width: 600px) {
    .lx-page-header {
        margin-bottom: 1.75rem;
        padding-bottom: 1.15rem;
    }
}

.lx-page-header-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 600px) {
    .lx-page-header-row {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1.25rem;
    }
}

.lx-page-header-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.lx-page-header .lx-breadcrumbs {
    margin: 0 0 0.65rem !important;
    padding: 0 !important;
    background: transparent !important;
    min-height: 0 !important;
}

.lx-page-header .lx-breadcrumbs .mud-breadcrumb-item,
.lx-page-header .lx-breadcrumbs .mud-breadcrumb-separator {
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--lx-text-muted);
}

.lx-page-header .lx-breadcrumbs .mud-breadcrumb-item a {
    color: var(--lx-text-muted);
    text-decoration: none;
}

.lx-page-header .lx-breadcrumbs .mud-breadcrumb-item a:hover {
    color: var(--lx-accent);
}

.lx-page-title {
    margin: 0;
    padding: 0;
    color: var(--lx-text);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-size: clamp(1.375rem, 3.6vw, 1.75rem);
    word-break: break-word;
}

.lx-page-subtitle {
    margin: 0.4rem 0 0;
    padding: 0;
    color: var(--lx-text-muted);
    font-size: 0.875rem;
    line-height: 1.45;
    max-width: 42rem;
}

.lx-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 0 0 auto;
}

@media (max-width: 599px) {
    .lx-page-actions {
        width: 100%;
    }

    .lx-page-actions > * {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 140px;
    }
}

@media (min-width: 600px) {
    .lx-page-actions {
        justify-content: flex-end;
        padding-top: 0.15rem;
    }
}

.lx-quota-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--lx-radius-sm);
    border: 1px solid var(--lx-border);
    background: var(--lx-surface);
    color: var(--lx-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Kartlar
   -------------------------------------------------------------------------- */

.lx-card {
    border-radius: var(--lx-radius);
    box-shadow: var(--lx-shadow);
    background: var(--lx-surface);
    border: 1px solid var(--lx-border);
    /* Grid içindeki kartlar eşit yükseklikte hizalanır. */
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lx-card > .mud-card-content {
    flex: 1 1 auto;
    min-width: 0;
}

.lx-card-hover {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

.lx-card-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--lx-shadow-lg);
    border-color: var(--lx-accent);
}

.lx-card-hover:active {
    transform: translateY(0);
}

/* KPI vurgu şeridi */
.lx-kpi-accent,
.lx-kpi-primary,
.lx-kpi-warning,
.lx-kpi-success,
.lx-kpi-error,
.lx-kpi-info {
    border-left-width: 4px;
    border-left-style: solid;
}

.lx-kpi-accent { border-left-color: var(--lx-accent); }
.lx-kpi-primary { border-left-color: var(--lx-primary); }
.lx-kpi-warning { border-left-color: var(--lx-warning); }
.lx-kpi-success { border-left-color: var(--lx-success); }
.lx-kpi-error { border-left-color: var(--lx-error); }
.lx-kpi-info { border-left-color: var(--lx-info); }

.lx-stat-value {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-size: clamp(1.25rem, 3.2vw, 1.75rem);
    /* Uzun para birimi değerleri kart dışına çıkmaz. */
    overflow-wrap: anywhere;
}

.lx-stat-label {
    color: var(--lx-text-muted);
    font-size: 0.8125rem;
    text-transform: none;
}

/* --------------------------------------------------------------------------
   Tablolar — yatay kaydırma + kenar gölgesi
   -------------------------------------------------------------------------- */

.lx-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.lx-table-scroll .mud-table-container {
    overflow-x: visible;
}

/* Kaydırılabilir olduğunu gösteren sağ kenar gradyanı */
.lx-table-scroll {
    background:
        linear-gradient(to right, var(--lx-surface) 30%, rgba(0, 0, 0, 0)) left center / 32px 100% no-repeat,
        linear-gradient(to left, var(--lx-surface) 30%, rgba(0, 0, 0, 0)) right center / 32px 100% no-repeat;
    background-attachment: local, local;
}

.lx-table-scroll table {
    min-width: 640px;
}

.lx-table-scroll.lx-table-wide table {
    min-width: 880px;
}

/* Sayısal kolonlar sağa dayalı ve hizalı okunur. */
.lx-num {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mud-table-cell.lx-nowrap,
.lx-nowrap {
    white-space: nowrap;
}

/* Mobilde tablo yerine kart listesi */
.mobile-data-card {
    border-radius: var(--lx-radius-sm);
    margin-bottom: 0.625rem;
    border: 1px solid var(--lx-border);
    box-shadow: var(--lx-shadow-xs);
}

.mobile-data-card:last-child {
    margin-bottom: 0;
}

/* Kart içi etiket/değer satırı */
.lx-kv {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.1875rem 0;
    min-width: 0;
}

.lx-kv-label {
    color: var(--lx-text-muted);
    font-size: 0.8125rem;
    flex: 0 0 auto;
}

.lx-kv-value {
    font-weight: 600;
    font-size: 0.875rem;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Formlar
   -------------------------------------------------------------------------- */

/* iOS'ta 16px altı yazı tipi girişte otomatik yakınlaştırma tetikler. */
@media (max-width: 599px) {
    .mud-input-root,
    .mud-input-root input,
    .mud-input-root textarea,
    .mud-select-input input {
        font-size: 16px !important;
    }
}

/* Dokunma hedefleri en az 44px */
@media (pointer: coarse) {
    .mud-button-root,
    .mud-icon-button {
        min-height: 44px;
        min-width: 44px;
    }

    .mud-table-row {
        min-height: 48px;
    }
}

.lx-form-section-title {
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lx-text-muted);
    margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   Diyaloglar
   -------------------------------------------------------------------------- */

/* Mobilde diyalog tam ekrana yakın açılır; kenarlarda boşa alan kalmaz. */
@media (max-width: 599px) {
    .mud-dialog {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        min-height: 100%;
        border-radius: 0 !important;
        display: flex;
        flex-direction: column;
    }

    .mud-dialog-content {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Kaydet/İptal her zaman erişilebilir kalır. */
    .mud-dialog-actions {
        position: sticky;
        bottom: 0;
        background: var(--lx-surface);
        border-top: 1px solid var(--lx-border);
        padding-bottom: calc(0.5rem + var(--lx-safe-bottom));
        gap: 0.5rem;
        z-index: 2;
    }

    .mud-dialog-actions .mud-button-root {
        flex: 1 1 auto;
    }
}

.lx-dialog-title-icon {
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* --------------------------------------------------------------------------
   Mobil alt navigasyon
   -------------------------------------------------------------------------- */

.lx-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    height: calc(var(--lx-bottom-nav-h) + var(--lx-safe-bottom));
    padding-bottom: var(--lx-safe-bottom);
    background: var(--lx-surface);
    border-top: 1px solid var(--lx-border);
    box-shadow: 0 -2px 12px rgba(15, 39, 68, 0.08);
}

.lx-bottom-nav-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0.25rem;
    color: var(--lx-text-muted);
    text-decoration: none;
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease;
}

.lx-bottom-nav-item:hover {
    color: var(--lx-text);
    text-decoration: none;
}

.lx-bottom-nav-item.active {
    color: var(--lx-accent);
}

.lx-bottom-nav-item .mud-icon-root {
    font-size: 1.375rem;
}

@media (min-width: 960px) {
    .lx-bottom-nav {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Drawer
   -------------------------------------------------------------------------- */

.lx-drawer-header {
    padding: 1rem 1rem 0.9rem;
    border-bottom: 1px solid var(--lx-border);
    min-height: 64px;
    display: flex;
    align-items: center;
}

.lx-drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    width: 100%;
}

.lx-drawer-brand .lx-appbar-mark {
    background: rgba(8, 145, 178, 0.12);
    color: var(--lx-accent);
}

.lx-drawer-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.lx-drawer-product {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lx-text);
}

.lx-drawer-tenant {
    font-size: 0.75rem;
    color: var(--lx-text-muted);
    margin-top: 0.15rem;
}

.lx-drawer .mud-nav-link {
    border-radius: var(--lx-radius-sm);
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.lx-drawer .mud-nav-link.active {
    background: var(--lx-hover);
    font-weight: 600;
}

.lx-drawer .mud-nav-group .mud-nav-link {
    padding-left: 1.75rem;
}

.lx-nav-menu .mud-nav-group-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* --------------------------------------------------------------------------
   Kanban
   -------------------------------------------------------------------------- */

.kanban-scroll {
    display: flex;
    gap: 0.875rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
}

.kanban-column {
    min-width: 288px;
    max-width: 320px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.kanban-column .mud-drop-zone {
    flex: 1 1 auto;
    min-height: 220px;
}

@media (max-width: 599px) {
    .kanban-column {
        min-width: 82vw;
        max-width: 82vw;
    }
}

.kanban-card {
    border-radius: var(--lx-radius-sm);
    border: 1px solid var(--lx-border);
    box-shadow: var(--lx-shadow-xs);
    cursor: grab;
}

.kanban-card:active {
    cursor: grabbing;
}

/* --------------------------------------------------------------------------
   Auth
   -------------------------------------------------------------------------- */

.auth-layout {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--lx-bg);
}

.auth-hero {
    flex: 1 1 50%;
    background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 50%, #0c4a6e 100%);
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-panel {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    /* Mobilde klavye açılınca içerik sıkışmasın. */
    min-height: 100dvh;
}

@media (min-width: 1280px) {
    .auth-form-panel {
        max-width: 560px;
        min-height: auto;
    }
}

.auth-card {
    width: 100%;
    max-width: 420px;
    border-radius: var(--lx-radius);
    box-shadow: var(--lx-shadow-lg);
}

/* --------------------------------------------------------------------------
   Fiyatlandırma
   -------------------------------------------------------------------------- */

.pricing-card {
    border: 2px solid var(--lx-border);
    border-radius: var(--lx-radius);
    transition: border-color 0.2s, transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--lx-accent);
}

.pricing-card.featured {
    border-color: var(--lx-accent);
    box-shadow: var(--lx-shadow-lg);
}

/* --------------------------------------------------------------------------
   Yardımcılar
   -------------------------------------------------------------------------- */

.lx-fab-container {
    position: fixed;
    right: 1rem;
    bottom: calc(var(--lx-bottom-nav-h) + var(--lx-safe-bottom) + 1rem);
    z-index: 1150;
}

@media (min-width: 960px) {
    .lx-fab-container {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

.lx-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
}

.lx-skeleton-grid .mud-skeleton {
    border-radius: var(--lx-radius-sm);
}

.lx-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.lx-mono {
    font-family: var(--lx-font-mono);
    font-size: 0.875em;
}

/* Sekmeler mobilde kaydırılabilir kalır, sıkışıp okunmaz olmaz. */
.mud-tabs-toolbar-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Grafikler taşıyıcıya uyar */
.lx-chart {
    width: 100%;
    max-width: 100%;
}

/* --------------------------------------------------------------------------
   Yazdırma
   -------------------------------------------------------------------------- */

@media print {
    .mud-appbar,
    .mud-drawer,
    .lx-bottom-nav,
    .lx-fab-container,
    .lx-page-actions,
    .mud-snackbar-provider {
        display: none !important;
    }

    .mud-main-content {
        padding: 0 !important;
        margin: 0 !important;
    }

    .lx-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }

    .lx-table-scroll {
        overflow: visible !important;
        background: none !important;
    }

    .lx-table-scroll table {
        min-width: 0 !important;
    }
}
