/* ============================================
   BACKGROUND STYLES
   ============================================ */


/* Background with subtle blur - very visible */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(10, 15, 25, 0.85), rgba(5, 10, 20, 0.9)),
        url('https://hypixel.net/attachments/2520713/') center/cover no-repeat;
    filter: blur(4px);
    z-index: -2;
}

/* Subtle gradient overlay - FIXED z-index */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    z-index: -1; /* Keep behind content */
}

/* ============================================
   MAIN LAYOUT FIXES
   ============================================ */

/* Main body styles - FIXED for scrollbars */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    margin: 0; 
    padding: 0;
    color: #fff;
    position: relative;
    min-height: 100vh;
    background: transparent;
    overflow-x: hidden;
    overflow-y: auto !important; /* Force scrollbar */
    width: 100%;
    z-index: 1; /* Ensure body is above background layers */
}

/* App container with glass effect - NARROWER for ads */
#app {
    max-width: 1000px; /* Reduced from 1400px */
    width: 100%;
    margin: 20px auto;
    padding: 0 20px; /* Horizontal padding only */
    position: relative;
    box-sizing: border-box;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
    overflow: visible;
}

.title-container h1 {
    margin: 0;
    font-size: 32px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-container h1 i {
    color: #3b82f6;
    font-size: 28px;
}

.subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 5px;
}

.controls {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 11;
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.home-button, .refresh-button, .back-button {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    font-size: 14px;
    position: relative;
    z-index: 10;
}

.home-button:hover, .refresh-button:hover, .back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.home-button i, .refresh-button i, .back-button i {
    font-size: 16px;
}

/* ============================================
   STATUS BAR
   ============================================ */

.status-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 30px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 5;
    overflow: visible;
}

.last-updated {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

#statusIndicator {
    font-size: 20px;
    transition: all 0.3s ease;
}

.loading {
    animation: pulse 1.5s infinite;
    color: #f59e0b;
}

.success {
    color: #10b981;
}

.error {
    color: #ef4444;
}

#itemCount, #marketStats {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ============================================
   SEARCH BAR - FIXED DROPDOWN TEXT COLOR
   ============================================ */

.search-container {
    margin-bottom: 30px;
    position: relative;
    z-index: 100;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    z-index: 2;
}

#searchBar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 18px 20px 18px 60px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    color: white;
    font-weight: 500;
    position: relative;
    z-index: 10;
}

#searchBar::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#searchBar:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

/* Search Suggestions - FIXED TEXT COLOR */
#searchSuggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98); /* Dark background */
    border-radius: 12px;
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.suggestion-item {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
    color: white; /* Ensure text is visible */
}

.suggestion-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px;
}

.suggestion-text {
    flex: 1;
}

.suggestion-name {
    font-weight: 600;
    color: white; /* Fixed text color */
    font-size: 15px;
    margin-bottom: 4px;
}

.suggestion-price {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7); /* Fixed text color */
}

.no-results {
    padding: 30px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* ============================================
   DASHBOARD STYLES - FIXED CLIPPING
   ============================================ */

.dashboard {
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.dashboard-title {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.dashboard-title i {
    color: #3b82f6;
}

.section-title {
    margin: 40px 0 25px 0;
}

.section-title h3 {
    color: white;
    font-size: 24px;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title h3 i {
    color: #3b82f6;
}

.section-title p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 14px;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.stat-icon {
    font-size: 32px;
    color: #3b82f6;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Category Grid - FIXED CLIPPING */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

/* ============================================
   REMOVE SLIDING GLOW, REPLACE WITH HIGHLIGHT
   ============================================ */

/* Category cards - remove sliding, add highlight */
.category-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease; /* Simpler transition */
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden; /* Keep hidden for clean look */
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-5px); /* Smaller lift */
    background: rgba(255, 255, 255, 0.15);
    border-color: #3b82f6;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.3); /* Keep glow */
}

/* REMOVE the sliding ::before element completely */
.category-card::before {
    display: none; /* Completely remove sliding effect */
}

/* Item cards - same changes */
.item-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.item-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #3b82f6;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.3);
}

.item-card::before {
    display: none; /* Completely remove sliding effect */
}

/* Action cards - same changes */
.action-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.action-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #3b82f6;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.3);
}

.action-card::before {
    display: none; /* Completely remove sliding effect */
}

/* Fix insight cards to match */
.insight-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 8px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.insight-card:hover {
    transform: translateY(-3px); /* Even smaller lift for insight cards */
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Flip cards - same cleanup */
.flip-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.flip-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #10b981;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Flip items inside insights */
.flip-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
    overflow: hidden; /* Add overflow hidden */
}

.flip-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px); /* Smaller movement */
}

