/* UserAdmin 管理平台 - 自定义样式 */

/* 全局 */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#app {
  height: 100%;
}

/* 布局 */
.app-layout {
  height: 100vh;
}

.app-layout .el-aside {
  background: #304156;
  overflow-y: auto;
}

.app-layout .el-header {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.app-layout .el-main {
  background: #f0f2f5;
  padding: 20px;
}

/* 侧边菜单 */

/* 登录页 */
.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #f0f2f5;
}

/* 仪表盘统计卡片 */
.dashboard-stats .el-card {
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: bold;
  color: #409eff;
}

.stat-label {
  font-size: 14px;
  color: #909399;
  margin-top: 8px;
}

/* 页面筛选栏 */
.filter-bar {
  margin-bottom: 16px;
}

.filter-bar .el-form-item {
  margin-bottom: 0;
}

/* 表格操作列 */
.table-actions .el-button + .el-button {
  margin-left: 4px;
}

/* 帮助中心 */
.help-center {
  min-height: calc(100vh - 120px);
}

.help-nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 4px;
  padding: 12px 0;
}

.help-nav-title {
  font-size: 16px;
  font-weight: 600;
  padding: 0 20px 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 4px;
}

.help-nav .el-menu {
  border-right: none;
}

.help-content {
  background: #fff;
  border-radius: 4px;
  padding: 24px 32px 40px;
}

.help-section {
  scroll-margin-top: 20px;
}

.help-section + .help-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #ebeef5;
}

.help-section h1 {
  font-size: 22px;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #409eff;
}

.help-section h2 {
  font-size: 18px;
  margin: 28px 0 14px;
  color: #303133;
}

.help-section h3 {
  font-size: 15px;
  margin: 20px 0 10px;
  color: #606266;
}

.help-section p {
  line-height: 1.8;
  color: #606266;
  margin: 8px 0;
}

.help-section ul, .help-section ol {
  padding-left: 24px;
  color: #606266;
  line-height: 1.8;
}

.help-section li {
  margin: 4px 0;
}

/* 产品弹窗区块卡片样式 */
.product-section-card {
  margin: 16px 0;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e4e7ed;
  border-left: 3px solid #409eff;
  border-radius: 6px;
}

.product-section-header {
  font-size: 14px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 商户入驻表单区块样式 */
.tenant-section {
  margin: 12px 0;
  padding: 16px 16px 4px;
  background: #fafbfc;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
}

.tenant-section-header {
  font-size: 14px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ebeef5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tenant-section-header .section-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.tenant-section--base .section-icon { background: #409eff; }
.tenant-section--sso .section-icon { background: #67c23a; }
.tenant-section--pay .section-icon { background: #e6a23c; }
.tenant-section--channel .section-icon { background: #909399; }

.tenant-section--base { border-left: 3px solid #409eff; }
.tenant-section--sso { border-left: 3px solid #67c23a; }
.tenant-section--pay { border-left: 3px solid #e6a23c; }
.tenant-section--channel { border-left: 3px solid #909399; }
