/* Trading Stream Styles */
.filters-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.filter-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group input,
.filter-group select {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    min-width: 150px;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #667eea;
}

.trades-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.trade-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.trade-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.trade-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.trade-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2d3748;
}

.trade-user i {
    color: #667eea;
}

.trade-timestamp {
    font-size: 0.8rem;
    color: #718096;
}

.trade-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

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

.trade-column h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trade-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trade-item {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.trade-item-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2px;
}

.trade-item-details {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    color: #718096;
}

.trade-note {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #4a5568;
    font-style: italic;
}

.trade-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
}

.loading-trades {
    text-align: center;
    padding: 40px;
    color: #718096;
}

.loading-trades i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #667eea;
}

/* My Trades Styles */
.my-trades-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.trade-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.trade-status.active {
    background: #f0fff4;
    color: #38a169;
}

.trade-status.completed {
    background: #fef5e7;
    color: #f6ad55;
}

/* Profile Styles */
.profile-content {
    max-width: 600px;
    margin: 0 auto;
}

.profile-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.profile-avatar {
    font-size: 4rem;
    color: #667eea;
}

.profile-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.profile-info p {
    color: #718096;
    margin-bottom: 5px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .trades-container,
    .my-trades-container {
        grid-template-columns: 1fr;
    }
    
    .trade-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .filter-group input,
    .filter-group select {
        min-width: auto;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
} 