/* StokPlus+ Panel Pro — Command Center & UX */

@keyframes pulse-critical {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); border-color: rgba(239, 68, 68, 0.6); }
    50% { box-shadow: 0 0 20px 4px rgba(239, 68, 68, 0.35); border-color: rgba(239, 68, 68, 1); }
}
@keyframes pulse-danger {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    50% { box-shadow: 0 0 28px 8px rgba(220, 38, 38, 0.45); }
}
@keyframes pulse-glow-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}
@keyframes health-ring-spin {
    to { transform: rotate(360deg); }
}
@keyframes slide-down-in {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes alarm-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

body.health-calm { --health-accent: #10b981; --health-glow: rgba(16, 185, 129, 0.28); --health-glow-soft: rgba(16, 185, 129, 0.1); --health-border: rgba(16, 185, 129, 0.28); }
body.health-attention { --health-accent: #f59e0b; --health-glow: rgba(245, 158, 11, 0.32); --health-glow-soft: rgba(245, 158, 11, 0.12); --health-border: rgba(245, 158, 11, 0.35); }
body.health-critical { --health-accent: #ef4444; --health-glow: rgba(239, 68, 68, 0.38); --health-glow-soft: rgba(239, 68, 68, 0.14); --health-border: rgba(239, 68, 68, 0.45); }

/* Sağlık ambiyansı — layout'a dokunmadan (drawer/sidebar bozulmasın) */
@keyframes health-ambient-breathe {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.85; }
}
@keyframes health-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.85; }
}
@keyframes health-ring-stroke {
    0%, 100% { filter: drop-shadow(0 0 1px var(--health-accent)); }
    50% { filter: drop-shadow(0 0 6px var(--health-accent)); }
}

body.health-calm::before,
body.health-attention::before,
body.health-critical::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    animation: health-ambient-breathe 4.2s ease-in-out infinite;
}
body.health-calm::before {
    background:
        radial-gradient(ellipse 90% 55% at 50% -15%, rgba(16, 185, 129, 0.09), transparent 68%),
        radial-gradient(ellipse 50% 35% at 100% 100%, rgba(16, 185, 129, 0.04), transparent 62%);
}
body.health-attention::before {
    background:
        radial-gradient(ellipse 90% 55% at 50% -15%, rgba(245, 158, 11, 0.1), transparent 68%),
        radial-gradient(ellipse 50% 35% at 0% 100%, rgba(245, 158, 11, 0.05), transparent 62%);
}
body.health-critical::before {
    background:
        radial-gradient(ellipse 90% 55% at 50% -15%, rgba(239, 68, 68, 0.12), transparent 68%),
        radial-gradient(ellipse 55% 40% at 100% 80%, rgba(239, 68, 68, 0.06), transparent 62%);
    animation-duration: 3.2s;
}

header.theme-header {
    position: relative;
    z-index: 120;
    overflow: visible;
}
body.health-calm header.theme-header,
body.health-attention header.theme-header,
body.health-critical header.theme-header {
    border-bottom-color: var(--health-border) !important;
}
.notif-wrap {
    position: relative;
    z-index: 130;
}

#sidebar.app-sidebar {
    border-right-color: var(--health-border);
    transition: border-color 0.4s ease;
}

.health-ring-wrap svg circle:last-child {
    animation: health-ring-stroke 3.2s ease-in-out infinite;
}
body.health-critical .health-ring-wrap svg circle:last-child {
    animation-duration: 2.4s;
}

