:root {
            --site-font: 'Consolas', monospace;
            --bg-main: #0a0c10;
            --bg-container: #161b22;
            --bg-modal: #0d1117;
            --bg-stepper: #1e2530;
            --text-main: #e6edf3;
            --text-muted: #8b949e;
            --accent-color: #58a6ff;
            --accent-hover: #1f6feb;
            --border-color: #30363d;
            --status-pending: #e3b341;
            --status-approved: #2ea043;
            --status-rejected: #f85149;
            --tab-buy: #2ea043;
            --tab-sell: #e3b341;
            --bg-input: #000000;
            --bg-box: #07090e;
            --bg-th: #11141a;
            --bg-hover: #21262d;
            --bg-overlay: rgba(10, 12, 16, 0.95);
            --bg-panel: rgba(0, 0, 0, 0.2);
        }

        [data-theme="light"] {
            --bg-main: #e4e7eb;
            --bg-container: #ffffff;
            --bg-modal: #f9fafb;
            --bg-stepper: #e5e7eb;
            --text-main: #1f2937;
            --text-muted: #6b7280;
            --border-color: #d1d5db;
            --bg-input: #f3f4f6;
            --bg-box: #ffffff;
            --bg-th: #f9fafb;
            --bg-hover: #e5e7eb;
            --bg-overlay: rgba(255, 255, 255, 0.95);
            --bg-panel: rgba(0, 0, 0, 0.03);
        }

        body {
            background-color: var(--bg-main);
            color: var(--text-main);
            font-family: var(--site-font), 'Consolas', monospace;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            height: 100vh;
            overflow: hidden;
            font-size: 16px;
            box-sizing: border-box;
            transition: background-color 0.3s, color 0.3s;
        }

        *,
        *:before,
        *:after {
            box-sizing: inherit;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
        }

        .storefront-layout {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            overflow: hidden;
        }

        .top-nav-bar {
            position: sticky;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(22, 27, 34, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 2px solid var(--accent-color);
            padding: 12px 25px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
        }

        [data-theme="light"] .top-nav-bar {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .nav-container {
            width: 100%;
            max-width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .container {
            width: 100%;
            max-width: 100%;
            background: var(--bg-container);
            border: none;
            border-radius: 0;
            padding: 20px 25px;
            box-shadow: none;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            height: 0;
            margin: 0;
            overflow: hidden;
            transition: background-color 0.3s, border-color 0.3s;
        }

        .bottom-nav-bar {
            position: sticky;
            bottom: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(22, 27, 34, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-top: 2px solid var(--accent-color);
            padding: 12px 25px;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
        }

        [data-theme="light"] .bottom-nav-bar {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        }

        .financial-summary-row {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .financial-summary-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 17px;
            white-space: nowrap;
        }

        .financial-summary-item .financial-label {
            color: var(--text-muted);
            font-weight: bold;
            font-size: 14px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .brand-logo {
            max-height: 50px;
            max-width: 150px;
            object-fit: contain;
            display: none;
        }

        h1 {
            font-size: 26px;
            margin: 0;
            color: var(--accent-color);
        }

        h2 {
            font-size: 18px;
            margin-top: 0;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .store-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 15px;
            flex-wrap: wrap;
        }

        .store-btn {
            flex: 1;
            background: var(--bg-modal);
            border: 1px solid var(--border-color);
            color: var(--text-muted);
            padding: 12px;
            border-radius: 6px;
            font-family: inherit;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
            text-transform: uppercase;
            letter-spacing: 1px;
            min-width: 150px;
            text-align: center;
        }

        .store-btn:hover {
            background: var(--bg-hover);
            color: var(--text-main);
        }

        .store-btn.active {
            background: rgba(88, 166, 255, 0.15);
            border-color: var(--accent-color);
            color: var(--accent-color);
            box-shadow: inset 0 0 10px rgba(88, 166, 255, 0.1);
        }

        .store-grid {
            position: relative;
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            gap: 25px;
            flex-grow: 1;
            align-items: stretch;
            transition: filter 0.4s;
            min-height: 0;
        }

        .store-grid.terminal-blurred {
            filter: blur(8px);
            pointer-events: none;
            user-select: none;
        }

        .closed-lock-overlay {
            display: none;
            position: absolute;
            top: -10px;
            left: -10px;
            width: calc(100% + 20px);
            height: calc(100% + 20px);
            z-index: 1000;
            background: var(--bg-overlay);
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            backdrop-filter: blur(4px);
        }

        .closed-lock-window {
            background: var(--bg-container);
            border: 2px solid #f85149;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
            border-radius: 10px;
            padding: 40px;
            text-align: center;
            max-width: 480px;
            width: 90%;
        }

        .global-auth-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 9999;
            background: var(--bg-overlay);
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(12px);
        }

        .panel-box {
            background: var(--bg-panel);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }

        .scroll-box {
            flex-grow: 1;
            height: 0;
            min-height: 150px;
            overflow-y: auto;
            margin-bottom: 15px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background: var(--bg-box);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 15px;
        }

        th,
        td {
            text-align: left;
            padding: 12px 10px;
            border-bottom: 1px solid var(--border-color);
            vertical-align: middle;
        }

        th {
            color: var(--text-muted);
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            position: sticky;
            top: 0;
            background: var(--bg-th);
            z-index: 5;
            border-bottom: none;
        }

        .inline-input,
        .inline-select {
            background: var(--bg-input);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            padding: 10px 12px;
            border-radius: 4px;
            font-family: inherit;
            font-size: 15px;
            width: 100%;
            box-sizing: border-box;
        }

        .inline-input:focus {
            border-color: var(--accent-color);
            outline: none;
        }

        .btn {
            background: var(--accent-color);
            color: #0d1117;
            border: none;
            padding: 10px 18px;
            font-family: inherit;
            font-weight: bold;
            cursor: pointer;
            border-radius: 6px;
            text-transform: uppercase;
            font-size: 12px;
            transition: background 0.2s;
        }

        .btn:hover {
            background: var(--accent-hover);
            color: #fff;
        }

        .btn-alt {
            background: var(--bg-hover);
            color: var(--text-main);
            border: 1px solid var(--border-color);
            text-decoration: none;
            display: inline-block;
        }

        .btn-action {
            padding: 6px 12px;
            font-size: 12px;
        }

        .btn-danger {
            background: rgba(248, 81, 73, 0.15);
            color: #f85149;
            border: 1px solid #f85149 !important;
        }

        .btn-danger:hover {
            background: #f85149;
            color: #fff;
        }

        .quantity-controller {
            display: inline-flex;
            align-items: center;
            background: var(--bg-input);
            border: 1px solid var(--border-color);
            border-radius: 4px;
            overflow: hidden;
        }

        .quantity-btn {
            background: none;
            border: none;
            color: var(--accent-color);
            font-family: inherit;
            font-weight: bold;
            font-size: 16px;
            width: 32px;
            height: 32px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quantity-btn:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .quantity-value {
            width: 45px;
            text-align: center;
            border: none;
            background: transparent;
            color: var(--text-main);
            font-family: inherit;
            font-size: 14px;
            outline: none;
            pointer-events: none;
        }

        .mode-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .mode-tab {
            flex: 1;
            background: var(--bg-container);
            border: 1px solid var(--border-color);
            color: var(--text-muted);
            padding: 10px;
            border-radius: 6px;
            font-family: inherit;
            font-size: 12px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
            letter-spacing: 0.5px;
        }

        .mode-tab:hover {
            background: var(--bg-hover);
        }

        .mode-tab.active-buy {
            background: rgba(46, 160, 67, 0.15);
            border-color: var(--tab-buy);
            color: var(--tab-buy);
        }

        .mode-tab.active-sell {
            background: rgba(227, 179, 65, 0.15);
            border-color: var(--tab-sell);
            color: var(--tab-sell);
        }

        .mode-tab.active-store {
            background: rgba(88, 166, 255, 0.15);
            border-color: var(--accent-color);
            color: var(--accent-color);
        }

        .category-filter {
            display: flex;
            gap: 8px;
            margin-bottom: 15px;
            flex-wrap: wrap;
            flex-shrink: 0;
        }

        .filter-chip {
            background: var(--bg-hover);
            border: 1px solid var(--border-color);
            color: var(--text-muted);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
        }

        .filter-chip.active {
            background: var(--accent-color);
            color: #0d1117;
            border-color: var(--accent-color);
            font-weight: bold;
        }

        .financial-breakdown {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-top: 1px solid var(--border-color);
        }

        .financial-label {
            font-size: 14px;
            color: var(--text-muted);
            font-weight: bold;
        }

        .toast-container {
            position: fixed;
            top: 25px;
            right: 25px;
            z-index: 99999;
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 380px;
            pointer-events: none;
        }

        .toast {
            pointer-events: auto;
            background: var(--bg-container);
            border: 1px solid var(--border-color);
            padding: 16px 20px;
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .toast-success {
            border-left: 5px solid #2ea043;
        }

        .toast-warning {
            border-left: 5px solid #e3b341;
        }

        .toast-error {
            border-left: 5px solid #f85149;
        }

        .user-profile-badge {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--bg-container);
            border: 1px solid var(--border-color);
            padding: 8px 15px;
            border-radius: 25px;
        }

        .user-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid var(--accent-color);
        }

        .bug-report-btn {
            position: fixed;
            bottom: 25px;
            right: 25px;
            background: var(--bg-container);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            transition: all 0.2s;
            z-index: 1000;
        }

        .bug-report-btn:hover {
            background: var(--bg-hover);
            border-color: #e3b341;
            transform: scale(1.05);
        }

        /* Loading Screen Styles */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 999999;
            background-color: #050505;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s ease;
        }

        .loading-overlay.fade-out {
            opacity: 0;
            pointer-events: none;
        }

        #matrixCanvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            opacity: 0.15;
        }

        .loading-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            background: rgba(0, 0, 0, 0.6);
            padding: 40px;
            border-radius: 12px;
            border: 1px solid var(--accent-color);
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
        }

        .loading-logo {
            margin-bottom: 20px;
            filter: drop-shadow(0 0 10px var(--accent-color));
        }

        .glitch {
            font-size: 40px;
            font-weight: bold;
            text-transform: uppercase;
            position: relative;
            color: var(--accent-color);
            letter-spacing: 4px;
            margin: 0 0 10px 0;
            text-shadow: 0 0 10px var(--accent-color);
        }

        .glitch::before,
        .glitch::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .glitch::before {
            left: 2px;
            text-shadow: -1px 0 red;
            clip: rect(24px, 550px, 90px, 0);
            animation: glitch-anim-2 3s infinite linear alternate-reverse;
        }

        .glitch::after {
            left: -2px;
            text-shadow: -1px 0 blue;
            clip: rect(85px, 550px, 140px, 0);
            animation: glitch-anim 2.5s infinite linear alternate-reverse;
        }

        @keyframes glitch-anim {
            0% {
                clip: rect(4px, 9999px, 86px, 0);
            }

            20% {
                clip: rect(62px, 9999px, 12px, 0);
            }

            40% {
                clip: rect(100px, 9999px, 50px, 0);
            }

            60% {
                clip: rect(23px, 9999px, 94px, 0);
            }

            80% {
                clip: rect(78px, 9999px, 10px, 0);
            }

            100% {
                clip: rect(45px, 9999px, 63px, 0);
            }
        }

        @keyframes glitch-anim-2 {
            0% {
                clip: rect(65px, 9999px, 100px, 0);
            }

            20% {
                clip: rect(12px, 9999px, 45px, 0);
            }

            40% {
                clip: rect(89px, 9999px, 20px, 0);
            }

            60% {
                clip: rect(34px, 9999px, 78px, 0);
            }

            80% {
                clip: rect(90px, 9999px, 4px, 0);
            }

            100% {
                clip: rect(23px, 9999px, 56px, 0);
            }
        }

        .loading-tagline {
            color: var(--text-muted);
            font-size: 14px;
            letter-spacing: 2px;
            margin-bottom: 30px;
        }

        .progress-bar-container {
            width: 300px;
            height: 4px;
            background: #111;
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
            border-radius: 2px;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: var(--accent-color);
            box-shadow: 0 0 10px var(--accent-color);
            animation: progress 2.5s cubic-bezier(0.1, 0.7, 0.1, 1) forwards;
        }

        @keyframes progress {
            0% {
                width: 0%;
            }

            50% {
                width: 60%;
            }

            80% {
                width: 85%;
            }

            100% {
                width: 100%;
            }
        }

        /* Compact quantity controller for manifest side-by-side tables */
        #buyCartItemsContainer .quantity-controller,
        #sellCartItemsContainer .quantity-controller {
            border-radius: 3px;
        }
        #buyCartItemsContainer .quantity-btn,
        #sellCartItemsContainer .quantity-btn {
            width: 24px;
            height: 24px;
            font-size: 14px;
        }
        #buyCartItemsContainer .quantity-value,
        #sellCartItemsContainer .quantity-value {
            width: 30px;
            font-size: 12px;
        }
        #buyCartItemsContainer td,
        #sellCartItemsContainer td {
            padding: 8px 6px;
            font-size: 13px;
        }
        #buyCartItemsContainer th,
        #sellCartItemsContainer th {
            padding: 8px 6px;
            font-size: 11px;
        }

        /* Responsive Layout Improvements */
        .manifest-tables-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            flex-grow: 1;
            min-height: 150px;
            height: 0;
            margin-bottom: 15px;
        }

        .short-label {
            display: none;
        }

        .short-btn-text {
            display: none;
        }

        .short-header-btn {
            display: none;
        }

        @media (max-width: 1600px) {
            .full-label {
                display: none;
            }
            .short-label {
                display: inline;
            }
            .operator-note {
                display: none;
            }
            
            .financial-summary-row {
                gap: 15px;
            }
            
            .financial-summary-item {
                font-size: 14px;
                gap: 6px;
            }
            
            .financial-summary-item .financial-label {
                font-size: 12px;
            }
            
            .financial-summary-item span[id^="manifest"] {
                font-size: 16px !important;
            }
            
            .full-btn-text {
                display: none;
            }
            
            .short-btn-text {
                display: inline;
            }
            
            #dispatchOrderButton {
                padding: 10px 15px !important;
                font-size: 13px !important;
            }
            
            #shareCartButton, #clearCartButton {
                width: 36px !important;
                height: 36px !important;
                font-size: 14px !important;
                padding: 6px !important;
            }
            
            .bottom-nav-bar .nav-container {
                gap: 15px !important;
            }
            
            .bottom-nav-bar .nav-container > div:last-child {
                gap: 10px !important;
            }
        }

        @media (max-width: 1200px) {
            .bottom-nav-bar .nav-container {
                grid-template-columns: 1fr auto !important;
            }
            .bottom-nav-bar .nav-container > div:first-child {
                display: none !important;
            }
            .manifest-tables-container {
                grid-template-columns: 1fr;
                grid-template-rows: 1fr 1fr;
                gap: 10px;
            }
        }

        @media (max-width: 1100px) {
            .top-nav-bar {
                padding: 10px 15px;
            }
            
            #storeTaglineSub {
                display: none;
            }
            
            .top-nav-bar h1 {
                font-size: 22px;
            }
            
            .user-profile-badge {
                padding: 6px 10px;
                gap: 8px;
            }
            
            .user-profile-badge span {
                font-size: 13px;
            }
            
            .container {
                padding: 12px 15px;
            }
            
            .store-selector {
                margin-bottom: 15px;
                padding-bottom: 10px;
                gap: 8px;
            }
            
            .store-btn {
                padding: 8px;
                font-size: 12px;
                min-width: 120px;
            }
            
            .store-grid {
                gap: 15px;
            }
            
            .panel-box {
                padding: 12px;
            }
        }

        @media (max-width: 950px) {
            .top-nav-bar .nav-container {
                flex-direction: column !important;
                gap: 10px !important;
                align-items: center !important;
            }
            .top-nav-bar {
                padding: 10px 15px !important;
            }
            .store-grid {
                grid-template-columns: 1fr;
                grid-template-rows: 1fr 1fr;
            }
            .manifest-tables-container {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: initial;
                gap: 15px;
            }
            .bottom-nav-bar {
                padding: 10px 15px;
            }
            .bottom-nav-bar .nav-container {
                display: flex !important;
                flex-direction: column !important;
                gap: 10px !important;
                align-items: center !important;
            }
            .bottom-nav-bar .nav-container > div:first-child {
                display: none !important;
            }
            .financial-summary-row {
                width: 100%;
                justify-content: space-around !important;
                gap: 10px;
            }
            .bottom-nav-bar .nav-container > div:last-child {
                width: 100%;
                justify-content: center !important;
                gap: 15px !important;
            }
        }

        @media (max-width: 750px) {
            .full-header-btn {
                display: none !important;
            }
            .short-header-btn {
                display: inline !important;
            }
            .user-profile-badge {
                padding: 6px 12px !important;
                gap: 6px !important;
            }
            .user-profile-badge button, 
            .user-profile-badge a {
                padding: 6px 8px !important;
                font-size: 13px !important;
                margin-left: 3px !important;
            }
        }

        @media (max-width: 650px) {
            .manifest-tables-container {
                grid-template-columns: 1fr;
                grid-template-rows: 1fr 1fr;
                gap: 10px;
            }
        }

        @media (max-width: 600px) {
            .financial-summary-row {
                flex-direction: column;
                align-items: center;
                gap: 5px;
            }
            .financial-summary-item {
                font-size: 13px;
            }
        }

        @media (max-width: 500px) {
            #userRoleBadge {
                display: none !important;
            }
            .user-profile-badge {
                padding: 4px 8px !important;
                gap: 4px !important;
            }
            #userDisplayName {
                font-size: 13px !important;
            }
            .top-nav-bar h1 {
                font-size: 18px !important;
            }
        }

        /* ── Notifications Panel ── */
        .notifications-wrapper {
            position: relative;
            display: inline-block;
        }

        .notif-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            background: var(--status-rejected);
            color: #ffffff;
            font-size: 10px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            border: 1.5px solid var(--bg-main);
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
            pointer-events: none;
        }

        .notif-dropdown {
            position: absolute;
            top: 50px;
            right: 0;
            width: 320px;
            background: var(--bg-modal);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            z-index: 10000;
            overflow: hidden;
            animation: fadeInNotif 0.2s ease-out;
        }

        @keyframes fadeInNotif {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .notif-header {
            padding: 12px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
            font-weight: bold;
            font-size: 14px;
            color: var(--accent-color);
            background: var(--bg-panel);
        }

        .btn-clear-all {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 12px;
            font-weight: bold;
            text-transform: uppercase;
            padding: 2px 5px;
            font-family: inherit;
            transition: color 0.2s;
        }

        .btn-clear-all:hover {
            color: var(--status-rejected);
        }

        .notif-list {
            overflow-y: auto;
            max-height: 280px;
            display: flex;
            flex-direction: column;
            background: var(--bg-box);
        }

        .notif-empty {
            padding: 25px;
            text-align: center;
            color: var(--text-muted);
            font-size: 13px;
        }

        .notif-item {
            padding: 12px 15px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            gap: 4px;
            font-size: 13px;
            line-height: 1.4;
            transition: background-color 0.2s;
        }

        .notif-item:hover {
            background-color: var(--bg-hover);
        }

        .notif-item-header {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: bold;
        }

        .notif-item-body {
            color: var(--text-main);
            padding-left: 20px;
        }

        .notif-item-time {
            font-size: 10px;
            color: var(--text-muted);
            margin-top: 2px;
            text-align: right;
        }

        .notif-item-success {
            border-left: 3px solid var(--status-approved);
        }
        .notif-item-warning {
            border-left: 3px solid var(--status-pending);
        }
        .notif-item-error {
            border-left: 3px solid var(--status-rejected);
        }
        .notif-item-info {
            border-left: 3px solid var(--accent-color);
        }

        @keyframes notifPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.15); }
            100% { transform: scale(1); }
        }
        .notif-pulse {
            animation: notifPulse 0.4s ease-out 2;
        }

        @media (max-width: 500px) {
            .notif-dropdown {
                width: 280px;
                right: -50px;
            }
        }

        /* ── Stock Limit & Out of Stock UI Styles ── */
        .row-out-of-stock {
            opacity: 0.55;
            background-color: rgba(248, 81, 73, 0.03) !important;
            transition: opacity 0.2s ease;
        }

        .stock-badge {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: bold;
            text-transform: uppercase;
            margin-top: 5px;
            border: 1px solid currentColor;
            letter-spacing: 0.5px;
        }

        .stock-badge.out-of-stock {
            background-color: rgba(248, 81, 73, 0.1);
            color: var(--status-rejected);
        }

        .stock-badge.in-stock {
            background-color: rgba(46, 160, 67, 0.1);
            color: var(--tab-buy);
        }

        .btn-disabled,
        .btn-disabled:hover {
            background-color: var(--border-color) !important;
            color: var(--text-muted) !important;
            cursor: not-allowed !important;
            border: 1px solid var(--border-color) !important;
            box-shadow: none !important;
            transform: none !important;
            pointer-events: none;
        }