/* Fix stat cards */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ============================================
   ADD SMOOTH TRANSITIONS FOR ALL INTERACTIVE ELEMENTS
   ============================================ */

/* Buttons */
.home-button, .refresh-button, .back-button,
.insight-action, .graph-action-btn,
.pagination-btn, .time-filter-btn {
    transition: all 0.3s ease !important;
}

/* Search and dropdowns */
#searchBar, #allItemsSearch, #categorySort, #sortBy, #flipSort {
    transition: all 0.3s ease !important;
}

/* Suggestion items */
.suggestion-item {
    transition: background 0.2s ease !important;
}

/* Trade and supply items */
.trade-item, .supply-item {
    transition: all 0.2s ease !important;
    overflow: hidden; /* Add overflow hidden */
}

.trade-item:hover, .supply-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px); /* Smaller movement */
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #3b82f6;
    text-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.category-card h3 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.category-card p {
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.category-count {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 2;
}

/* Insights Grid - FIXED CLIPPING */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.insight-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible; /* Changed from default */
    z-index: 1;
    isolation: isolate;
}

.insight-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.insight-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.insight-header h3 {
    margin: 0 0 8px 0;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.insight-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
}

/* Category-specific styling */
.best-flips {
    border-left: 5px solid #10b981;
}

.best-flips .insight-header h3 {
    color: #10b981;
}

.highest-volume {
    border-left: 5px solid #3b82f6;
}

.highest-volume .insight-header h3 {
    color: #3b82f6;
}

.market-depth {
    border-left: 5px solid #f59e0b;
}

.market-depth .insight-header h3 {
    color: #f59e0b;
}

.market-scarcity {
    border-left: 5px solid #ef4444;
}

.market-scarcity .insight-header h3 {
    color: #ef4444;
}

/* Flip item rows */
.flip-item, .trade-item, .supply-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.flip-item:hover, .trade-item:hover, .supply-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.flip-icon, .trade-icon, .supply-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px;
    margin-right: 15px;
}

.flip-info, .trade-info, .supply-info {
    flex: 1;
}

.flip-name, .trade-name, .supply-name {
    font-weight: 600;
    color: white;
    font-size: 14px;
    margin-bottom: 4px;
}

.flip-details, .trade-details, .supply-details {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.flip-profit, .trade-volume, .supply-amount {
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.flip-profit {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.trade-volume {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.supply-amount {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.market-scarcity .supply-amount {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.insight-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.insight-action {
    background: transparent;
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.insight-action:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

/* Action Grid - FIXED CLIPPING */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.action-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
    z-index: 1;
    isolation: isolate;
}

.action-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: #3b82f6;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(59, 130, 246, 0.2);
    z-index: 10;
}

.action-card i {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 2;
}

.action-card h4 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.action-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* ============================================
   ITEMS GRID & CATEGORY VIEWS - FIXED CLIPPING
   ============================================ */

.category-header, .all-items-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 5;
    overflow: visible;
}

.category-header h2, .all-items-header h2 {
    color: white;
    margin: 0;
    font-size: 28px;
    flex: 1;
}

.category-info, .sort-controls, .flip-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

#categoryItemCount {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 14px;
}

/* DROPDOWN FIXES - Text color and background */
#allItemsSearch, #categorySort, #sortBy, #flipSort {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    color: white; /* Text color fixed */
    min-width: 200px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* Style dropdown options */
#allItemsSearch option, #categorySort option, #sortBy option, #flipSort option {
    background: rgba(15, 23, 42, 0.95); /* Dark background for options */
    color: white; /* White text for options */
    padding: 10px;
}

/* Fix placeholder color */
#allItemsSearch::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#allItemsSearch:focus, #categorySort:focus, #sortBy:focus, #flipSort:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.search-filter {
    flex: 1;
    min-width: 300px;
}

.search-filter input {
    width: 100%;
}

/* Items Grid - FIXED CLIPPING */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.item-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
    z-index: 1;
    isolation: isolate;
}