.health-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--health-border, rgba(16, 185, 129, 0.25));
    background: rgba(16, 185, 129, 0.1);
    transition: border-color 0.4s, background 0.4s;
}
.health-pill-attention { border-color: rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.1); }
.health-pill-critical { border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.1); }
.health-status-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--health-accent, #10b981);
    flex-shrink: 0;
    animation: health-dot-pulse 2.8s ease-in-out infinite;
}
body.health-critical .health-status-dot { animation-duration: 2s; }
.health-status-name {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--health-accent, #10b981);
}
.health-score-mini {
    font-size: 0.625rem;
    font-weight: 900;
    padding: 0.1rem 0.35rem;
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--health-accent, #10b981);
    line-height: 1.2;
}
.health-pill-calm { --health-accent: #10b981; }
.health-pill-attention { --health-accent: #f59e0b; }
.health-pill-critical { --health-accent: #ef4444; }

@media (prefers-reduced-motion: reduce) {
    body.health-calm::before,
    body.health-attention::before,
    body.health-critical::before,
    .health-status-dot,
    .health-ring-wrap svg circle:last-child {
        animation: none !important;
    }
}

/* Command Center */
.command-center {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border-accent);
    border-radius: 1.5rem;
    overflow: hidden;
    animation: slide-down-in 0.5s ease;
}
.command-center.health-critical {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.12);
}
.command-center.health-attention {
    border-color: rgba(245, 158, 11, 0.4);
}
.command-center.health-calm {
    border-color: rgba(16, 185, 129, 0.35);
}
.cc-top-band {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.06) 0%, transparent 60%);
}
.health-ring-wrap {
    position: relative;
    width: 5.5rem;
    height: 5.5rem;
    flex-shrink: 0;
}
.health-ring-wrap svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}
.health-ring-score {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    line-height: 1;
}
.health-ring-score span:first-child { font-size: 1.35rem; }
.health-ring-score span:last-child { font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-top: 2px; }
.cc-mood-title { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; }
.cc-mood-sub { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; max-width: 36rem; }
.cc-mood-calm .cc-mood-title { color: #10b981; }
.cc-mood-attention .cc-mood-title { color: #f59e0b; }
.cc-mood-critical .cc-mood-title { color: #ef4444; }

.alert-stack { display: flex; flex-direction: column; gap: 0.5rem; }
.alert-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s;
    text-align: left;
    width: 100%;
}
.alert-chip:hover { transform: translateX(4px); }
.alert-chip.critical {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    animation: pulse-glow-red 2s ease infinite;
}
html[data-theme="light"] .alert-chip.critical { color: #b91c1c; }
.alert-chip.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}
html[data-theme="light"] .alert-chip.warning { color: #b45309; }
.alert-chip.info {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}
html[data-theme="light"] .alert-chip.info { color: #1d4ed8; }
.alert-chip.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
}
html[data-theme="light"] .alert-chip.success { color: #047857; }
.alert-chip.alarm-active { animation: alarm-shake 0.6s ease; }

.margin-alarm-banner {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.05));
    border-top: 1px solid rgba(239, 68, 68, 0.3);
}
.margin-alarm-banner.visible { display: flex; }
.margin-alarm-banner i { font-size: 1.5rem; color: #ef4444; animation: pulse-glow-red 1.5s infinite; }

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: all 0.2s;
    cursor: pointer;
}
.quick-action-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(220, 38, 38, 0.06);
}
.quick-action-btn i { font-size: 1.1rem; }

/* Critical list items */
.critical-item-pulse {
    animation: pulse-critical 2.2s ease infinite;
    border-left: 3px solid #ef4444 !important;
}
.danger-item-pulse {
    animation: pulse-danger 2s ease infinite;
    border-left: 3px solid #dc2626 !important;
    background: rgba(220, 38, 38, 0.06) !important;
}

/* Inventory filters */
.inv-filter-chip {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    background: var(--bg-elevated);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.inv-filter-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.inv-filter-chip.has-alert:not(.active) {
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}
tr.row-kritik { background: rgba(249, 115, 22, 0.06) !important; }
tr.row-kritik td:first-child { box-shadow: inset 3px 0 0 #f97316; }
tr.row-biten { background: rgba(239, 68, 68, 0.08) !important; animation: pulse-glow-red 3s ease infinite; }
tr.row-biten td:first-child { box-shadow: inset 3px 0 0 #ef4444; }

/* ── Premium Envanter ── */
.inv-summary-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .inv-summary-strip { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.inv-summary-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.inv-summary-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.inv-summary-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.75;
}
.inv-summary-value {
    font-size: 1.375rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.inv-summary-sub {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.6;
}
.inv-toolbar {
    border: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}
.inv-toolbar-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary, var(--text-muted));
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.inv-toolbar-label i { color: var(--accent); font-size: 0.65rem; }
.inv-cat-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.inv-cat-chip {
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid hsl(var(--cat-hue, 220) 40% 40% / 0.35);
    background: hsl(var(--cat-hue, 220) 60% 50% / 0.08);
    color: hsl(var(--cat-hue, 220) 70% 65%);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}
.inv-cat-chip:not([style*="--cat-hue"]) {
    border-color: var(--border-subtle);
    background: var(--bg-elevated);
    color: var(--text-muted);
}
.inv-cat-chip:hover { transform: translateY(-1px); filter: brightness(1.08); }
.inv-cat-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}
.inv-cat-count {
    opacity: 0.75;
    font-size: 0.65rem;
    margin-left: 0.2rem;
}
.inv-cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    border: 1px solid hsl(var(--cat-hue) 45% 45% / 0.4);
    background: hsl(var(--cat-hue) 55% 48% / 0.12);
    color: hsl(var(--cat-hue) 65% 62%);
    cursor: pointer;
    transition: all 0.15s;
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.inv-cat-badge:hover {
    filter: brightness(1.12);
    transform: scale(1.03);
}
.inv-sort-select {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    border-radius: 0.75rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    min-width: 10rem;
}
.inv-view-toggle {
    display: inline-flex;
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--bg-elevated);
}
.inv-view-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.15s;
    cursor: pointer;
}
.inv-view-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.inv-view-btn.active {
    background: var(--accent);
    color: #fff;
}
.inv-clear-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    padding: 0.45rem 0.85rem;
    border-radius: 0.65rem;
    border: 1px solid var(--border-accent);
    background: rgba(220, 38, 38, 0.06);
    transition: all 0.15s;
    cursor: pointer;
}
.inv-clear-btn:hover { background: var(--accent); color: #fff; }
.inv-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.inv-active-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.35rem 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: var(--accent-light);
}
.inv-active-pill button {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    opacity: 0.8;
    transition: opacity 0.15s;
}
.inv-active-pill button:hover { opacity: 1; background: rgba(0,0,0,0.15); }
.inv-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: all 0.18s;
    border: 1px solid transparent;
}
.inv-action-pdf {
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent-light);
    border-color: rgba(220, 38, 38, 0.2);
}
.inv-action-pdf:hover { background: var(--accent); color: #fff; }
.inv-action-excel {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.25);
}
.inv-action-excel:hover { background: #10b981; color: #fff; }
.inv-action-neutral {
    background: var(--bg-elevated);
    color: var(--text-muted);
    border-color: var(--border-subtle);
}
.inv-action-neutral:hover { color: var(--text-primary); border-color: var(--border-accent); }
.inv-action-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 20px var(--accent-glow);
}
.inv-action-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.inv-table-wrap { border: 1px solid var(--border-subtle); }
.inv-table {
    table-layout: fixed;
    width: 100%;
}
.inv-table .inv-col-check { width: 3rem; }
.inv-table .inv-col-product { width: 30%; }
.inv-table .inv-col-category { width: 14%; }
.inv-table .inv-col-stock { width: 20%; }
.inv-table .inv-col-price { width: 11%; }
.inv-table .inv-col-total { width: 11%; }
.inv-table .inv-col-actions { width: 10.5rem; }
.inv-table th,
.inv-table td {
    vertical-align: middle;
    padding: 1.1rem 0.85rem;
}
.inv-table th:first-child,
.inv-table td:first-child {
    padding-left: 1.25rem;
    padding-right: 0.5rem;
}
.inv-table th:last-child,
.inv-table td:last-child {
    padding-right: 1.25rem;
}
.inv-table .inv-col-center {
    text-align: center;
}
.inv-table td.inv-col-product-cell {
    overflow: hidden;
}
.inv-table td.inv-col-product-cell > .flex {
    min-width: 0;
}
.inv-table td.inv-col-category-cell {
    text-align: center;
}
.inv-table td.inv-col-category-cell .inv-cat-badge {
    max-width: 100%;
}
.inv-table td.inv-col-price-cell,
.inv-table td.inv-col-total-cell {
    text-align: center;
    white-space: nowrap;
}
.inv-stock-control {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.85rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
}
.inv-stock-btn {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
    background: var(--input-bg, #1e293b);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
    flex-shrink: 0;
}
.inv-stock-btn:hover { border-color: var(--border-accent); }
.inv-stock-btn:active { transform: scale(0.92); }
.inv-stock-btn--minus:hover { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.inv-stock-btn--plus:hover { background: rgba(16, 185, 129, 0.12); color: #34d399; }
.inv-stock-btn--bolt {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.2);
    color: var(--accent-light, #fca5a5);
}
.inv-stock-btn--bolt:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.inv-stock-qty {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.75rem;
    line-height: 1.1;
}
.inv-stock-qty-val { font-size: 1.125rem; font-weight: 900; }
.inv-stock-qty-unit {
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.7;
}
.inv-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}
.inv-row-action-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
    flex-shrink: 0;
}
.inv-row-action-btn:hover {
    border-color: var(--border-accent);
    transform: translateY(-1px);
}
.inv-row-action-btn--print:hover { color: #f87171; background: rgba(239, 68, 68, 0.1); }
.inv-row-action-btn--edit:hover { color: #34d399; background: rgba(16, 185, 129, 0.1); }
.inv-row-action-btn--delete:hover { color: #f87171; background: rgba(239, 68, 68, 0.12); }
@media (max-width: 1023px) {
    .inv-table {
        table-layout: auto;
        min-width: 54rem;
    }
}
.inv-thead {
    position: sticky;
    top: 0;
    z-index: 2;
    backdrop-filter: blur(8px);
}
.inv-sort-th {
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}
.inv-sort-th:hover { color: var(--text-primary); }
.inv-sort-th.sorted { color: var(--accent-light); }
.inv-sort-icon { margin-left: 0.35rem; opacity: 0.45; font-size: 0.6rem; }
.inv-sort-th.sorted .inv-sort-icon { opacity: 1; color: var(--accent); }
.inv-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-elevated);
}
.inv-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}
.inv-empty-state i {
    font-size: 2.5rem;
    opacity: 0.35;
}
.inv-grid-card {
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    border: 1px solid var(--border-subtle);
}
.inv-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    border-color: var(--border-accent);
}
.inv-grid-card--kritik { border-left: 3px solid #f97316; }
.inv-grid-card--biten { border-left: 3px solid #ef4444; }
.inv-grid-mini-btn {
    flex: 1;
    padding: 0.45rem;
    border-radius: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: all 0.15s;
}
.inv-grid-mini-btn:hover { color: var(--accent); border-color: var(--border-accent); }

/* Cari takip premium */
.cari-summary-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .cari-summary-strip { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.cari-panels-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
}
@media (max-width: 767px) {
    .cari-panels-grid { grid-template-columns: 1fr; }
}
.cari-panel-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.cari-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}
.cari-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 0.875rem;
    border-radius: 0.875rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
    cursor: pointer;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
.cari-row:hover {
    transform: translateY(-1px);
    border-color: var(--border-accent);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.cari-row--musteri { border-left: 3px solid rgba(239, 68, 68, 0.45); }
.cari-row--tedarikci { border-left: 3px solid rgba(16, 185, 129, 0.45); }
.cari-row-main { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex: 1; }
.cari-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}
.cari-row-balance { flex-shrink: 0; }
.cari-row-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}
.cari-action-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    border: 1px solid var(--border-accent);
    background: var(--bg-elevated);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.12s;
}
.cari-action-btn:hover {
    color: var(--accent);
    border-color: rgba(220, 38, 38, 0.45);
    background: rgba(220, 38, 38, 0.08);
    transform: scale(1.05);
}
.cari-list-footer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}
.cari-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-muted);
}
.cari-empty i { font-size: 2rem; opacity: 0.35; margin-bottom: 0.5rem; display: block; }

