:root {
    --bg-color: #020617;
    --card-bg: rgba(15, 23, 42, 0.7);
    --accent-color: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --success: #10b981;
    --danger: #f43f5e;
    --border-color: rgba(255, 255, 255, 0.06);
    --sidebar-width: 320px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    transition: all 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* 针对 Firefox 的滚动条适配 */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.2) rgba(255, 255, 255, 0.02);
}

/* 通用隐藏类 */
.hidden {
    display: none !important;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    color: var(--text-primary);
    height: 100vh;
    width: 100vw;
    display: flex;
    overflow: hidden;
    /* 禁止整屏滚动 */
    padding: 1.25rem;
}

/* 主容器 */
.main-container {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 1.25rem;
    width: 100%;
    height: 100%;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    min-width: 0;
}

.header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* 搜索框微调 */
.search-area {
    position: relative;
    z-index: 10;
}

.search-area h2,
.famous-stocks-card h2 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: white;
    padding: 0.6rem 0.8rem;
    border-radius: 0.5rem;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
}

button {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 80px;
}

/* 热门股票网格 - 自动填充剩余空间 */
.famous-stocks-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.famous-stocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.famous-stocks::-webkit-scrollbar {
    width: 4px;
}

.famous-stocks::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 10px;
}

.stock-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    padding: 0.8rem;
    border-radius: 0.8rem;
    margin-top: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stock-item:hover {
    background: var(--accent-glow);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.stock-icon-wrapper {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.5rem;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
}

.stock-symbol {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
}

.stock-name {
    font-size: 0.65rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 右侧展示区 */
.result-area {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    overflow: hidden;
}

/* 统计网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    opacity: 0.5;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 0.3rem;
    letter-spacing: -1px;
}

/* 图表区 */
#chart-container {
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    position: relative;
    min-height: 400px;
    /* 默认自适应填充可用空间 */
    flex: 1;
}

/* 预测后的图表容器 - 固定高度模式 */
#chart-container.has-result {
    flex: none;
    height: 800px;
    min-height: 450px;
}

#chart {
    width: 100%;
    height: 100% !important;
}

/* 表格区 */
.prediction-table-card {
    display: flex;
    flex-direction: column;
    min-height: 200px;
    max-height: 400px;
    padding-bottom: 0.5rem;
    flex: 1;
    overflow: hidden;
}