.item-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: #3b82f6;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(59, 130, 246, 0.2);
    z-index: 10;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s ease;
    z-index: -1;
    border-radius: 20px;
}

.item-card:hover::before {
    left: 100%;
}

.item-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.item-card:hover .item-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.item-name {
    font-weight: 700;
    font-size: 16px;
    color: white;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: relative;
    z-index: 2;
}

.item-prices {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.item-buy {
    color: #3b82f6;
    font-weight: 600;
}

.item-sell {
    color: #10b981;
    font-weight: 600;
}

.item-spread {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.item-volume {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    z-index: 3;
}

/* Flips Grid - FIXED CLIPPING */
.flips-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.flip-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
    z-index: 1;
    isolation: isolate;
}

.flip-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.flip-rank {
    font-size: 24px;
    font-weight: 800;
    color: #f59e0b;
    min-width: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.flip-icon-large {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 6px;
    position: relative;
    z-index: 2;
}

.flip-details-large {
    flex: 1;
    position: relative;
    z-index: 2;
}

.flip-name-large {
    font-weight: 700;
    color: white;
    font-size: 18px;
    margin-bottom: 8px;
}

.flip-stats {
    display: flex;
    gap: 25px;
    margin-bottom: 10px;
}

.flip-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.flip-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flip-stat-value {
    font-weight: 700;
    font-size: 16px;
}

.buy-price {
    color: #3b82f6;
}

.sell-price {
    color: #10b981;
}

.profit-percent {
    color: #10b981;
    background: rgba(16, 185, 129, 0.2);
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 18px;
    min-width: 120px;
    text-align: center;
    border: 2px solid rgba(16, 185, 129, 0.3);
    position: relative;
    z-index: 2;
}

.profit-absolute {
    color: #f59e0b;
    font-weight: 700;
    font-size: 14px;
}

/* ============================================
   GRAPH CONTAINER
   ============================================ */

#graphContainer {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.95) 0%, 
        rgba(15, 23, 42, 0.98) 100%);
    border-radius: 24px;
    padding: 30px;
    color: white;
    display: none;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(16, 185, 129, 0.3);
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 5;
    overflow: visible;
}

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.graph-title {
    margin: 0;
    font-size: 32px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.graph-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    font-weight: 500;
}

/* Time Filter Buttons */
.time-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.time-filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.time-filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.time-filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Price Information */
#priceInfo {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Order Statistics */
.order-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.order-stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.order-stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.order-stat-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.order-stat-value.sell {
    color: #10b981;
}

.order-stat-value.buy {
    color: #3b82f6;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 400px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Data Info */
.data-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 16px;
    margin-top: 25px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.data-info i {
    color: #3b82f6;
}

/* Graph Actions */
.graph-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.graph-action-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.graph-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.graph-action-btn:first-child:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.graph-action-btn:nth-child(2):hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
}

.graph-action-btn:last-child:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

/* ============================================
   WATCHLIST
   ============================================ */

.watchlist-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 25px;
    overflow-y: auto;
}

.watchlist-sidebar.active {
    right: 0;
}

.watchlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.watchlist-header h4 {
    color: white;
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.watchlist-header i {
    color: #3b82f6;
}

.watchlist-close {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.watchlist-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.watchlist-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.watchlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.watchlist-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px;
    margin-right: 15px;
}

.watchlist-info {
    flex: 1;
}

.watchlist-name {
    font-weight: 600;
    color: white;
    font-size: 14px;
    margin-bottom: 4px;
}

.watchlist-price {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.watchlist-remove {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.watchlist-remove:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.1);
}

.watchlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.watchlist-empty i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.watchlist-empty p {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.watchlist-empty small {
    font-size: 13px;
}

.watchlist-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    z-index: 999;
    font-size: 20px;
}

.watchlist-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
}