/* Görev & sipariş premium */
.premium-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
    grid-column: 1 / -1;
}
.premium-empty i { font-size: 2.5rem; opacity: 0.35; display: block; margin-bottom: 0.75rem; }
.premium-task-card,
.premium-order-card {
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
    border: 1px solid var(--border-subtle);
}
.premium-task-card:hover,
.premium-order-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.premium-task-card--overdue { border-left: 3px solid #ef4444; }
.premium-order-card--urgent { border-left: 3px solid #f97316; }
.premium-task-icon,
.premium-order-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
    flex-shrink: 0;
}
.premium-order-icon {
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent-light);
}
.premium-order-icon--urgent {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}
.task-badge {
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.task-badge--wait { background: rgba(249, 115, 22, 0.12); color: #f97316; }
.task-badge--progress { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.task-badge--done { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.task-badge--cancel { background: rgba(113, 113, 122, 0.15); color: var(--text-muted); }

/* Tedarik oluştur — mesaj şablonu modalı */
.supply-modal-card {
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    overflow-y: auto;
}
.supply-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.supply-modal-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.12);
    color: var(--accent-light);
    flex-shrink: 0;
}
.supply-modal-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 1rem;
}
.order-msg-style-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.order-msg-style-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
}
.order-msg-style-chip {
    padding: 0.35rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 800;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.order-msg-style-chip:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}
