/* Özel navbar ve footer stilleri */
.custom-navbar {
    background-color: #34495e !important;
    padding-left: 1rem;
    padding-right: 1rem;
}

.custom-navbar .container-fluid {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 15px;
}

.custom-footer {
    background-color: #34495e !important;
    color: #fff !important;
    position: relative;
    left: 0;
    width: 100%;
    z-index: 1030;
}

.uzay-notification-dropdown {
    width: min(360px, calc(100vw - 24px));
    max-height: 70vh;
    overflow: hidden;
}

.uzay-notification-list {
    max-height: 52vh;
    overflow-y: auto;
}

.uzay-notification-item {
    white-space: normal;
}

.uzay-notification-unread {
    background: #eef5ff;
}

.uzay-app-install-btn {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1060;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 8px;
    min-height: 44px;
}

.uzay-app-install-panel {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1060;
    width: min(360px, calc(100vw - 24px));
    padding: 14px;
    border: 1px solid #d7e2ee;
    border-radius: 8px;
    background: #fff;
}

.uzay-app-install-close {
    position: absolute;
    top: 8px;
    right: 8px;
}

/* legacy-mobile-nav-kill: once rendered as Ana/Satis/Cariler/Alis/Menu, now removed. */
#uzayMobileBottomNav,
.uzay-mobile-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

.uzay-app-tabbar,
.uzay-customer-mobile-actions {
    display: none;
}

.uzay-customer-desktop-actions {
    display: flex;
}

.uzay-page-back-wrap {
    padding-top: .7rem;
    padding-bottom: .15rem;
}

