/* assets/css/dashboard-extra.css */
.dashboard-body {
    background: #020617;
    color: #fff;
    height: 100vh;
    overflow: hidden;
}

.db-header {
    height: 60px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    background: rgba(15, 23, 42, 0.8);
}

.db-brand { display: flex; align-items: center; gap: 10px; }
.db-title { font-size: 1.2rem; font-weight: 800; color: #3da5ff; }

.db-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
    padding: 15px;
    height: calc(100vh - 60px);
}

.db-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(11, 132, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    height: 100%;
}

.db-card-title {
    color: #3da5ff;
    border-left: 3px solid #0b84ff;
    padding-left: 10px;
    margin-bottom: 15px;
    font-weight: bold;
}

.main-stats { display: flex; gap: 15px; margin-bottom: 15px; }
.stat-box {
    flex: 1;
    background: rgba(11, 132, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}
.stat-value { font-size: 1.8rem; font-weight: 800; color: #0b84ff; }

.feed-item { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; }
.tag { padding: 2px 6px; border-radius: 4px; font-size: 11px; margin-right: 5px; }
.tag.crit { background: #ef4444; }
.tag.warn { background: #f59e0b; }
.tag.info { background: #3b82f6; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#weiboHotList .feed-item:hover {
    background: rgba(11, 132, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.tag.crit { background: #ff4d4f; box-shadow: 0 0 8px rgba(255, 77, 79, 0.4); }

/* 微博品牌色懸停發光 */
#weiboHotList .feed-item:hover {
    background: rgba(255, 130, 0, 0.1); /* 微博橙 */
    border-radius: 4px;
    box-shadow: inset 2px 0 0 #ff8200;
    transition: 0.3s;
}

.tag.crit {
    background: #ff4d4f; /* 爆紅熱搜 */
    box-shadow: 0 0 10px rgba(255, 77, 79, 0.4);
}

/* 高亮项样式 */
.highlight-item {
    background: rgba(11, 132, 255, 0.15) !important;
    border-left: 4px solid #0b84ff !important;
    animation: pulse-glow 2s infinite;
}

.focus-tag {
    background: #0b84ff;
    color: white;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 8px;
}

.hot-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.hot-link:hover {
    color: #3da5ff;
}

.hot-meta {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 5px rgba(11, 132, 255, 0.2); }
    50% { box-shadow: 0 0 15px rgba(11, 132, 255, 0.4); }
    100% { box-shadow: 0 0 5px rgba(11, 132, 255, 0.2); }
}
.feed-item {
    transition: all 0.3s ease; /* 讓透明度和背景色變化更平滑 */
}

#searchInput:focus {
    border-color: #0b84ff !important;
    box-shadow: 0 0 10px rgba(11, 132, 255, 0.3);
}

.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}
.event-rank {
    font-family: 'Monaco', monospace;
    font-weight: bold;
    color: #10b981;
    font-size: 16px;
}
.event-title {
    font-size: 12px;
    color: #fff;
    font-weight: 500;
}
.event-meta {
    font-size: 10px;
    color: #64748b;
}