.order-msg-style-chip.active {
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.35);
    color: var(--text-primary);
}
.order-msg-preview {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    padding: 0.75rem 0.875rem;
    margin-bottom: 1.25rem;
}
.order-msg-preview-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}
.order-msg-preview-text {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-word;
}
.supply-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.supply-modal-actions .inv-action-btn {
    flex: 1;
    min-width: 7rem;
    justify-content: center;
}
.supply-modal-actions .supply-btn-wa {
    border-color: rgba(37, 211, 102, 0.35);
    color: #4ade80;
}
.supply-modal-actions .supply-btn-wa:hover {
    background: rgba(37, 211, 102, 0.12);
}
.supply-modal-actions .supply-btn-mail {
    flex: 0 0 auto;
    min-width: 3rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Termal fiş slip */
.supply-tab-row {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 1rem;
}
.supply-tab-btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-radius: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 800;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.supply-tab-btn.active {
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.35);
    color: var(--text-primary);
}
.supply-panel.hidden { display: none; }
.thermal-slip-wrap {
    display: flex;
    justify-content: center;
    padding: 0.75rem;
    background: #2c2c2e;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    max-height: 320px;
    overflow-y: auto;
}
.thermal-slip {
    width: 100%;
    max-width: 260px;
}
.thermal-slip-inner {
    background: #fffbf5;
    padding: 0.875rem 0.75rem 0;
    font-family: ui-monospace, 'Courier New', monospace;
    color: #1a1a1a;
    font-size: 0.6875rem;
    line-height: 1.45;
}
.thermal-brand {
    text-align: center;
    font-weight: 800;
    font-size: 0.75rem;
    margin: 0 0 0.25rem;
}
.thermal-type {
    text-align: center;
    font-weight: 700;
    margin: 0 0 0.15rem;
}
.thermal-meta {
    text-align: center;
    color: #5c5c5c;
    font-size: 0.625rem;
    margin: 0 0 0.1rem;
}
.thermal-supplier {
    margin: 0.35rem 0 0.15rem;
    font-size: 0.625rem;
}
.thermal-dash {
    border-top: 1px dashed #b8b8b8;
    margin: 0.5rem 0;
}
.thermal-line-item { margin-bottom: 0.4rem; }
.thermal-item-name { font-weight: 700; }
.thermal-item-row {
    display: flex;
    justify-content: space-between;
    color: #5c5c5c;
    font-size: 0.625rem;
}
.thermal-total {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 0.6875rem;
    margin: 0.25rem 0;
}
.thermal-foot {
    text-align: center;
    color: #5c5c5c;
    font-size: 0.5625rem;
    margin: 0.35rem 0 0.5rem;
}
.thermal-zigzag {
    height: 8px;
    background:
        linear-gradient(135deg, #fffbf5 6px, transparent 0) 0 0,
        linear-gradient(225deg, #fffbf5 6px, transparent 0) 0 0;
    background-size: 10px 8px;
    background-color: #b8b8b8;
    margin: 0 -0.75rem;
}
.fis-settings-card {
    max-width: 52rem;
}
.fis-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
    gap: 1.25rem;
    align-items: start;
}
.fis-settings-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.fis-settings-field--full {
    grid-column: 1 / -1;
}
.fis-settings-side {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: sticky;
    top: 0.5rem;
}
.fis-settings-side .fis-settings-preview-wrap {
    margin-top: 0;
}
.fis-settings-logo-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
}
@media (max-width: 900px) {
    .fis-settings-grid {
        grid-template-columns: 1fr;
    }
    .fis-settings-side {
        position: static;
    }
}
@media (max-width: 560px) {
    .fis-settings-fields {
        grid-template-columns: 1fr;
    }
}
.fis-settings-logo-box {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.75rem;
    border: 1px dashed var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 1.25rem;
}
.fis-settings-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fis-settings-logo-box--busy {
    opacity: 0.55;
    pointer-events: none;
}
.fis-settings-logo-status {
    margin-top: 0.25rem;
    min-height: 1rem;
    color: var(--accent, #d32f2f);
    font-weight: 700;
}
.fis-settings-field span {
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}
.fis-settings-preview-wrap {
    margin-top: 0.25rem;
}
.thermal-logo {
    display: block;
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    margin: 0 auto 0.5rem;
}

.orders-thermal-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

/* Drawers */
.panel-drawer {
    position: fixed !important;
    top: 0;
    right: 0;
    width: min(480px, 100vw);
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-accent);
    z-index: 150;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}