.watchlist-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.pagination-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   ADDITIONAL STYLES
   ============================================ */

/* Add to your CSS */
.rank-badge {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    margin-left: 8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.filter-note {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-top: 15px;
    position: relative;
    z-index: 2;
}

.profit-warning {
    animation: pulse 2s infinite;
    border-color: #f59e0b !important;
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations */
.category-card, .action-card, .item-card {
    animation: slideIn 0.6s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }
.category-card:nth-child(7) { animation-delay: 0.7s; }
.category-card:nth-child(8) { animation-delay: 0.8s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
   
   

@media (max-width: 1200px) {
    #app {
        max-width: 95%;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .category-grid,
    .insights-grid,
    .action-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .title-container {
        text-align: center;
    }
    
    .controls {
        justify-content: center;
    }
    
    .category-grid,
    .insights-grid,
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .category-header,
    .all-items-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .category-info,
    .sort-controls,
    .flip-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    #allItemsSearch,
    #categorySort,
    #sortBy,
    #flipSort {
        width: 100%;
    }
    
    .search-filter {
        min-width: 100%;
    }
    
    .graph-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .graph-actions {
        flex-direction: column;
    }
    
    .watchlist-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .watchlist-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 24px;
    }
    
    .section-title h3 {
        font-size: 20px;
    }
    
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .item-card {
        padding: 15px;
    }
    
    .item-icon {
        width: 60px;
        height: 60px;
    }
    
    .flip-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .flip-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

/* ============================================
   CUSTOM VISIBLE SCROLLBAR - CAN'T BE MISSED
   ============================================ */

/* Remove ALL existing scrollbar styles first */
::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
    all: unset !important;
}

/* Custom scrollbar container */
.custom-scrollbar {
    scrollbar-width: none; /* Hide default Firefox */
    -ms-overflow-style: none; /* Hide default IE/Edge */
}

.custom-scrollbar::-webkit-scrollbar {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border-left: 2px solid #3b82f6 !important;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: linear-gradient(180deg, 
        #0f172a 0%, 
        #1e293b 50%, 
        #0f172a 100%) !important;
    border-radius: 0 !important;
    border: 3px solid #000 !important;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5) !important;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        #3b82f6 0%, 
        #2563eb 50%, 
        #3b82f6 100%) !important;
    border: 3px solid #000 !important;
    border-radius: 0 !important;
    box-shadow: 
        0 0 10px #3b82f6,
        0 0 20px #3b82f6,
        inset 0 0 10px rgba(255,255,255,0.3) !important;
    min-height: 40px !important;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        #2563eb 0%, 
        #1d4ed8 50%, 
        #2563eb 100%) !important;
    box-shadow: 
        0 0 15px #3b82f6,
        0 0 25px #3b82f6 !important;
}

.custom-scrollbar::-webkit-scrollbar-corner {
    background: #0f172a !important;
    border: 2px solid #000 !important;
}

/* Firefox fallback */
.custom-scrollbar {
    scrollbar-width: thin !important;
    scrollbar-color: #3b82f6 #0f172a !important;
}

/* Apply to body and html */
html, body {
    scrollbar-width: none; /* Hide default */
}

html.custom-scrollbar,
body.custom-scrollbar {
    overflow-y: scroll !important;
}

/* Make sure all scrollable elements use it */
#searchSuggestions,
.watchlist-sidebar,
.insight-card,
.items-grid,
.flips-grid {
    scrollbar-width: none; /* Hide default */
}

#searchSuggestions.custom-scrollbar,
.watchlist-sidebar.custom-scrollbar,
.insight-card.custom-scrollbar,
.items-grid.custom-scrollbar,
.flips-grid.custom-scrollbar {
    overflow-y: auto !important;
}