       .glass-panel {
            background: var(--glass-bg) !important;
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            border: 1px solid var(--glass-border) !important;
            box-shadow: var(--shadow);
            border-radius: 20px;
            padding: 25px;
            margin-bottom: 20px;
        }

        .box-title {
            display: block; font-weight: 800; font-size: 0.9rem; padding-left: 10px;
            border-left: 3px solid var(--purple); margin-bottom: 20px; text-transform: uppercase;
        }
        
        .btn-time {
            border: 1px solid var(--glass-border); background: var(--glass-bg);
            color: var(--text); padding: 5px 15px; border-radius: 8px; font-size: 0.8rem; font-weight: 600;
            transition: all 0.2s;
        }
        .btn-time:hover { background: rgba(255,255,255,0.1); }
        .btn-time.active { background: var(--blue); color: white; }
        
        .search-dropdown {
            position: relative;
            min-width: 220px;
        }
        .search-dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            z-index: 1000;
            margin-top: 8px;
            padding: 10px;
        }
        .search-dropdown-menu.show { display: block; }
        .search-input-box {
            width: 100%;
            background: rgba(0,0,0,0.1);
            border: 1px solid var(--glass-border);
            color: var(--text);
            border-radius: 6px;
            padding: 6px 10px;
            font-size: 0.8rem;
            margin-bottom: 10px;
            outline: none;
        }
        body.dark-mode .search-input-box { background: rgba(255,255,255,0.05); }
        
        .coin-list {
            max-height: 200px;
            overflow-y: auto;
            scrollbar-width: thin;
        }
        .coin-item {
            padding: 8px 10px;
            border-radius: 6px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            justify-content: space-between;
        }
        .coin-item:hover { background: var(--blue); color: white; }
        .coin-item .ticker { opacity: 0.6; font-family: 'JetBrains Mono'; }






/* Style for the container while loading */
.search-dropdown-container.is-loading {
    opacity: 0.6;
    pointer-events: none; /* Prevents clicks */
    cursor: wait;
}

/* Optional: Add a small spinner icon to the label */
.search-dropdown-container.is-loading .js-selected-coin-label::after {
    content: " ⌛";
    font-size: 12px;
}




/* Highlight the selected item in the list */
.coin-item.is-selected {
    background-color: var(--primary-bg-light, #f3f4f6); /* Change to fit your theme */
    /*background-color: var(--primary-bg-light, #ababab);*/ /* Change to fit your theme */
    font-weight: bold;
    border-left: 3px solid #2563eb; /* A blue indicator */
}

/* Highlight the selected item in the list */
.dark-mode .coin-item.is-selected {
    background-color: var(--primary-bg-light, #2e2e2e); /* Change to fit your theme */
    font-weight: bold;
    border-left: 3px solid #2563eb; /* A blue indicator */
}



.search-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    /* Ensure this is high enough */
    z-index: 3000; 
    margin-top: 8px;
    padding: 10px;
    /* Ensure it doesn't get cut off by parents */
    overflow: visible; 
}