.panel-drawer.open { transform: translateX(0); }
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: var(--modal-overlay);
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer-head {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem 1.75rem; }
.drawer-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
}
.drawer-close:hover { color: var(--accent); border-color: var(--border-accent); }

.cari-row-clickable { cursor: pointer; transition: background 0.15s, transform 0.15s; }
.cari-row-clickable:hover { background: rgba(220, 38, 38, 0.06) !important; transform: translateY(-1px); }

/* Global search */
.global-search-wrap { position: relative; }
.global-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    z-index: 100;
    display: none;
}
.global-search-results.open { display: block; }
.gsr-group { padding: 0.5rem 0; }
.gsr-group-title {
    padding: 0.35rem 1rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.gsr-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
}
.gsr-item:hover { background: rgba(220, 38, 38, 0.06); }

/* Notification bell */
.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 4px;
    border-radius: 9999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow-red 2s infinite;
}
.notif-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: -6px;
    width: min(22rem, calc(100vw - 1.5rem));
    max-height: 26rem;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
    z-index: 200;
    display: none;
    transform: translateX(-10px);
    isolation: isolate;
}
html[data-theme="dark"] .notif-panel {
    background: #111111;
}
html[data-theme="light"] .notif-panel {
    background: #ffffff;
}
.notif-panel::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 1.35rem;
    width: 12px;
    height: 12px;
    background: var(--bg-card);
    border-left: 1px solid var(--border-accent);
    border-top: 1px solid var(--border-accent);
    transform: rotate(45deg);
}
.notif-panel.open { display: block; }
.notif-panel-header {
    padding: 0.85rem 1rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.notif-mark-all {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--accent-light);
    padding: 0.2rem 0.45rem;
    border-radius: 0.4rem;
    transition: background 0.15s;
}
.notif-mark-all:hover { background: rgba(220, 38, 38, 0.1); }
.notif-panel-body {
    padding: 0.5rem;
    max-height: 21rem;
    overflow-y: auto;
    background: inherit;
}
.notif-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.55rem 0.65rem;
    cursor: default;
}
.notif-item:hover { transform: none; }
.notif-item-main {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    text-align: left;
    width: 100%;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
}
.notif-item-actions {
    display: flex;
    gap: 0.35rem;
    padding-left: 1.35rem;
}
.notif-item-actions button {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 0.35rem;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    background: var(--bg-elevated);
    transition: all 0.15s;
}
.notif-item-actions button:hover {
    color: var(--accent-light);
    border-color: var(--border-accent);
}
.notif-panel .alert-chip {
    margin: 0 0 0.4rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
    gap: 0.55rem;
    border-radius: 0.65rem;
}
.notif-panel .alert-chip:last-child { margin-bottom: 0; }
.notif-panel .alert-chip i {
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
    font-size: 0.7rem;
}
.notif-panel .alert-chip span {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}
.notif-panel-empty {
    padding: 1rem 1.25rem 1.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.45;
}
.notif-panel-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    opacity: 0.75;
}

