.oauth-config {
  padding: 24px;
  background: #fff;
  min-height: 100vh;
}

/* 页面标题 */
.oauth-config-header {
  margin-bottom: 32px;
}

.oauth-config-title {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #262626 !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.4 !important;
}

.oauth-config-description {
  font-size: 14px !important;
  color: #8c8c8c !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

/* 区域样式 */
.oauth-config-section {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* 左右布局容器 */
.oauth-config-section-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.oauth-config-section-header {
  flex: 0 0 320px;
  min-width: 280px;
}

.oauth-config-section-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #262626 !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.4 !important;
}

.oauth-config-section-description {
  font-size: 14px !important;
  color: #8c8c8c !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.oauth-config-section-content {
  flex: 1;
  min-width: 0;
}

/* OAuth Providers 列表 */
.oauth-providers-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.oauth-provider-card {
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.oauth-provider-card .ant-card-body {
  padding: 20px;
}

.oauth-provider-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.oauth-provider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fafafa;
  border-radius: 8px;
  flex-shrink: 0;
}

.oauth-provider-info {
  flex: 1;
  min-width: 0;
}

.oauth-provider-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.oauth-provider-name {
  font-size: 16px;
  font-weight: 500;
  color: #262626;
}

.oauth-provider-status {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  margin: 0;
}

.oauth-provider-description {
  font-size: 14px;
  color: #8c8c8c;
  line-height: 1.6;
}

.oauth-provider-settings-btn {
  flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .oauth-config {
    padding: 16px;
  }

  .oauth-config-section {
    padding: 16px;
  }

  .oauth-config-section-layout {
    flex-direction: column;
    gap: 24px;
  }

  .oauth-config-section-header {
    flex: 1;
    min-width: auto;
  }

  .oauth-provider-content {
    flex-wrap: wrap;
  }

  .oauth-provider-settings-btn {
    width: 100%;
  }
}

