        .navbar-brand {
            font-weight: bold;
        }
        .card {
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            border: 1px solid rgba(0, 0, 0, 0.125);
        }
        .table-responsive {
            max-height: 600px;
            overflow-y: auto;
        }
        .loading {
            display: none;
        }
        .loading.show {
            display: block;
        }
        .results-section {
            display: none;
        }
        .results-section.show {
            display: block;
        }
        .alert-api {
            margin-bottom: 20px;
        }
        .form-floating > .form-select {
            padding-top: 1.625rem;
            padding-bottom: 0.625rem;
        }
        .chart-container {
            position: relative;
            height: 400px;
            margin: 20px 0;
        }
        .sortable-header {
            cursor: pointer;
            user-select: none;
            position: relative;
            padding-right: 25px !important;
        }
        .sortable-header:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        .sortable-header::after {
            content: '⇅';
            position: absolute;
            right: 8px;
            opacity: 0.5;
        }
        .sortable-header.sort-asc::after {
            content: '▲';
            opacity: 1;
        }
        .sortable-header.sort-desc::after {
            content: '▼';
            opacity: 1;
        }
        .sort-order-badge {
            display: inline-block;
            position: absolute;
            top: -8px;
            right: 2px;
            background-color: #dc3545;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            font-size: 12px;
            font-weight: bold;
        }
        .sort-hint {
            font-size: 0.85rem;
            color: #666;
            font-weight: normal;
            display: block;
            margin-top: 5px;
            padding: 8px 12px;
            background-color: #f8f9fa;
            border-radius: 4px;
            border-left: 3px solid #0d6efd;
        }
        .filter-input {
            width: 100%;
            padding: 4px 8px;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            font-size: 0.875rem;
        }

        /* Floating Watchlist Price Strip */
        #watchlist-strip {
            position: fixed;
            top: 70px;
            right: 0;
            width: 140px;
            max-height: calc(100vh - 90px);
            overflow-y: auto;
            z-index: 1030;
            background: #fff;
            border-left: 1px solid #dee2e6;
            border-bottom: 1px solid #dee2e6;
            border-radius: 0 0 0 8px;
            box-shadow: -2px 2px 8px rgba(0,0,0,0.08);
            font-size: 0.75rem;
        }
        #watchlist-strip::-webkit-scrollbar {
            width: 4px;
        }
        #watchlist-strip::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 2px;
        }
        .watchlist-strip-header {
            display: flex;
            align-items: center;
            padding: 6px 10px;
            background: #0d6efd;
            color: #fff;
            font-size: 0.7rem;
            font-weight: 600;
            cursor: pointer;
            position: sticky;
            top: 0;
            z-index: 1;
        }
        .watchlist-strip-header:hover {
            background: #0b5ed7;
        }
        .watchlist-strip-item {
            padding: 5px 10px;
            border-bottom: 1px solid #f0f0f0;
            cursor: pointer;
            transition: background 0.15s;
        }
        .watchlist-strip-item:hover {
            background: #f8f9fa;
        }
        .watchlist-strip-item .wl-ticker {
            font-weight: 700;
            font-size: 0.72rem;
            color: #333;
        }
        .watchlist-strip-item .wl-earnings {
            font-weight: 400;
            font-size: 0.6rem;
            color: #6c757d;
            margin-left: 2px;
        }
        .watchlist-strip-item .wl-earnings-soon {
            color: #e65100;
            font-weight: 600;
        }
        .watchlist-strip-item .wl-price-val {
            font-size: 0.68rem;
        }

        /* Hide strip on mobile */
        @media (max-width: 991.98px) {
            #watchlist-strip {
                display: none !important;
            }
        }

        /* Watchlist drag-and-drop */
        .wl-drag-handle {
            cursor: grab;
            opacity: 0.4;
            font-size: 0.85rem;
        }
        .wl-drag-handle:hover {
            opacity: 1;
        }
        .wl-drag-item {
            transition: background 0.15s, transform 0.15s;
        }
        .wl-drag-item.wl-dragging {
            opacity: 0.4;
            background: #e9ecef;
        }
        .wl-drag-item.wl-drag-over {
            border-top: 2px solid #0d6efd;
        }

        /* Reduce main container right margin on desktop when strip visible */
        @media (min-width: 992px) {
            body.has-watchlist-strip .container {
                max-width: calc(100% - 180px);
                margin-right: 160px;
            }
        }