/* Ürün görseli — hover büyüme */
.product-thumb {
    overflow: hidden;
    border-radius: 0.75rem;
}
.product-thumb img {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.product-thumb:hover img,
.inv-grid-card:hover .product-thumb img {
    transform: scale(1.03);
}

/* Mobile nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-accent);
    padding: 0.5rem 0.25rem calc(0.5rem + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
}
@media (max-width: 767px) {
    .mobile-bottom-nav { display: flex; }
    #view-container { padding-bottom: 5rem !important; }
    .app-sidebar { display: none !important; }
}
.mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    border: none;
    background: none;
    cursor: pointer;
}
.mobile-nav-btn.active { color: var(--accent); }
.mobile-nav-btn i { font-size: 1.15rem; }

/* KPI clickable */
.kpi-clickable { cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.kpi-clickable:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }
.kpi-clickable:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Genel bakış KPI şeridi — 4×2 grid, daha geniş kartlar */
.kpi-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media (min-width: 768px) {
    .kpi-strip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.kpi-strip-card {
    padding: 1.25rem 1rem;
    min-height: 7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    position: relative;
}
@media (min-width: 768px) {
    .kpi-strip-card { padding: 1.375rem 1.125rem; min-height: 7.25rem; }
}
.kpi-strip-icon {
    font-size: 0.875rem;
    margin-bottom: 0.2rem;
    opacity: 0.9;
}
.kpi-strip-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.3;
    color: var(--text-secondary, rgba(148, 163, 184, 0.95));
}
.kpi-strip-value {
    font-size: 1.625rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.kpi-icon-violet { color: #8b5cf6; }
.kpi-icon-orange { color: #f97316; }
.kpi-icon-red { color: #ef4444; }
.kpi-icon-blue { color: #3b82f6; }
.kpi-icon-emerald { color: #10b981; }
.kpi-panel-flash {
    animation: kpiPanelFlash 1.6s ease;
}
@keyframes kpiPanelFlash {
    0%, 100% { box-shadow: none; }
    25% { box-shadow: 0 0 0 3px var(--accent); }
}

/* Panel bölüm başlıkları — okunabilir hiyerarşi */
.panel-section-title {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--text-primary, #f1f5f9);
    line-height: 1.3;
}
.panel-section-desc {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.65;
    margin-top: 0.25rem;
    line-height: 1.45;
}
.section-heading-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.section-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
}
.section-icon-amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.section-icon-emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.section-icon-violet { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.section-icon-red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.section-icon-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.section-icon-orange { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.panel-kpi-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    color: var(--text-secondary, rgba(148, 163, 184, 0.95));
}
.panel-kpi-value {
    font-size: 1.625rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Subscription banner */
.plan-banner {
    padding: 0.85rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.08);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.plan-banner.premium {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.08);
}

/* Toast */
.toast-root {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}
.toast-item {
    padding: 0.85rem 1.25rem;
    border-radius: 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    animation: slide-down-in 0.3s ease;
}
.toast-item.success { border-color: rgba(16, 185, 129, 0.4); }
.toast-item.error { border-color: rgba(239, 68, 68, 0.4); }

.category-chip {
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(226, 232, 240, 0.85);
    transition: all 0.15s ease;
    cursor: pointer;
}
.category-chip:hover {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
}
.category-chip.active {
    border-color: rgba(239, 68, 68, 0.8);
    background: rgba(239, 68, 68, 0.22);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35);
}

/* HID barkod okuyucu durumu (header) */
.scanner-status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: opacity 0.25s, border-color 0.25s, background 0.25s;
}
.scanner-status-badge.hidden { display: none !important; }
.scanner-status-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.scanner-status-icon { font-size: 0.625rem; flex-shrink: 0; }
.scanner-status-active {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
}
.scanner-status-active .scanner-status-dot {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
    animation: scanner-pulse 2s ease-in-out infinite;
}
.scanner-status-active .scanner-status-icon { color: #10b981; }
.scanner-status-needs_config {
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: #f97316;
}
.scanner-status-needs_config .scanner-status-dot {
    background: #f97316;
    animation: scanner-pulse 1.2s ease-in-out infinite;
}
.scanner-status-needs_config .scanner-status-icon { color: #f97316; }
@keyframes scanner-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

/* Üst panel — geri bildirim */
.header-feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 0.875rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.28);
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
    white-space: nowrap;
}
.header-feedback-btn:hover {
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}
.header-feedback-btn i {
    font-size: 0.8rem;
    color: #818cf8;
}
@media (max-width: 1024px) {
    .header-feedback-btn span { display: none; }
    .header-feedback-btn { padding: 0.65rem; }
}

/* Geri bildirim — ekran görüntüsü */
.feedback-attach-zone {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px dashed var(--border-accent, rgba(255, 255, 255, 0.12));
    background: var(--bg-elevated, rgba(255, 255, 255, 0.02));
}
.feedback-attach-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.feedback-attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.feedback-attach-btn:hover {
    border-color: rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
}
.feedback-attach-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.feedback-attach-thumb {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}
.feedback-attach-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feedback-attach-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.55rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hata bildir — sağ alt */
.support-report-fab {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 190;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary, #f4f4f5);
    background: var(--bg-card, rgba(24, 24, 27, 0.95));
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
    cursor: pointer;
    font-family: inherit;
}
.support-report-fab:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.15);
    color: #fecaca;
}
.support-report-fab i { color: #ef4444; font-size: 0.875rem; }
@media (max-width: 640px) {
    .support-report-fab span { display: none; }
    .support-report-fab { padding: 0.75rem; border-radius: 1rem; }
    .support-report-fab { bottom: 4.75rem; }
}

/* Entegrasyon Merkezi */
.integration-hub-accordion {
    border-color: rgba(56, 189, 248, 0.18);
}
.integration-hub-accordion .integration-guide-toggle {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
}
.integration-hub-accordion .integration-guide-toggle:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(255, 255, 255, 0.02) 70%);
}
.integration-hub-accordion .integration-badge {
    flex-shrink: 0;
    margin-right: 0.25rem;
}
.integration-hub-body-inner {
    padding: 0 0.25rem 0.25rem;
}
.integration-hub-card { border-color: rgba(56, 189, 248, 0.15); }
.integration-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid transparent;
}
.integration-badge-on {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.35);
}
.integration-badge-off {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.25);
}
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.integration-panel {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.08));
    background: var(--bg-panel, rgba(255,255,255,0.02));
}
.integration-panel h5 {
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.integration-subhead {
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
}
.integration-sambapos-note {
    margin-top: 0.65rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.5rem;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
}
.integration-hint {
    font-size: 0.7rem;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 0.75rem;
    line-height: 1.45;
}
.integration-field { margin-bottom: 0.65rem; }
.integration-field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 0.35rem;
}
.integration-field code,
.integration-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.68rem;
    word-break: break-all;
}
.integration-field-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.integration-field-row code,
.integration-field-row .theme-input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.65rem;
    border-radius: 0.5rem;
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.08));
}
.integration-btn {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.1));
    background: rgba(255,255,255,0.04);
    color: var(--text-primary, #f4f4f5);
    cursor: pointer;
}
.integration-btn-warn:hover { border-color: rgba(251, 191, 36, 0.5); color: #fcd34d; }
.integration-toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}
.integration-payload {
    margin-top: 0.75rem;
    font-size: 0.7rem;
}
.integration-payload summary { cursor: pointer; font-weight: 700; color: var(--text-muted); }
.integration-payload pre {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: rgba(0,0,0,0.35);
    overflow-x: auto;
    font-size: 0.65rem;
    line-height: 1.4;
}
.integration-test-btn {
    margin-top: 0.75rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    border: 1px dashed rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.08);
    color: #7dd3fc;
    cursor: pointer;
}
.integration-notice {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.25);
    margin-bottom: 1rem;
    font-size: 0.8rem;
}
.integration-log-list { display: flex; flex-direction: column; gap: 0.35rem; }
.integration-log-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.03);
    font-size: 0.72rem;
}
.integration-log-tip { font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.integration-log-meta { color: var(--text-muted, #94a3b8); text-align: right; }

/* POS satış fişi arşivi */
.pos-sales-archive-section { margin-bottom: 1.25rem; }
.pos-sales-archive-list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 320px; overflow-y: auto; }
.pos-sale-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}
.pos-sale-row-top { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.pos-sale-ticket { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.02em; }
.pos-sale-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.68rem; color: var(--text-muted, #94a3b8); margin-top: 0.2rem; }
.pos-sale-row-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.pos-sale-total { font-weight: 900; font-size: 0.85rem; white-space: nowrap; }
.pos-sale-preview-btn { padding: 0.35rem 0.6rem !important; font-size: 0.65rem !important; }
.pos-sale-status {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.45rem;
    border-radius: 0.35rem;
}
.pos-sale-status-ok { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.pos-sale-status-warn { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.pos-sale-status-info { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.pos-sale-status-pending { background: rgba(148, 163, 184, 0.12); color: #94a3b8; }
.thermal-warning { font-family: ui-monospace, monospace; font-size: 0.62rem; color: #b45309; margin: 0.15rem 0; text-align: center; }
.barcode-label-sheet { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 12px; }
.barcode-label-sheet-item {
    width: 58mm; min-height: 38mm; border: 1px dashed #333; padding: 6px 8px; text-align: center;
    background: #fff; color: #111; break-inside: avoid;
}
.barcode-label-name { font-size: 9px; font-weight: 800; margin: 0 0 4px; line-height: 1.2; }
.barcode-label-svg { width: 100%; max-height: 42px; }
.barcode-label-code { font-family: monospace; font-size: 9px; margin: 2px 0 0; }
.barcode-label-price { font-size: 12px; font-weight: 900; margin: 2px 0 0; }
.integration-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.65rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.08);
    color: #7dd3fc;
    text-decoration: none;
    cursor: pointer;
}
.integration-doc-link:hover { border-color: rgba(56, 189, 248, 0.6); color: #bae6fd; }

/* POS bağlantı rehberi (Ayarlar — altta, katlanır) */
.integration-guide-accordion {
    border-color: rgba(220, 38, 38, 0.18);
    overflow: hidden;
    padding: 0;
}
.integration-guide-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
    border: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.15s;
}
.integration-guide-toggle:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.09) 0%, rgba(255, 255, 255, 0.02) 70%);
}
.integration-guide-toggle-main { min-width: 0; flex: 1; }
.integration-guide-toggle-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.integration-guide-toggle-hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.4;
}
.integration-guide-chevron {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--text-muted, #94a3b8);
    transition: transform 0.22s ease;
}
.integration-guide-accordion.open .integration-guide-chevron {
    transform: rotate(180deg);
}
.integration-guide-body {
    display: none;
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
}
.integration-guide-accordion.open .integration-guide-body {
    display: block;
}
.integration-guide-body-inner { padding-top: 1.25rem; }
.integration-guide-steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 1.25rem; }
.guide-step {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
}
.guide-step:last-child { border-bottom: none; }
.guide-step-num {
    flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 900;
    background: rgba(255,255,255,0.06); color: var(--text-muted, #94a3b8);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.1));
}
.guide-step-done .guide-step-num {
    background: rgba(52, 211, 153, 0.15); color: #34d399; border-color: rgba(52,211,153,0.35);
}
.guide-step-title { font-size: 0.9rem; font-weight: 800; margin: 0 0 0.25rem; }
.guide-step-desc { font-size: 0.78rem; color: var(--text-muted, #94a3b8); margin: 0; line-height: 1.45; }
.guide-step-action {
    display: inline-flex; align-items: center; gap: 0.35rem;
    margin-top: 0.5rem; padding: 0.35rem 0.65rem;
    font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
    border-radius: 0.5rem; border: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.04); color: var(--text-primary, #f4f4f5);
    text-decoration: none; cursor: pointer;
}
.guide-step-action:hover { border-color: rgba(239,68,68,0.4); color: #fecaca; }
.integration-guide-footer {
    padding-top: 1rem; border-top: 1px dashed var(--border-subtle, rgba(255,255,255,0.08));
}

/* Envanter arama temizle */
.inv-search-wrap { position: relative; }
.inv-search-clear {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted, #94a3b8);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    cursor: pointer;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.inv-search-clear:hover {
    color: var(--accent-light, #fca5a5);
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.35);
}
.inv-search-clear.hidden { display: none; }

/* Seçili ürünler — altta sabit çubuk */
.bulk-actions-float {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 180;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem 0.55rem 1rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(220, 38, 38, 0.15);
    backdrop-filter: blur(12px);
}
.bulk-actions-float.hidden { display: none; }
.bulk-float-count {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #f8fafc;
    white-space: nowrap;
    padding-right: 0.15rem;
}
.bulk-float-divider {
    width: 1px;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 0.15rem;
}
.bulk-float-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.bulk-float-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}
.bulk-float-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.bulk-float-btn-danger {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.45);
    color: #fecaca;
}
.bulk-float-btn-danger:hover:not(:disabled) {
    background: rgba(220, 38, 38, 0.35);
    border-color: rgba(220, 38, 38, 0.6);
}
.bulk-float-btn-muted {
    padding: 0.45rem 0.55rem;
    min-width: 2rem;
    justify-content: center;
}
@media (max-width: 640px) {
    .bulk-actions-float {
        left: 0.75rem;
        right: 0.75rem;
        transform: none;
        width: auto;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 1rem;
    }
}
