* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.ant-table-wrapper {
  margin: 20px 0;
}

.ant-card {
  margin-bottom: 20px;
}

.ant-btn-primary {
  background-color: #1890ff;
  border-color: #1890ff;
}

.ant-btn-primary:hover {
  background-color: #40a9ff;
  border-color: #40a9ff;
}

.ant-statistic-title {
  font-size: 14px;
  color: #666;
}

.ant-statistic-content {
  font-size: 24px;
  font-weight: bold;
}

.ant-tag {
  margin-right: 8px;
}

.ant-divider {
  margin: 16px 0;
}

.ant-form-item {
  margin-bottom: 16px;
}

.ant-form-inline .ant-form-item {
  margin-right: 16px;
}

.ant-pagination {
  margin-top: 20px;
  text-align: center;
}

.header {
  background-color: white;
  padding: 0 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.header-title {
  font-size: 20px;
  font-weight: bold;
  padding: 16px 0;
  color: #333;
}

.content {
  padding: 0 24px 24px;
}

.dashboard-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.dashboard-stat-card {
  flex: 1;
}

.contract-detail {
  display: flex;
  gap: 24px;
}

.contract-info {
  flex: 1;
}

.risk-list {
  flex: 1;
}

.risk-item {
  margin-bottom: 16px;
  padding: 16px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.risk-high {
  border-left: 4px solid #ff4d4f;
}

.risk-medium {
  border-left: 4px solid #faad14;
}

.risk-low {
  border-left: 4px solid #52c41a;
}

.risk-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.risk-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.risk-suggestion {
  font-size: 14px;
  color: #1890ff;
}

.contract-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.contract-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.contract-meta-item {
  font-size: 14px;
}

.contract-meta-label {
  color: #666;
  margin-right: 4px;
}

.contract-meta-value {
  font-weight: 500;
}

.contract-table {
  margin-top: 16px;
}

.risk-summary {
  margin-bottom: 24px;
}

.risk-summary-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
}

.risk-summary-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.risk-summary-stat {
  flex: 1;
  text-align: center;
  padding: 16px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.risk-summary-stat-high {
  border-top: 4px solid #ff4d4f;
}

.risk-summary-stat-medium {
  border-top: 4px solid #faad14;
}

.risk-summary-stat-low {
  border-top: 4px solid #52c41a;
}

.risk-summary-stat-value {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
}

.risk-summary-stat-label {
  font-size: 14px;
  color: #666;
}

.search-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
}

.filter-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

.filter-item {
  min-width: 120px;
}

.search-input {
  min-width: 200px;
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.status-tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
}

.status-high {
  background-color: #fff1f0;
  color: #cf1322;
  border: 1px solid #ffccc7;
}

.status-medium {
  background-color: #fffbe6;
  color: #d48806;
  border: 1px solid #ffe58f;
}

.status-low {
  background-color: #f6ffed;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #1890ff;
}

.nav-menu {
  display: flex;
  gap: 16px;
}

.nav-item {
  padding: 0 8px;
  cursor: pointer;
  color: #666;
}

.nav-item.active {
  color: #1890ff;
  font-weight: 500;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}