/* asset-module.css */
.search-result .btn {
    height: auto;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.search-result:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Make the input look embedded */
.asset-search-wrap input:focus {
    outline: none;
    border-color: var(--brand-blue) !important;
}

/* dashboard/assets/css/asset-module.css */

/* Wrapper for the input to allow absolute positioning of the X */
.asset-search-wrap {
    position: relative;
    flex: 1;
    margin-right: 4px;
}

/* The actual Search Input */
#assetSearchBar {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 6px 24px 6px 10px; /* Right padding makes room for X */
    border-radius: 4px;
    font-size: 12px;
    outline: none;
    transition: border 0.2s;
}
#assetSearchBar:focus {
    border-color: var(--brand-blue);
}

/* The X Clear Button */
.search-clear-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    line-height: 1;
    display: none; /* Hidden by default */
    border-radius: 50%;
}
.search-clear-btn:hover {
    color: var(--text);
    background: rgba(255,255,255,0.1);
}

/* Result Items */
.search-result .btn {
    height: auto;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.search-result:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* --- TABS --- */
.asset-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    padding: 10px 4px;
    cursor: pointer;
    transition: 0.2s;
}
.asset-tab:hover {
    color: var(--text);
}
.asset-tab.active {
    color: var(--brand-blue);
    border-bottom-color: var(--brand-blue);
}


/* --- PANE C: INTELLIGENCE LAYOUT --- */
.pane-c-stack {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 0;
}

/* SECTION 1: PULSE CARD */
.pulse-card {
    background: #1e1e24; /* Slightly lighter than bg */
    border-bottom: 1px solid var(--line);
    padding: 12px;
    flex: 0 0 auto; /* Don't stretch */
}
.pulse-header {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: var(--brand-green);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}
.pulse-body {
    font-size: 13px;
    line-height: 1.4;
    color: #e4e4e7;
    font-family: 'Inter', sans-serif;
}

/* SECTION 2: VOLATILITY CHART */
.tech-section {
    flex: 0 0 200px; /* Fixed height for chart */
    border-bottom: 1px solid var(--line);
    padding: 10px;
    background: var(--bg);
    position: relative;
}
.section-label {
    font-size: 10px; 
    font-weight: 700; 
    color: var(--muted); 
    text-transform: uppercase; 
    margin-bottom: 4px;
}

/* SECTION 3: THE WIRE (News) */
.wire-feed {
    flex: 1; /* Takes remaining space */
    overflow-y: auto;
    background: var(--panel);
}
.wire-item {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: background 0.2s;
}
.wire-item:hover { background: rgba(255,255,255,0.05); }
.wire-ts { font-size: 10px; color: var(--muted); }
.wire-title { font-size: 12px; font-weight: 600; color: #fff; margin: 2px 0; }
.wire-source { font-size: 10px; color: var(--brand-blue); text-transform: uppercase; }

.btn-xs {
    background: transparent; border: 1px solid var(--line); color: var(--muted);
    font-size: 9px; padding: 2px 6px; border-radius: 3px; cursor: pointer;
}
.btn-xs.active { background: var(--line); color: #fff; border-color: var(--muted); }
.btn-xs:hover { color: #fff; }