.uzay-page-back-button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.uzay-qty-unit {
    align-self: center;
    color: #475569;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

/* general-product-description-wrap-20 */
.uzay-wrap-20,
.uzay-table-product,
.uzay-table-description {
    display: inline-block;
    max-width: 20ch;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.25;
}

.uzay-row-selected > td,
.uzay-row-selected > th {
    background-color: #fff3cd !important;
    transition: background-color .16s ease;
}

.uzay-stock-page {
    display: flex;
    flex-direction: column;
}

.uzay-stock-content-v43 {
    display: contents;
}

/* stock-top-order-v43: stokta arama, kategori ve urun listesi istatistiklerden once gelir. */
.uzay-stock-filter-card {
    order: 1;
}

.uzay-stock-list-card {
    order: 2;
}

.uzay-stock-stats {
    order: 3;
}

.btn-outline-purple {
    --bs-btn-color: #7c3aed;
    --bs-btn-border-color: #7c3aed;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #7c3aed;
    --bs-btn-hover-border-color: #7c3aed;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6d28d9;
    --bs-btn-active-border-color: #6d28d9;
}

body {
    max-width: 100%;
}

@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 16px;
        overflow-x: hidden;
        max-width: 100%;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .dashboard-quick-actions-v43 {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: .35rem !important;
        align-items: stretch;
    }

    .dashboard-quick-actions-v43 .btn {
        min-width: 0;
        min-height: 54px;
        padding: .32rem .12rem;
        font-size: .58rem;
        line-height: 1.05;
        white-space: normal;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .15rem;
        border-width: 1px;
    }

    .dashboard-quick-actions-v43 .btn i {
        margin: 0 !important;
        font-size: 1.05rem;
        line-height: 1;
    }

    .uzay-cari-summary-row-v43 {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .25rem !important;
        width: 100%;
    }

    .uzay-cari-summary-row-v43 .stat-card {
        min-width: 0;
        padding: .35rem .18rem !important;
        text-align: center;
    }

    .uzay-cari-summary-row-v43 .small {
        font-size: .58rem;
        line-height: 1.05;
        min-height: 1.2rem;
        display: block;
    }

    .uzay-cari-summary-row-v43 .stat-value {
        font-size: .68rem !important;
        line-height: 1.05;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .uzay-cari-info-card-v43 {
        display: none;
    }

    .uzay-cari-quick-toggle-v43 {
        min-height: 44px;
        font-weight: 700;
        border-radius: .55rem;
    }

    /* mobile-hide-top-navbar: telefonda eski sol/orta/sag hamburger-logo ust cubugu gizlenir. */
    .custom-navbar {
        display: none !important;
    }

    .uzay-navbar-spacer {
        display: none !important;
    }

    body:has(.uzay-app-tabbar) {
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
    }

    .uzay-app-tabbar {
        /* mobile-app-tabbar */
        /* windows-and-mobile-app-tabbar-parity: telefon altta, kurulu Windows app ustte ayni sekme dilini kullanir. */
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1095;
        display: grid !important;
        /* legacy-check: grid-template-columns: repeat(7, minmax(0, 1fr)) */
        grid-template-columns: repeat(var(--uzay-app-tab-count), minmax(0, 1fr));
        align-items: stretch;
        width: 100%;
        max-width: 100vw;
        /* app-tabbar-fill-frame-v41 */
        min-height: calc(80px + env(safe-area-inset-bottom));
        padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(0, 0, 0, .12);
        background: #fff;
        box-shadow: 0 -4px 16px rgba(15, 23, 42, .10);
        overflow: visible;
    }

    .uzay-app-tabbar > a,
    .uzay-app-tabbar > .dropup {
        min-width: 0;
        width: 100%;
    }

    .uzay-app-tabbar-item {
        /* app-tabbar-larger-touch-targets */
        /* app-tabbar-inner-fill-v42: cerceve buyumeden buton icerigi daha dolu kullanir. */
        width: 100%;
        min-width: 0;
        min-height: 74px;
        height: 100%;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #5f6368;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 4px 1px;
        text-decoration: none;
        font-size: .71rem;
        font-weight: 700;
        line-height: 1.05;
        white-space: normal;
        overflow: visible;
        text-align: center;
    }

    .uzay-app-tabbar-item i {
        display: block;
        font-size: 1.18rem;
        line-height: 1;
        margin: 0 !important;
    }

    .uzay-app-tabbar-icon {
        /* app-tabbar-color-icons */
        width: 36px;
        height: 36px;
        border-radius: 9px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        box-shadow: 0 5px 12px rgba(15, 23, 42, .14);
    }

    .uzay-app-tabbar-icon i {
        font-size: 1rem;
    }

    .uzay-app-tabbar-icon-panel { background: linear-gradient(135deg, #64748b, #94a3b8); }
    .uzay-app-tabbar-icon-customers { background: linear-gradient(135deg, #0d6efd, #38bdf8); }
    .uzay-app-tabbar-icon-stock { background: linear-gradient(135deg, #16a34a, #86efac); }
    .uzay-app-tabbar-icon-documents { background: linear-gradient(135deg, #f97316, #facc15); }
    .uzay-app-tabbar-icon-offers { background: linear-gradient(135deg, #7c3aed, #c084fc); }
    .uzay-app-tabbar-icon-work { background: linear-gradient(135deg, #2563eb, #14b8a6); }
    .uzay-app-tabbar-icon-reports { background: linear-gradient(135deg, #0891b2, #22d3ee); }
    .uzay-app-tabbar-icon-settings { background: linear-gradient(135deg, #475569, #0f172a); }

    /* app-dropdown-section-color-icons: acilir menu ikonlari ana sekme rengiyle uyumlu kalir. */
    .uzay-app-tabbar-stock .dropdown-item i { color: #16a34a; }
    .uzay-app-tabbar-documents .dropdown-item i { color: #f97316; }
    .uzay-app-tabbar-offers .dropdown-item i { color: #7c3aed; }
    .uzay-app-tabbar-work .dropdown-item i { color: #2563eb; }
    .uzay-app-tabbar-reports .dropdown-item i { color: #0891b2; }
    .uzay-app-tabbar-settings .dropdown-item i { color: #475569; }
    .uzay-app-tabbar .dropdown-item.active i,
    .uzay-app-tabbar .dropdown-item:active i {
        color: currentColor;
    }

    .uzay-app-tabbar-label {
        display: block;
        max-width: 100%;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        letter-spacing: 0;
        line-height: 1.05;
        font-weight: 700;
    }

    .uzay-app-tabbar-label-documents {
        font-size: .62rem;
        white-space: nowrap !important;
    }

    .uzay-app-tabbar-item.active,
    .uzay-app-tabbar-item:focus,
    .uzay-app-tabbar-item:hover {
        color: #0d6efd;
        background: #eef5ff;
        text-decoration: none;
    }

    .uzay-app-tabbar .dropdown-toggle::after {
        display: none;
    }

    .uzay-app-tabbar .dropdown-menu {
        width: max-content;
        min-width: 220px;
        max-width: min(330px, calc(100vw - 14px));
        max-height: min(68vh, 520px);
        overflow-y: auto;
        overflow-x: hidden;
        margin-bottom: .45rem !important;
        border-radius: 8px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
        font-size: .92rem;
    }

    .uzay-app-tabbar .dropdown-item {
        min-height: 40px;
        display: flex;
        align-items: center;
        gap: .35rem;
        white-space: normal;
    }

    body:has(.uzay-app-tabbar) .uzay-scroll-top {
        bottom: calc(104px + env(safe-area-inset-bottom)) !important;
    }

    .uzay-customer-desktop-actions {
        display: none !important;
    }

    .uzay-customer-mobile-actions {
        display: block;
        flex: 0 0 auto;
    }

    .uzay-customer-mobile-plus-v53 {
        margin-right: 38px;
    }

    .uzay-customer-mobile-plus {
        position: relative;
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        color: #fff;
        background: #0879b8;
        box-shadow: 0 10px 24px rgba(8, 121, 184, .32);
        font-size: 1.5rem;
        isolation: isolate;
        overflow: visible;
    }

    .uzay-customer-mobile-plus::before {
        content: "";
        position: absolute;
        inset: -4px;
        border-radius: inherit;
        background: conic-gradient(from 0deg, #0d6efd, #20c997, #ffc107, #fd7e14, #0d6efd);
        animation: uzayCustomerPlusSpinV53 1.9s linear infinite;
        z-index: -2;
    }

    .uzay-customer-mobile-plus::after {
        content: "";
        position: absolute;
        inset: 2px;
        border-radius: inherit;
        background: #0879b8;
        z-index: -1;
    }

    @keyframes uzayCustomerPlusSpinV53 {
        to { transform: rotate(360deg); }
    }

    .uzay-customer-mobile-actions .dropdown-menu {
        max-width: min(320px, calc(100vw - 18px));
        max-height: min(70vh, 520px);
        overflow-y: auto;
        border-radius: 8px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, .16);
    }

    .uzay-customer-mobile-menu-v61 {
        inset-inline-end: 0 !important;
    }

    .uzay-cari-add-collapse-v61 .card-body {
        overflow: visible;
    }

    .uzay-cari-add-collapse-v61 .row > * {
        padding-left: 0;
        padding-right: 0;
    }

    .container,
    .container-fluid {
        /* global-mobile-edge-spacing: tum mobil sayfalarda kartlar ekrana daha yakin oturur. */
        max-width: 100%;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .row > * {
        max-width: 100%;
        min-width: 0;
    }

    .container > .row > [class*="col-"],
    .container-fluid > .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    main,
    section,
    form,
    .card,
    .card-body,
    .modal,
    .modal-dialog,
    .modal-content,
    .table-responsive,
    .list-group,
    .dropdown-menu {
        max-width: 100%;
    }

    .card,
    .modal-content {
        overflow-x: visible;
    }

    img,
    canvas,
    svg,
    iframe {
        max-width: 100%;
    }

    .navbar {
        position: sticky;
        top: 0;
        z-index: 1040;
    }

    .navbar-brand {
        font-size: 1.05rem;
    }

    .card {
        border-radius: 8px;
        margin-bottom: 1rem;
    }

    .card-body,
    .card-header {
        padding: .9rem;
    }

    .form-control,
    .form-select,
    .btn {
        min-height: 44px;
        font-size: 16px;
    }

    /* mobile-entry-form-fit: keep entry screens readable on phones without overlapping labels and inputs. */
    form,
    form .card,
    form .card-body,
    form .card-header,
    form .toplam-alan,
    form .list-group,
    form .list-group-item {
        min-width: 0;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    form .form-control,
    form .form-select,
    form textarea,
    form input,
    form select,
    form .input-group,
    form .form-check,
    form .alert {
        min-width: 0;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    form .w-auto,
    form select.w-auto {
        width: 100% !important;
        max-width: 100% !important;
    }

    form .card-header.d-flex,
    form .card-header .d-flex,
    form .uzay-urun-bar {
        align-items: stretch !important;
        flex-wrap: wrap !important;
        gap: .45rem !important;
        min-width: 0;
    }

    form .card-header .btn,
    form .uzay-urun-bar .btn {
        flex: 1 1 auto;
        white-space: nowrap;
    }

    form .toplam-alan {
        padding: .75rem !important;
    }

    form .toplam-alan .list-group-item {
        gap: .5rem;
        padding-left: .75rem;
        padding-right: .75rem;
    }

    form .toplam-alan .list-group-item > * {
        min-width: 0;
    }

    textarea.form-control {
        min-height: 96px;
    }

    .btn-sm {
        min-height: 38px;
        font-size: .95rem;
    }

    .row.g-3 {
        --bs-gutter-y: .8rem;
    }

    .table-responsive,
    .table-responsive-custom {
        border: 1px solid #dee2e6;
        border-radius: 8px;
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    /* persistent-mobile-scrollbar-v42: mobil listelerde saga kaydirma oldugu altta surekli anlasilir. */
    .table-responsive,
    .table-responsive-custom,
    .uzay-mobile-scroll-x,
    .uzay-mobile-reminder-scroll {
        scrollbar-width: thin;
        scrollbar-color: #64748b #e5e7eb;
        scrollbar-gutter: stable both-edges;
        padding-bottom: 12px;
        background:
            linear-gradient(#d1d5db, #d1d5db) left bottom / 100% 8px no-repeat,
            linear-gradient(#94a3b8, #94a3b8) left bottom / 34% 8px no-repeat;
    }

    .table-responsive::-webkit-scrollbar,
    .table-responsive-custom::-webkit-scrollbar,
    .uzay-mobile-scroll-x::-webkit-scrollbar,
    .uzay-mobile-reminder-scroll::-webkit-scrollbar {
        height: 12px;
        display: block;
    }

    .table-responsive::-webkit-scrollbar-track,
    .table-responsive-custom::-webkit-scrollbar-track,
    .uzay-mobile-scroll-x::-webkit-scrollbar-track,
    .uzay-mobile-reminder-scroll::-webkit-scrollbar-track {
        background: #e5e7eb;
        border-radius: 999px;
    }

    .table-responsive::-webkit-scrollbar-thumb,
    .table-responsive-custom::-webkit-scrollbar-thumb,
    .uzay-mobile-scroll-x::-webkit-scrollbar-thumb,
    .uzay-mobile-reminder-scroll::-webkit-scrollbar-thumb {
        background: #64748b;
        border: 2px solid #e5e7eb;
        border-radius: 999px;
    }

    /* default-mobile-table-scroll: normal list tables scroll horizontally; custom mobile tables keep their scoped layouts. */
    /* menu-content-mobile-tight-columns-v49: tum normal menu icerik tablolarinda kolon bosluklari kompakt tutulur. */
    .table-responsive > .table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table),
    .table-responsive > table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table),
    .table-responsive-custom > .table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table),
    .table-responsive-custom > table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table) {
        width: max-content !important;
        max-width: none !important;
        min-width: min(540px, 100%) !important;
        table-layout: auto;
        font-size: .82rem;
    }

    .uzay-mobile-scroll-x {
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .uzay-mobile-scroll-x > .table,
    .uzay-mobile-scroll-x > table {
        max-width: none !important;
    }

    .table th,
    .table td {
        padding: .45rem .35rem;
        vertical-align: middle;
    }

    .table-responsive > .table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table) th,
    .table-responsive > .table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table) td,
    .table-responsive > table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table) th,
    .table-responsive > table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table) td,
    .table-responsive-custom > .table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table) th,
    .table-responsive-custom > .table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table) td,
    .table-responsive-custom > table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table) th,
    .table-responsive-custom > table:not(.uzay-customer-mobile-table):not(.uzay-reminder-mobile-table):not(.uzay-mobile-finance-table):not(.uzay-mobile-statement-table):not(.uzay-mobile-line-items-table):not(.uzay-mobile-kalem-table) td {
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .table th[style*="width"],
    .table td[style*="width"] {
        max-width: none !important;
    }

    .table .badge,
    .table small,
    .table .fw-bold {
        white-space: normal;
        max-width: 100%;
    }

    .table .btn,
    .btn-group-sm .btn {
        min-width: 32px;
        min-height: 32px;
        width: 32px;
        height: 32px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: .85rem;
        line-height: 1;
    }

    .table .btn-group,
    .btn-group-sm {
        flex-wrap: nowrap;
        max-width: 100%;
    }

    .table .btn i,
    .btn-group-sm .btn i {
        margin: 0 !important;
    }

    .card-header.d-flex,
    .card-body.d-flex,
    .list-group-item .d-flex {
        flex-wrap: wrap;
        gap: .5rem;
    }

    .card-header .btn,
    .card-body .btn,
    .list-group-item .btn {
        white-space: normal;
    }

    .uzay-reminder-mobile-table {
        table-layout: fixed;
        min-width: 398px !important;
        max-width: none !important;
    }

    .uzay-reminder-mobile-table thead {
        display: table-header-group;
    }

    .uzay-reminder-mobile-table tbody {
        display: table-row-group;
    }

    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri {
        display: table-row;
        width: auto;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, .08);
    }

    .uzay-reminder-mobile-table th,
    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri > td {
        display: table-cell;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: .5rem .35rem !important;
        vertical-align: middle;
        overflow: hidden;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    /* mobile-reminder-date-before-title */
    .uzay-reminder-mobile-table th[data-reminder-field="priority"],
    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri > td[data-reminder-field="priority"] {
        width: 44px !important;
        text-align: center;
    }

    .uzay-reminder-mobile-table th[data-reminder-field="date"],
    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri > td[data-reminder-field="date"] {
        width: 88px !important;
        font-size: .82rem;
        text-align: center;
    }

    .uzay-reminder-mobile-table th[data-reminder-field="title"],
    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri > td[data-reminder-field="title"] {
        width: 150px !important;
        max-width: 150px !important;
    }

    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri > td[data-reminder-field="title"] .fw-bold,
    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri > td[data-reminder-field="title"] small {
        display: block;
        max-width: 20ch;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
        line-height: 1.25;
    }

    .uzay-reminder-mobile-table th[data-reminder-field="actions"],
    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri > td[data-reminder-field="actions"] {
        width: 104px !important;
        text-align: center;
    }

    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri > td[data-reminder-field="date"] .d-flex {
        align-items: center;
        flex-direction: column;
        gap: .2rem;
    }

    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri > td[data-reminder-field="date"] .badge {
        width: 100%;
        max-width: 82px;
        font-size: .65rem;
    }

    .uzay-reminder-mobile-table tbody tr.hatirlatici-satiri > td[data-reminder-field="actions"] .btn-group {
        display: inline-flex;
        flex-wrap: nowrap;
    }

    .uzay-customer-mobile-table thead {
        display: none;
    }

    .uzay-customer-mobile-table,
    .uzay-customer-mobile-table tbody {
        display: block;
        width: 100%;
    }

    /* mobile-customer-balance-70-30-v89 */
    .uzay-customer-mobile-table tbody tr[data-detail-url] {
        display: grid;
        grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
        grid-template-areas: "customer balance";
        align-items: center;
        gap: .12rem .32rem;
        width: 100%;
        padding: .65rem .45rem;
        border-bottom: 1px solid rgba(0, 0, 0, .08);
    }

    .uzay-customer-mobile-table tbody tr[data-detail-url] > td {
        display: block;
        width: auto !important;
        border: 0 !important;
        padding: 0 !important;
        min-width: 0 !important;
        max-width: 100% !important;
        text-align: left !important;
    }

    .uzay-customer-mobile-table tbody tr[data-detail-url] > td:nth-child(1) {
        grid-area: customer;
    }

    .uzay-customer-mobile-table tbody tr[data-detail-url] > td:nth-child(1) .d-flex {
        gap: .45rem !important;
        min-width: 0;
    }

    .uzay-customer-mobile-table tbody tr[data-detail-url] > td:nth-child(1) .flex-grow-1 {
        min-width: 0;
    }

    .uzay-customer-mobile-table tbody tr[data-detail-url] > td:nth-child(1) .fw-semibold {
        max-width: 20ch;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: .82rem;
        line-height: 1.15;
    }

    .uzay-customer-mobile-table tbody tr[data-detail-url] > td:nth-child(1) .customer-name-wrap-v53 {
        width: min(100%, 20ch);
        max-width: 20ch;
        white-space: normal !important;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .uzay-customer-mobile-table .customer-meta {
        display: none !important;
    }

    .uzay-customer-mobile-table tbody tr[data-detail-url] > td:nth-child(4) {
        grid-area: balance;
        text-align: right !important;
    }

    .uzay-customer-mobile-table tbody tr[data-detail-url] > td:nth-child(2),
    .uzay-customer-mobile-table tbody tr[data-detail-url] > td:nth-child(3) {
        display: none !important;
    }

    .uzay-customer-mobile-table tbody tr[data-detail-url] > td:nth-child(4) {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        gap: .2rem;
        font-size: .68rem;
        line-height: 1.15;
        background: transparent;
        white-space: nowrap !important;
    }

    .uzay-customer-mobile-table tbody tr[data-detail-url] > td:nth-child(4)::before {
        content: "Bakiye" !important;
        color: #6c757d;
        font-weight: 600;
    }

    .uzay-customer-mobile-table .customer-avatar {
        width: 34px;
        height: 34px;
        font-size: .92rem;
    }

    .uzay-customer-mobile-table .balance-chip {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .18rem;
        width: 100%;
        padding: .15rem .2rem;
        font-size: .68rem;
        white-space: nowrap !important;
    }

    .uzay-customer-mobile-table .balance-chip .fw-semibold {
        min-width: 0;
        text-align: right;
    }

    .uzay-customer-mobile-table .balance-chip .badge {
        padding: .18rem .28rem;
        font-size: .62rem;
    }

    .uzay-mobile-finance-table {
        table-layout: fixed;
        min-width: 520px !important;
        max-width: none !important;
        font-size: .78rem;
    }

    .uzay-mobile-finance-table th,
    .uzay-mobile-finance-table td {
        padding: .42rem .28rem !important;
        vertical-align: middle;
        overflow: hidden;
        overflow-wrap: anywhere;
    }

    .uzay-mobile-finance-table th:nth-child(1),
    .uzay-mobile-finance-table td:nth-child(1) {
        width: 72px;
        white-space: nowrap !important;
    }

    .uzay-mobile-finance-table th:nth-child(2),
    .uzay-mobile-finance-table td:nth-child(2) {
        width: 130px;
    }

    .uzay-mobile-finance-table th:nth-child(3),
    .uzay-mobile-finance-table td:nth-child(3) {
        display: table-cell;
        width: 88px;
    }

    .uzay-mobile-finance-table th:nth-child(5),
    .uzay-mobile-finance-table td:nth-child(5) {
        width: 76px;
        white-space: nowrap !important;
    }

    .uzay-mobile-finance-table th:last-child,
    .uzay-mobile-finance-table td:last-child {
        width: 94px;
        text-align: right;
        white-space: nowrap !important;
    }

    .uzay-mobile-finance-table td.text-end,
    .uzay-mobile-finance-table .fw-bold {
        white-space: nowrap !important;
        overflow-wrap: normal;
    }

    .uzay-cari-history-table {
        table-layout: auto;
        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;
        font-size: .75rem;
    }

    .uzay-cari-history-table tbody tr {
        height: auto !important;
    }

    .uzay-cari-history-table th,
    .uzay-cari-history-table td {
        height: auto !important;
        min-height: 0 !important;
        padding: .22rem .2rem !important;
        line-height: 1.1 !important;
        vertical-align: middle !important;
    }

    /* compact-history-table-columns: keep amount next to the end of the description instead of reserving empty space. */
    .uzay-cari-history-table:not(.uzay-cari-payment-table) {
        width: max-content !important;
        min-width: max-content !important;
    }

    .uzay-cari-history-table:not(.uzay-cari-payment-table) th:nth-child(1),
    .uzay-cari-history-table:not(.uzay-cari-payment-table) td:nth-child(1) {
        width: 68px;
        white-space: nowrap !important;
    }

    .uzay-cari-history-table:not(.uzay-cari-payment-table) th:nth-child(2),
    .uzay-cari-history-table:not(.uzay-cari-payment-table) td:nth-child(2) {
        width: 1%;
        min-width: 0 !important;
        white-space: nowrap !important;
        padding-right: .45rem !important;
    }

    .uzay-cari-history-table:not(.uzay-cari-payment-table) th:nth-child(3),
    .uzay-cari-history-table:not(.uzay-cari-payment-table) td:nth-child(3) {
        width: 88px;
        white-space: nowrap !important;
    }

    .uzay-cari-history-table:not(.uzay-cari-payment-table) th:nth-child(4),
    .uzay-cari-history-table:not(.uzay-cari-payment-table) td:nth-child(4),
    .uzay-cari-history-table:not(.uzay-cari-payment-table) th:nth-child(5),
    .uzay-cari-history-table:not(.uzay-cari-payment-table) td:nth-child(5) {
        width: 106px;
        white-space: nowrap !important;
    }

    .uzay-cari-history-table td.text-end,
    .uzay-cari-history-table .fw-bold {
        white-space: nowrap !important;
    }

    .uzay-cari-followup-table {
        min-width: 460px !important;
        table-layout: fixed !important;
    }

    .uzay-cari-followup-table th:nth-child(2),
    .uzay-cari-followup-table td:nth-child(2) {
        width: 42% !important;
        min-width: 150px !important;
        white-space: normal !important;
    }

    .uzay-cari-followup-table td:nth-child(2) .uzay-wrap-20 {
        display: block;
        max-width: 20ch;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .uzay-cari-history-table .badge {
        display: inline-flex;
        align-items: center;
        padding: .15rem .3rem;
        font-size: .62rem;
        line-height: 1;
        white-space: nowrap;
        margin: 0 .1rem .08rem 0 !important;
    }

    .uzay-cari-history-table small {
        font-size: .66rem;
        line-height: 1.05;
        margin-top: .05rem !important;
    }

    .uzay-cari-history-table .btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
    }

    .uzay-cari-payment-table {
        min-width: 340px !important;
    }

    .uzay-cari-payment-table th:nth-child(1),
    .uzay-cari-payment-table td:nth-child(1) {
        width: 72px;
        white-space: nowrap !important;
    }

    .uzay-cari-payment-table th:nth-child(2),
    .uzay-cari-payment-table td:nth-child(2) {
        width: 82px;
        white-space: nowrap !important;
    }

    .uzay-cari-payment-table th:nth-child(3),
    .uzay-cari-payment-table td:nth-child(3) {
        width: 104px !important;
        white-space: nowrap !important;
    }

    .uzay-cari-payment-table th:last-child,
    .uzay-cari-payment-table td:last-child {
        width: 82px !important;
        text-align: center;
        white-space: nowrap !important;
    }

    .uzay-cari-payment-table .uzay-history-time {
        display: none;
    }

    .uzay-mobile-statement-table {
        table-layout: fixed;
        min-width: 820px !important;
        max-width: none !important;
        font-size: .75rem;
    }

    .uzay-mobile-statement-table th,
    .uzay-mobile-statement-table td {
        padding: .42rem .28rem !important;
        vertical-align: middle;
    }

    .uzay-mobile-statement-table th:nth-child(1),
    .uzay-mobile-statement-table td:nth-child(1) {
        width: 74px !important;
        white-space: nowrap !important;
    }

    .uzay-mobile-statement-table th:nth-child(2),
    .uzay-mobile-statement-table td:nth-child(2),
    .uzay-mobile-statement-table .uzay-ekstre-aciklama {
        width: 360px !important;
        min-width: 360px !important;
        white-space: nowrap !important;
        overflow-wrap: normal;
        word-break: normal;
    }

    .uzay-mobile-statement-table th:nth-child(3),
    .uzay-mobile-statement-table th:nth-child(4),
    .uzay-mobile-statement-table td:nth-child(3),
    .uzay-mobile-statement-table td:nth-child(4) {
        width: 96px !important;
        white-space: nowrap !important;
    }

    .uzay-mobile-statement-table th:nth-child(5),
    .uzay-mobile-statement-table td:nth-child(5) {
        width: 110px !important;
        white-space: nowrap !important;
    }

    .uzay-mobile-line-items-table,
    .uzay-mobile-kalem-table {
        table-layout: fixed;
        max-width: none !important;
        font-size: .76rem;
    }

    .uzay-mobile-line-items-table {
        min-width: 860px !important;
    }

    .uzay-mobile-kalem-table {
        min-width: 620px !important;
    }

    .uzay-mobile-line-items-table.uzay-mobile-line-items-table,
    .uzay-mobile-kalem-table.uzay-mobile-kalem-table {
        display: table;
        width: 100%;
    }

    .uzay-mobile-line-items-table thead,
    .uzay-mobile-kalem-table thead {
        display: table-header-group;
    }

    .uzay-mobile-line-items-table tbody,
    .uzay-mobile-kalem-table tbody {
        display: table-row-group;
    }

    .uzay-mobile-line-items-table tr,
    .uzay-mobile-kalem-table tr {
        display: table-row;
        border: 0;
        border-radius: 0;
        padding: 0;
        margin: 0;
        margin-bottom: 0;
        background: transparent;
    }

    .uzay-mobile-line-items-table th,
    .uzay-mobile-line-items-table td,
    .uzay-mobile-kalem-table th,
    .uzay-mobile-kalem-table td {
        display: table-cell;
        width: auto;
        border: 1px solid #dee2e6 !important;
        padding: .35rem .28rem !important;
        vertical-align: middle;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .uzay-mobile-line-items-table td::before,
    .uzay-mobile-kalem-table td::before {
        content: none !important;
        display: none !important;
    }

    .uzay-mobile-line-items-table th:first-child,
    .uzay-mobile-line-items-table td:first-child,
    .uzay-mobile-kalem-table th:first-child,
    .uzay-mobile-kalem-table td:first-child {
        width: 44px !important;
        text-align: center;
    }

    .uzay-mobile-line-items-table th:nth-child(2),
    .uzay-mobile-line-items-table td:nth-child(2),
    .uzay-mobile-kalem-table th:nth-child(2),
    .uzay-mobile-kalem-table td:nth-child(2) {
        width: 190px !important;
    }

    /* mobile-line-item-qty-control-fit: keep quantity stepper buttons inside their own cell. */
    .uzay-mobile-line-items-table th:nth-child(3),
    .uzay-mobile-line-items-table td:nth-child(3) {
        width: 116px !important;
        min-width: 116px !important;
    }

    .uzay-mobile-line-items-table th:nth-child(4),
    .uzay-mobile-line-items-table td:nth-child(4) {
        width: 104px !important;
        min-width: 104px !important;
    }

    .uzay-mobile-line-items-table .uzay-qty-control {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 28px;
        gap: .22rem;
        align-items: stretch;
        width: 100%;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .uzay-mobile-line-items-table .uzay-qty-control .miktar {
        width: 100%;
        min-width: 0 !important;
        padding-left: .25rem;
        padding-right: .25rem;
    }

    .uzay-mobile-line-items-table .uzay-qty-buttons {
        display: flex;
        flex-direction: column;
        width: 28px !important;
        min-width: 28px !important;
        gap: .12rem;
    }

    .uzay-mobile-line-items-table .uzay-qty-buttons .btn {
        width: 28px;
        min-width: 28px;
        height: 20px;
        min-height: 20px;
        padding: 0;
        line-height: 1;
        font-size: .7rem;
    }

    .uzay-mobile-quote-edit-table th:first-child,
    .uzay-mobile-quote-edit-table td:first-child {
        width: 190px !important;
        min-width: 190px !important;
        text-align: left !important;
    }

    .uzay-mobile-quote-edit-table th:nth-child(2),
    .uzay-mobile-quote-edit-table td:nth-child(2) {
        width: 116px !important;
        min-width: 116px !important;
    }

    .uzay-mobile-quote-edit-table th:nth-child(3),
    .uzay-mobile-quote-edit-table td:nth-child(3) {
        width: 104px !important;
        min-width: 104px !important;
    }

    .uzay-mobile-line-items-table th:last-child,
    .uzay-mobile-line-items-table td:last-child,
    .uzay-mobile-kalem-table th:last-child,
    .uzay-mobile-kalem-table td:last-child {
        width: 48px !important;
        text-align: center !important;
    }

    .uzay-mobile-line-items-table input,
    .uzay-mobile-line-items-table select,
    .uzay-mobile-kalem-table input,
    .uzay-mobile-kalem-table select {
        width: 100%;
        min-width: 0;
        font-size: .82rem;
        padding-left: .35rem;
        padding-right: .35rem;
    }

    .uzay-mobile-line-items-table .d-flex,
    .uzay-mobile-kalem-table .d-flex {
        min-width: 0;
        flex-wrap: nowrap;
    }

    form #kalemRows > .kalem-row:not(tr),
    .uzay-mobile-kalem-list .kalem-row {
        display: grid !important;
        grid-template-columns: minmax(0, .72fr) minmax(0, 1fr) 42px;
        grid-template-areas: "description description description" "quantity amount remove";
        gap: .5rem .45rem;
        align-items: stretch;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: .75rem;
        margin: 0 0 .75rem !important;
        background: #fff;
        min-width: 0;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    form #kalemRows > .kalem-row:not(tr) > [class*="col-"],
    .uzay-mobile-kalem-list .kalem-row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding-left: 0;
        padding-right: 0;
        min-width: 0;
    }

    form #kalemRows > .kalem-row:not(tr) > [class*="col-"]:nth-child(1),
    .uzay-mobile-kalem-list .kalem-row > [class*="col-"]:nth-child(1) {
        grid-area: description;
    }

    form #kalemRows > .kalem-row:not(tr) > [class*="col-"]:nth-child(2),
    .uzay-mobile-kalem-list .kalem-row > [class*="col-"]:nth-child(2) {
        grid-area: amount;
    }

    form #kalemRows > .kalem-row:not(tr) > [class*="col-"]:nth-child(3),
    .uzay-mobile-kalem-list .kalem-row > [class*="col-"]:nth-child(3) {
        grid-area: remove;
        align-self: end;
        justify-self: end;
    }

    form #kalemRows > .kalem-row:not(tr) .form-label,
    .uzay-mobile-kalem-list .kalem-row .form-label {
        font-size: .72rem;
        font-weight: 700;
        margin-bottom: .15rem;
        line-height: 1.15;
        white-space: normal;
    }

    form #kalemRows > .kalem-row:not(tr) .form-control,
    form #kalemRows > .kalem-row:not(tr) .form-select,
    .uzay-mobile-kalem-list .kalem-row .form-control,
    .uzay-mobile-kalem-list .kalem-row .form-select {
        width: 100%;
        min-width: 0;
        max-width: 100% !important;
    }

    form #kalemRows > .kalem-row:not(tr) .tutar-input,
    .uzay-mobile-kalem-list .kalem-row .tutar-input {
        min-width: 0;
        text-align: right;
        font-weight: 700;
    }

    form #kalemRows > .kalem-row:not(tr) .remove-kalem-row,
    .uzay-mobile-kalem-list .kalem-row .kalemSil {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        padding: 0;
        overflow: hidden;
    }

    .uzay-mobile-kalem-list .kalem-row .kalemSil {
        color: transparent;
    }

    form #kalemRows > .kalem-row:not(tr) .remove-kalem-row {
        color: var(--bs-danger) !important;
    }

    form #kalemRows > .kalem-row:not(tr) .remove-kalem-row i {
        color: inherit;
        margin: 0;
    }

    .uzay-mobile-kalem-list .kalem-row .kalemSil i {
        color: #fff;
        margin: 0;
    }

    /* mobile-customer-entry-spaced-card: cari borclandir/alacaklandir kalemleri telefonda nefesli kart duzeninde kalir. */
    .uzay-customer-entry-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .uzay-customer-entry-container > .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .uzay-customer-entry-card {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .uzay-kalem-toolbar {
        align-items: center !important;
    }

    .uzay-kalem-toolbar h5 {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 1.15rem;
    }

    .uzay-kalem-toolbar #kalemEkle {
        margin-left: auto;
        flex: 0 0 auto;
    }

    .uzay-kalem-toolbar [data-bs-target="#urunSecModalBorc"] {
        flex: 0 0 auto;
    }

    .uzay-mobile-kalem-list {
        width: 100%;
        max-width: 100%;
        border: 0;
        border-radius: 0;
        overflow: visible;
        background: #fff;
        box-sizing: border-box;
    }

    .uzay-mobile-kalem-list .kalem-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 42px;
        grid-template-areas: "description description" "amount remove";
        gap: .55rem .5rem;
        align-items: end;
        border: 1px solid #e1e8f0;
        border-radius: 8px;
        margin: 0 !important;
        padding: .75rem;
        background: #fff;
        min-height: 0;
    }

    .uzay-mobile-kalem-list .kalem-row > [data-kalem-field="description"] {
        grid-area: description;
        padding-right: 0;
    }

    .uzay-mobile-kalem-list .kalem-row > [data-kalem-field="tutar"] {
        grid-area: amount;
        padding: 0;
    }

    .uzay-mobile-kalem-list .kalem-row > [data-kalem-field="quantity"] {
        grid-area: quantity;
        padding: 0;
        min-width: 0;
    }

    .uzay-mobile-kalem-list .kalem-row [data-kalem-unit] {
        min-width: 3.3rem;
        justify-content: center;
        font-size: .72rem;
        font-weight: 700;
        padding-left: .3rem;
        padding-right: .3rem;
    }

    .uzay-mobile-kalem-list .kalem-row > [data-kalem-field="remove"] {
        grid-area: remove;
        justify-self: end;
        align-self: end;
        padding-left: 0;
    }

    .uzay-mobile-kalem-list .kalem-row .form-label {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0 0 .2rem;
        overflow: visible;
        clip: auto;
        white-space: normal;
        border: 0;
        display: block;
        font-size: .78rem;
        font-weight: 800;
        color: #111827;
    }

    .uzay-mobile-kalem-list .kalem-row .form-control {
        min-height: 44px;
        font-size: .95rem;
        padding: .45rem .55rem;
        border-radius: 7px;
    }

    .uzay-mobile-kalem-list .kalem-row .tutar-input {
        font-size: .95rem;
        font-weight: 800;
        text-align: right;
    }

    .uzay-mobile-kalem-list .kalem-row .kalemSil {
        width: 42px;
        height: 44px;
        min-width: 42px;
        min-height: 44px;
        border-radius: 7px;
    }

    /* mobile-customer-line-layout-v82: keep quantity, amount and remove controls aligned inside the phone width. */
    .uzay-mobile-kalem-layout-v82 .kalem-row {
        grid-template-columns: minmax(88px, .72fr) minmax(0, 1fr) 42px !important;
        grid-template-areas: "description description description" "quantity amount remove" !important;
        column-gap: .5rem;
        row-gap: .55rem;
    }

    .uzay-mobile-kalem-layout-v82 .kalem-row > [data-kalem-field="quantity"] .input-group {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        min-width: 0;
    }

    .uzay-mobile-kalem-layout-v82 .kalem-row > [data-kalem-field="quantity"] .miktar-input {
        flex: 1 1 auto;
        width: 1%;
        min-width: 0;
    }

    .uzay-mobile-kalem-layout-v82 .kalem-row > [data-kalem-field="quantity"] [data-kalem-unit] {
        flex: 0 0 auto;
        min-width: 2.9rem;
    }

    .uzay-mobile-kalem-layout-v82 .kalem-row > [data-kalem-field="tutar"] {
        min-width: 0;
    }

    /* mobile-customer-line-layout-v85: semantic areas override legacy nth-child rules. */
    .uzay-mobile-kalem-layout-v85 .kalem-row {
        grid-template-columns: minmax(82px, .7fr) minmax(118px, 1.3fr) 44px !important;
        grid-template-areas: "description description description" "quantity amount remove" !important;
        column-gap: .45rem;
        row-gap: .55rem;
    }

    .uzay-mobile-kalem-layout-v85 .kalem-row > [data-kalem-field="description"] {
        grid-area: description !important;
    }

    .uzay-mobile-kalem-layout-v85 .kalem-row > [data-kalem-field="quantity"] {
        grid-area: quantity !important;
        min-width: 0 !important;
    }

    .uzay-mobile-kalem-layout-v85 .kalem-row > [data-kalem-field="tutar"] {
        grid-area: amount !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .uzay-mobile-kalem-layout-v85 .kalem-row > [data-kalem-field="remove"] {
        grid-area: remove !important;
        width: 44px !important;
        justify-self: end !important;
        align-self: end !important;
    }

    .uzay-mobile-kalem-layout-v85 .kalem-row > [data-kalem-field="quantity"] .input-group {
        display: grid !important;
        grid-template-columns: minmax(34px, 1fr) auto;
        width: 100% !important;
        min-width: 0 !important;
    }

    .uzay-mobile-kalem-layout-v85 .kalem-row > [data-kalem-field="quantity"] .miktar-input {
        width: 100% !important;
        min-width: 0 !important;
    }

    .uzay-mobile-kalem-layout-v85 .kalem-row > [data-kalem-field="quantity"] [data-kalem-unit] {
        min-width: 0 !important;
        max-width: 44px;
        padding-left: .3rem;
        padding-right: .3rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .uzay-mobile-kalem-layout-v85 .kalem-row .tutar-input {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1;
    }

    .modal-dialog {
        margin: .5rem;
    }

    .modal-content {
        border-radius: 8px;
    }

    .modal-body {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }

    .sidebar {
        width: min(86vw, 320px) !important;
        transform: translateX(-105%);
        transition: transform .2s ease;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .custom-footer {
        font-size: .92rem;
    }

    .form-signin {
        max-width: none;
        width: calc(100vw - 24px);
        padding: 22px;
        border-radius: 8px;
    }

    .uzay-app-install-btn {
        right: 12px;
        left: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        justify-content: center;
        width: calc(100% - 24px);
    }

    .uzay-app-install-panel {
        right: 12px;
        left: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        width: auto;
    }
}

@media (display-mode: standalone) and (min-width: 769px) {
    /* windows-app-top-tabbar: kurulu Windows uygulamasinda telefon app menusu ust panel olarak calisir. */
    .custom-navbar {
        display: none !important;
    }

    .uzay-navbar-spacer {
        display: none !important;
    }

    body:has(.uzay-app-tabbar) {
        padding-top: 98px;
    }

    .uzay-app-tabbar {
        position: fixed;
        top: 0;
        bottom: auto;
        left: 0;
        right: 0;
        z-index: 1095;
        display: grid !important;
        /* legacy-check: grid-template-columns: repeat(7, minmax(0, 1fr)) */
        grid-template-columns: repeat(var(--uzay-app-tab-count), minmax(0, 1fr));
        align-items: center;
        min-height: 90px;
        padding: 10px 18px;
        border-bottom: 1px solid rgba(15, 23, 42, .12);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 4px 18px rgba(15, 23, 42, .10);
    }

    .uzay-app-tabbar-item {
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: #334155;
        min-height: 78px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        padding: 8px 10px;
        text-decoration: none;
        font-weight: 700;
        font-size: 1.04rem;
        line-height: 1.08;
    }

    .uzay-app-tabbar-icon {
        width: 46px;
        height: 46px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        box-shadow: 0 6px 16px rgba(15, 23, 42, .16);
    }

    .uzay-app-tabbar-icon-panel { background: linear-gradient(135deg, #64748b, #94a3b8); }
    .uzay-app-tabbar-icon-customers { background: linear-gradient(135deg, #0d6efd, #38bdf8); }
    .uzay-app-tabbar-icon-stock { background: linear-gradient(135deg, #16a34a, #86efac); }
    .uzay-app-tabbar-icon-documents { background: linear-gradient(135deg, #f97316, #facc15); }
    .uzay-app-tabbar-icon-offers { background: linear-gradient(135deg, #7c3aed, #c084fc); }
    .uzay-app-tabbar-icon-work { background: linear-gradient(135deg, #2563eb, #14b8a6); }
    .uzay-app-tabbar-icon-reports { background: linear-gradient(135deg, #0891b2, #22d3ee); }
    .uzay-app-tabbar-icon-settings { background: linear-gradient(135deg, #475569, #0f172a); }

    .uzay-app-tabbar-stock .dropdown-item i { color: #16a34a; }
    .uzay-app-tabbar-documents .dropdown-item i { color: #f97316; }
    .uzay-app-tabbar-offers .dropdown-item i { color: #7c3aed; }
    .uzay-app-tabbar-work .dropdown-item i { color: #2563eb; }
    .uzay-app-tabbar-reports .dropdown-item i { color: #0891b2; }
    .uzay-app-tabbar-settings .dropdown-item i { color: #475569; }
    .uzay-app-tabbar .dropdown-item.active i,
    .uzay-app-tabbar .dropdown-item:active i {
        color: currentColor;
    }

    .uzay-app-tabbar-item.active,
    .uzay-app-tabbar-item:focus,
    .uzay-app-tabbar-item:hover {
        color: #0d6efd;
        background: #eef5ff;
        text-decoration: none;
    }

    .uzay-app-tabbar .dropdown-toggle::after {
        display: none;
    }

    .uzay-app-tabbar .dropdown-menu {
        min-width: 240px;
        max-width: min(360px, calc(100vw - 24px));
        max-height: min(70vh, 560px);
        overflow-y: auto;
        border-radius: 8px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
    }
}

/* stock-mobile-tight-columns-v48: stok urun listesi global 720px mobil tablo kuralini ezerek kolonlari birbirine yaklastirir. */
@media (max-width: 768px) {
    .table-responsive > .stock-simple-columns-v44.stock-compact-columns-v47,
    .table-responsive > table.stock-simple-columns-v44.stock-compact-columns-v47,
    .uzay-stock-list-card .stock-simple-columns-v44.stock-compact-columns-v47 {
        width: 438px !important;
        min-width: 438px !important;
        max-width: 438px !important;
        table-layout: fixed !important;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 th,
    .stock-simple-columns-v44.stock-compact-columns-v47 td {
        padding: .42rem .22rem !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
        line-height: 1.18;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 [data-stock-field="category"] {
        width: 72px !important;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 [data-stock-field="name"] {
        width: 118px !important;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 [data-stock-field="unit"] {
        width: 42px !important;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 [data-stock-field="stock"] {
        width: 62px !important;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 [data-stock-field="sale_price"] {
        width: 78px !important;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 [data-stock-field="actions"] {
        width: 66px !important;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 .stock-product-name-wrap-v47,
    .stock-simple-columns-v44.stock-compact-columns-v47 .uzay-table-product,
    .stock-simple-columns-v44.stock-compact-columns-v47 .uzay-table-description {
        max-width: 20ch !important;
        display: block !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        line-height: 1.18;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 .stok-badge {
        min-width: 0 !important;
        width: 100%;
        padding-left: .18rem;
        padding-right: .18rem;
        white-space: normal;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 .btn-group-sm {
        gap: .08rem;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 .btn-group-sm .btn {
        width: 22px !important;
        height: 24px !important;
        min-width: 22px !important;
        min-height: 24px !important;
        padding: 0 !important;
    }

    .stock-simple-columns-v44.stock-compact-columns-v47 .btn-group-sm .btn i {
        font-size: .78rem;
    }
}

/* action-button-nowrap-v59: genel duzenle/goruntule/sil gibi aksiyon butonlari dar alanda dikey yazima dusmez. */
.table .btn.btn-sm,
.table .btn-group .btn,
.btn-group-sm .btn:not(.dropdown-toggle),
.uzay-action-compact-v59 .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: .25rem;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    writing-mode: horizontal-tb !important;
    vertical-align: middle;
}

.table .btn.btn-sm i,
.table .btn-group .btn i,
.btn-group-sm .btn:not(.dropdown-toggle) i,
.uzay-action-compact-v59 .btn i {
    flex: 0 0 auto;
    margin: 0 !important;
}

.table .btn-group,
.btn-group-sm {
    align-items: center;
    flex-wrap: nowrap !important;
}

@media (max-width: 768px) {
    .table .btn.btn-sm,
    .table .btn-group .btn,
    .btn-group-sm .btn:not(.dropdown-toggle),
    .uzay-action-compact-v59 .btn {
        width: auto !important;
        min-width: 32px !important;
        max-width: 44px !important;
        min-height: 32px !important;
        height: 32px !important;
        padding: 0 .42rem !important;
        line-height: 1 !important;
    }
}

/* permission-toolbar-mobile-v59: yetki ayarlari kontrol butonlari mobilde ust uste binmeden basilabilir kalir. */
.uzay-permission-toolbar-v59 {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    gap: .5rem;
    align-items: center;
}

.uzay-permission-toolbar-v59 [data-yetki-search] {
    width: 100% !important;
    min-width: 0;
}

.uzay-permission-group-actions-v59 {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    flex-wrap: wrap;
}

.uzay-permission-toolbar-v59 .btn,
.uzay-permission-group-actions-v59 .btn {
    white-space: nowrap !important;
}

@media (max-width: 576px) {
    .uzay-permission-toolbar-v59 {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .uzay-permission-toolbar-v59 [data-yetki-search] {
        grid-column: 1 / -1;
    }

    .uzay-permission-toolbar-v59 .btn {
        width: 100%;
        min-width: 0;
    }

    .uzay-permission-group-actions-v59 {
        justify-content: stretch;
    }

    .uzay-permission-group-actions-v59 .btn {
        flex: 1 1 0;
        min-width: 108px;
    }
}

/* permission-checkbox-card-v60: yetki secim kutusu kendi kartinin icinde, mobilde kolay basilabilir kalir. */
.uzay-permission-card-v60 {
    position: relative;
    display: block !important;
    min-height: 68px;
    padding: .75rem .85rem .75rem 3.15rem !important;
    border: 1px solid #0d6efd;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.uzay-permission-card-v60 .form-check-input {
    position: absolute;
    left: .95rem;
    top: 50%;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0 !important;
    transform: translateY(-50%);
}

.uzay-permission-card-v60 > span {
    display: block;
    min-width: 0;
}

.uzay-permission-card-v60 small {
    overflow-wrap: anywhere;
}

.uzay-permission-card-v60:has(.form-check-input:checked) {
    background: #f5f9ff;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, .18);
}

@media (max-width: 576px) {
    .uzay-permission-card-v60 {
        min-height: 76px;
        padding-left: 3.3rem !important;
    }

    .uzay-permission-card-v60 .form-check-input {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* offer-list-mobile-v60: teklif listesi telefonda sag kaydirma istemeden iki satirli okunur kartlara doner. */
/* offer-list-mobile-v61: tutar sola dayanir, islem butonlari kart icinde net gorunur. */
@media (max-width: 768px) {
    .uzay-offer-table-wrap-v60 {
        overflow-x: hidden !important;
        border: 0 !important;
    }

    .uzay-offer-mobile-table-v60 {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
        border-collapse: separate !important;
        border-spacing: 0 .45rem !important;
    }

    .uzay-offer-mobile-table-v60 thead {
        display: none;
    }

    .uzay-offer-mobile-table-v60 tbody,
    .uzay-offer-mobile-table-v60 tr,
    .uzay-offer-mobile-table-v60 td {
        display: block;
    }

    .uzay-offer-mobile-table-v60 tbody tr {
        display: grid;
        grid-template-columns: 68px minmax(0, 1fr) 92px;
        grid-template-areas:
            "date customer amount"
            "status actions actions";
        gap: .34rem .42rem;
        align-items: center;
        width: 100%;
        padding: .56rem .44rem;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 1px 4px rgba(15, 23, 42, .06);
        cursor: pointer;
    }

    .uzay-offer-mobile-table-v60 td {
        min-width: 0;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .uzay-offer-mobile-table-v60 [data-offer-field="date"] {
        grid-area: date;
        white-space: nowrap;
        font-size: .82rem;
        font-weight: 700;
        color: #334155;
    }

    .uzay-offer-mobile-table-v60 [data-offer-field="customer"] {
        grid-area: customer;
        max-width: 20ch;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
        line-height: 1.18;
        font-weight: 700;
    }

    .uzay-offer-customer-link-v60 {
        color: inherit;
        text-decoration: none;
    }

    .uzay-offer-mobile-table-v60 [data-offer-field="amount"] {
        grid-area: amount;
        justify-self: start;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        font-weight: 700;
        color: #dc3545;
        font-size: .8rem;
        line-height: 1.14;
    }

    .uzay-offer-mobile-table-v60 [data-offer-field="status"] {
        grid-area: status;
        justify-self: start;
    }

    .uzay-offer-mobile-table-v60 [data-offer-field="actions"] {
        grid-area: actions;
        justify-self: start;
        display: inline-flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: .18rem;
        max-width: 100%;
        overflow: visible;
    }

    .uzay-offer-mobile-table-v60 [data-offer-field="actions"] .btn {
        width: 29px !important;
        height: 29px !important;
        min-width: 29px !important;
        min-height: 29px !important;
        max-width: 29px !important;
        padding: 0 !important;
    }
}

/* list-limit-v61: cari listesi haric uzun tablolarda ilk 50 kayit ve kullanici secimi. */
.uzay-list-limit-toolbar-v61 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .4rem;
    flex-wrap: wrap;
    padding: .45rem .55rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    font-size: .84rem;
}

.uzay-list-limit-toolbar-v61 .btn {
    min-height: 30px;
    padding: .2rem .48rem;
    font-weight: 700;
}

.uzay-list-limit-info-v61 {
    color: #64748b;
    font-weight: 600;
    margin-right: auto;
}

@media (max-width: 576px) {
    .uzay-list-limit-toolbar-v61 {
        justify-content: flex-start;
        padding: .42rem;
    }

    .uzay-list-limit-toolbar-v61 .btn {
        flex: 0 0 auto;
        min-width: 42px;
    }
}

.uzay-app-update-banner-v87 {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(82px + env(safe-area-inset-bottom));
    z-index: 1085;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem;
    max-width: 680px;
    margin: 0 auto;
    padding: .7rem .8rem;
    color: #172033;
    background: #fff;
    border: 1px solid #b8cdfa;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(23, 32, 51, .2);
}
.uzay-app-update-icon-v87 {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: #0d6efd;
    font-size: 1.25rem;
}
.uzay-app-update-copy-v87 { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.uzay-app-update-copy-v87 span { margin-top: .15rem; color: #667085; font-size: .78rem; }
@media (min-width: 769px) {
    .uzay-app-update-banner-v87 { bottom: 18px; }
}
@media (max-width: 420px) {
    .uzay-app-update-banner-v87 { grid-template-columns: 36px minmax(0, 1fr); }
    .uzay-app-update-icon-v87 { width: 36px; height: 36px; }
    .uzay-app-update-banner-v87 .btn { grid-column: 1 / -1; width: 100%; }
}

/* customer-statement-colored-frame-v90: cari ekstre sabit ve hafif golgeli bir cerceve kullanir. */
.uzay-cari-statement-frame-v90 {
    position: relative;
    isolation: isolate;
    overflow: visible;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: #0879b8 !important;
    box-shadow: 0 7px 18px rgba(8, 121, 184, .24), 0 0 0 3px rgba(32, 201, 151, .18);
}

.uzay-cari-statement-frame-v90::before {
    content: "";
    position: absolute;
    inset: -3px;
    z-index: -2;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd, #20c997 48%, #0879b8);
}

.uzay-cari-statement-frame-v90::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;
    border-radius: 6px;
    background: #0879b8;
}

.uzay-cari-statement-frame-v90:hover,
.uzay-cari-statement-frame-v90:focus {
    color: #fff !important;
    background: #076fa9 !important;
}
