.App {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  height: 100%;
  width: 100%;
}

/* 页面容器样式 */
.page-container {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 24px;
  transition: all 0.3s;
}

/* 页面标题栏样式 */
.page-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.page-title {
  margin: 0;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
}

.page-description {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
}

.page-actions {
  display: flex;
  gap: 12px;
}

/* 卡片样式 */
.custom-card {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
}

.custom-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* 表格样式 */
.custom-table {
  border-radius: 8px;
  overflow: hidden;
}

.custom-table .ant-table-thead > tr > th {
  background: #fafafa;
  font-weight: 600;
}

/* 表单样式 */
.custom-form-item-label {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
}

.custom-form-item-hint {
  color: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  margin-top: 4px;
}

/* 按钮样式 */
.custom-button {
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custom-button-icon {
  margin-right: 8px;
}

/* 状态标签样式 */
.status-tag {
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
}

.status-tag-success {
  background-color: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #52c41a;
}

.status-tag-warning {
  background-color: #fffbe6;
  border: 1px solid #ffe58f;
  color: #faad14;
}

.status-tag-error {
  background-color: #fff2f0;
  border: 1px solid #ffccc7;
  color: #ff4d4f;
}

/* 动画效果 */
.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 响应式调整 */
@media (max-width: 576px) {
  .page-container {
    padding: 16px;
  }
  
  .page-title-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .page-actions {
    margin-top: 16px;
    width: 100%;
    justify-content: flex-start;
  }
}