.prediction-table-container {
    flex: 1;
    overflow-y: auto;
    margin-top: 0.8rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

th {
    text-align: left;
    padding: 0.8rem 0.75rem;
    color: var(--text-secondary);
    position: sticky;
    top: 0;
    background: #0f172a;
    z-index: 2;
    border-bottom: 2px solid var(--border-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-weight: 500;
}

.price-up {
    color: var(--success);
}

.price-down {
    color: var(--danger);
}

/* 加载状态 */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 24, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-state {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
}

/* 移除 Chrome, Safari, Edge, Opera 的默认箭头 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 移除 Firefox 的默认箭头 */
input[type=number] {
    -moz-appearance: textfield;
}



.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Refactored inline styles from HTML */
.config-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.config-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.config-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.predict-btn {
    width: 100%;
    height: 40px;
    margin-top: 0.5rem;
}

/* Overriding opacity for the specific empty state instance if needed, 
   or we can just use this class instead of inline style */
.empty-state.visible {
    opacity: 1;
}

.empty-state-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.empty-state-icon-wrapper {
    margin-bottom: 1.5rem;
}

.empty-state-icon {
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.empty-state-title,
.empty-state-text h1,
.empty-state-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.empty-state-desc,
.empty-state-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.empty-state-text p:last-child {
    margin-bottom: 2.5rem;
}

.empty-state-text p {
    margin-bottom: 0.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    text-align: left;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    /* Optional: Add hover effect if desired, matching the intent of 'transition: all 0.3s hover' */
}

.feature-title {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon-badge {
    background: var(--accent-glow);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.7rem;
}

.feature-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.ready-status {
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: statusPulseSuccess 2s infinite;
}

@keyframes statusPulseSuccess {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* 模型加载中状态 */
.ready-status.loading {
    color: #fbbf24;
}

.ready-status.loading .status-dot {
    background: #fbbf24;
    box-shadow: 0 0 0 rgba(251, 191, 36, 0.4);
    animation: statusPulseLoading 1.5s infinite;
}

@keyframes statusPulseLoading {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(251, 191, 36, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

/* 移除旧的 statusPulse 动画（已合并到上方） */

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title {
    font-size: 1rem;
    color: var(--accent-color);
}

.table-unit {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.loading-container {
    text-align: center;
}

.loading-spinner-wrapper {
    margin: 0 auto;
}

.loading-text {
    margin-top: 1.5rem;
    letter-spacing: 2px;
    font-size: 0.8rem;
}



/* Classes for dynamic content */
.stock-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ================================
   错误弹窗样式
   ================================ */
.error-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 24, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.error-modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.error-icon {
    margin-bottom: 1.5rem;
}

.error-icon svg {
    filter: drop-shadow(0 0 10px rgba(244, 63, 94, 0.3));
}

.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f43f5e;
    margin-bottom: 0.75rem;
}

.error-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.error-details {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: monospace;
    text-align: left;
    max-height: 100px;
    overflow-y: auto;
    display: none;
}

.error-details.visible {
    display: block;
}

.error-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.error-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.error-btn.retry-btn {
    background: var(--accent-color);
    color: white;
}

.error-btn.retry-btn:hover {
    background: #818cf8;
    transform: translateY(-2px);
}

.error-btn.close-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.error-btn.close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.error-note {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ================================
   移动端热门股票抽屉
   ================================ */

/* 移动端浮动按钮 - 仅在移动端显示 */
.mobile-stocks-fab {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    cursor: pointer;
    z-index: 100;
    box-shadow:
        0 4px 15px rgba(139, 92, 246, 0.4),
        0 0 30px rgba(99, 102, 241, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
}

.mobile-stocks-fab:hover {
    transform: scale(1.1);
    box-shadow:
        0 6px 20px rgba(139, 92, 246, 0.5),
        0 0 40px rgba(99, 102, 241, 0.3);
}

.mobile-stocks-fab:active {
    transform: scale(0.95);
}

.mobile-stocks-fab svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* 抽屉遮罩层 */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
}

/* 抽屉容器 */
.drawer-stocks {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 15, 30, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.drawer-stocks.open {
    transform: translateX(0);
}

/* 抽屉头部 */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.drawer-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.drawer-close-btn:hover {
    background: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.3);
    color: #f43f5e;
}

/* 抽屉内容 - 股票网格 */
.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.drawer-stocks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.drawer-stocks-grid .stock-item {
    margin-top: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-stocks-grid .stock-item:hover {
    background: var(--accent-glow);
    border-color: var(--accent-color);
    transform: translateY(-2px) scale(1.02);
}

/* 防止背景滚动 */
body.drawer-open {
    overflow: hidden;
}

/* ================================
   响应式布局 (768px以下)
   ================================ */
@media screen and (max-width: 768px) {

    /* 显示移动端浮动按钮 */
    .mobile-stocks-fab {
        display: flex;
    }

    /* 移动端高度适配，保持 flex 布局以支持滚动 */
    .drawer-stocks {
        height: 100dvh;
    }

    /* 隐藏桌面端热门股票卡片 */
    .famous-stocks-card {
        display: none !important;
    }

    /* 调整body内边距 */
    body {
        padding: 0.75rem;
        padding-bottom: 2rem;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    /* 主容器改为单列布局 */
    .main-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: auto;
        min-height: calc(100vh - 1.5rem);
    }

    /* 侧边栏变为顶部区域 */
    .sidebar {
        height: auto;
        gap: 1rem;
    }

    /* 标题区域调整 */
    .header {
        padding-right: 60px;
        /* 为浮动按钮留出空间 */
    }

    .header h1 {
        font-size: 1.3rem;
    }

    .header p {
        font-size: 0.7rem;
    }

    /* 搜索区域调整 */
    .search-area {
        padding: 1rem;
    }

    .config-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    input {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }

    .predict-btn {
        height: 44px;
        font-size: 0.9rem;
    }

    /* 结果区域调整 */
    .result-area {
        grid-template-rows: auto auto 1fr auto;
        gap: 1rem;
        height: auto;
        overflow: visible;
    }

    /* 统计卡片网格 - 移动端2列+3列 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 0.75rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    /* 图表容器 - 移动端固定高度 */
    #chart-container {
        min-height: 450px;
        height: auto;
    }

    #chart-container.has-result {
        height: 450px;
        min-height: 450px;
    }

    /* 空状态调整 */
    .empty-state-content {
        padding: 1.5rem 1rem;
    }

    .empty-state-title {
        font-size: 1.3rem;
    }

    .empty-state-desc {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-text {
        font-size: 0.75rem;
    }

    .ready-status {
        margin-top: 1.5rem;
        font-size: 0.75rem;
    }

    /* 预测表格 */
    .prediction-table-card {
        height: auto;
        max-height: 400px;
    }

    table {
        font-size: 0.75rem;
    }

    th,
    td {
        padding: 0.5rem 0.4rem;
    }

    /* 错误弹窗移动端适配 */
    .error-modal-content {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .error-title {
        font-size: 1.25rem;
    }

    .error-message {
        font-size: 0.85rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 更小屏幕适配 (480px以下) */
@media screen and (max-width: 480px) {
    body {
        padding: 0.5rem;
    }

    .header h1 {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-value {
        font-size: 1rem;
    }

    .drawer-stocks {
        width: 100%;
        max-width: 100%;
    }

    .mobile-stocks-fab {
        width: 44px;
        height: 44px;
    }

    .mobile-stocks-fab svg {
        width: 20px;
        height: 20px;
    }
}

/* ================================
    搜索自动补全下拉框
   ================================ */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 99999;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.search-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: var(--accent-glow);
}

.search-item-left {
    display: flex;
    flex-direction: column;
}

.search-symbol {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.search-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.search-exch {
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}