/* Watchlist Styles - Matches Trade Planning Design */

.watchlist-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.watchlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.watchlist-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Statistics Cards */
.watchlist-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

/* Layout with Sidebar */
.watchlist-layout {
    display: flex;
    gap: 20px;
}

.watchlist-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.watchlist-main {
    flex: 1;
    min-width: 0;
}

/* Watchlist Table */
.watchlist-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.watchlist-table {
    width: 100%;
    border-collapse: collapse;
}

.watchlist-table thead {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.watchlist-table th {
    padding: 12px 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.watchlist-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s;
}

.watchlist-table tbody tr:hover {
    background: #f9fafb;
}

.watchlist-table td {
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
}

.watchlist-table td:first-child {
    font-weight: 600;
}

/* Price Change Colors */
.price-up {
    color: #28a745;
}

.price-down {
    color: #dc3545;
}

/* Alerts Section */
.alerts-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.alerts-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert-item {
    padding: 12px;
    background: #f9fafb;
    border-radius: 6px;
    border-left: 3px solid #3b82f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-info {
    flex: 1;
}

.alert-symbol {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.alert-condition {
    font-size: 13px;
    color: #666;
}

.alert-actions {
    display: flex;
    gap: 8px;
}

/* Empty States */
.empty-state-small {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .watchlist-layout {
        flex-direction: column;
    }

    .watchlist-sidebar {
        width: 100%;
    }

    .watchlist-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
