/* ========================================
   DASHBOARD SPECIFIC STYLES
   ======================================== */

.dashboard-widget {
    background: rgba(19, 24, 41, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.dashboard-widget:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00ff88;
}

.widget-action {
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.widget-action:hover {
    opacity: 1;
}

.widget-body {
    color: #a0aec0;
    line-height: 1.8;
}

/* Sentiment Meter */
.sentiment-meter {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    height: 12px;
    overflow: hidden;
    margin: 1rem 0;
}

.sentiment-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff006e, #ff9500, #00ff88);
    width: 0%;
    transition: width 0.5s ease;
}

.sentiment-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #718096;
    margin-top: 0.5rem;
}

/* Volume Chart Mini */
.volume-mini {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
    margin: 1rem 0;
}

.volume-bar {
    flex: 1;
    background: linear-gradient(180deg, #00ff88, rgba(0, 255, 136, 0.3));
    border-radius: 2px;
    transition: all 0.3s ease;
}

.volume-bar:hover {
    background: linear-gradient(180deg, #00ff88, rgba(0, 255, 136, 0.5));
}

/* Price Level Display */
.price-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.price-level {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.price-level-label {
    font-size: 0.8rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.price-level-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff88;
    font-family: 'Courier New', monospace;
}

/* Trend Strength Bar */
.trend-strength {
    margin: 1rem 0;
}

.trend-strength-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.trend-strength-bar {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
}

.trend-strength-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff006e, #ff9500, #00ff88);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

/* Multi-Timeframe Grid */
.mtf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.mtf-item {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mtf-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
}

.mtf-item.active {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.mtf-timeframe {
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.mtf-signal {
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Alert Box */
.alert-box {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.alert-box.success {
    background: rgba(0, 255, 136, 0.1);
    border-left-color: #00ff88;
}

.alert-box.danger {
    background: rgba(255, 0, 110, 0.1);
    border-left-color: #ff006e;
}

.alert-box.warning {
    background: rgba(255, 149, 0, 0.1);
    border-left-color: #ff9500;
}

.alert-box.info {
    background: rgba(0, 217, 255, 0.1);
    border-left-color: #00d9ff;
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-content {
    color: #a0aec0;
}

.alert-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* Performance Badge */
.performance-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.performance-badge.excellent {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.performance-badge.good {
    background: rgba(0, 217, 255, 0.2);
    color: #00d9ff;
}

.performance-badge.medium {
    background: rgba(255, 149, 0, 0.2);
    color: #ff9500;
}

.performance-badge.poor {
    background: rgba(255, 0, 110, 0.2);
    color: #ff006e;
}

/* Quick Stats Row */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.stat-box {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-box-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.stat-box-label {
    font-size: 0.85rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Time-Based Widget */
.time-display {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00ff88;
    text-align: center;
    margin: 1rem 0;
    letter-spacing: 2px;
}

/* Correlation Matrix */
.correlation-matrix {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0;
}

.correlation-row {
    display: flex;
    gap: 0.5rem;
}

.correlation-cell {
    flex: 1;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.correlation-cell.positive {
    background: rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.correlation-cell.negative {
    background: rgba(255, 0, 110, 0.3);
    color: #ff006e;
}

.correlation-cell.neutral {
    background: rgba(255, 149, 0, 0.3);
    color: #ff9500;
}

/* Whale Activity Display */
.whale-activity {
    margin: 1rem 0;
}

.whale-transaction {
    background: rgba(0, 255, 136, 0.05);
    border-left: 3px solid #00ff88;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.whale-transaction.sell {
    border-left-color: #ff006e;
}

.whale-transaction.buy {
    border-left-color: #00ff88;
}

.whale-amount {
    color: #00ff88;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.whale-transaction.sell .whale-amount {
    color: #ff006e;
}

/* News Feed */
.news-feed {
    margin: 1rem 0;
}

.news-item {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
}

.news-time {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 0.5rem;
}

.news-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.news-impact {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.news-impact.high {
    background: rgba(255, 0, 110, 0.2);
    color: #ff006e;
}

.news-impact.medium {
    background: rgba(255, 149, 0, 0.2);
    color: #ff9500;
}

.news-impact.low {
    background: rgba(0, 217, 255, 0.2);
    color: #00d9ff;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.05), rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
    background-size: 200% 100%;
    animation: loading 2s infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
