/* ========== Company & Verification ========== */
/* ========== 公司信息页面 ========== */

/* 面包屑 */
.ci-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
  padding: 16px 24px 0;
}
.ci-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color .2s;
}
.ci-breadcrumb a:hover { color: #e2383e; }
.ci-breadcrumb .sep { margin: 0 2px; }
.ci-breadcrumb .current { color: #333; font-weight: 500; }

/* 页面标题 */
.ci-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
}
.ci-page-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}
.ci-header-actions {
  display: flex;
  gap: 10px;
}

/* 内容区 */
.ci-content {
  padding: 20px 24px;
}

/* 信息卡片 */
.ci-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  margin-bottom: 20px;
  overflow: hidden;
}
.ci-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}
.ci-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ci-card-title .ci-card-icon {
  width: 20px;
  height: 20px;
  color: #e2383e;
}
.ci-card-body {
  padding: 20px;
}

/* 认证状态横幅 */
.ci-auth-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.ci-auth-banner.verified {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
}
.ci-auth-banner.pending {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
}
.ci-auth-banner.unverified {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
}
.ci-auth-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-auth-banner.verified .ci-auth-icon {
  background: #22c55e;
}
.ci-auth-banner.pending .ci-auth-icon {
  background: #f59e0b;
}
.ci-auth-banner.unverified .ci-auth-icon {
  background: #ef4444;
}
.ci-auth-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.ci-auth-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.ci-auth-banner.verified .ci-auth-info h3 { color: #15803d; }
.ci-auth-banner.pending .ci-auth-info h3 { color: #92400e; }
.ci-auth-banner.unverified .ci-auth-info h3 { color: #991b1b; }
.ci-auth-info p {
  font-size: 13px;
  color: #666;
  margin: 0;
}
.ci-auth-action {
  margin-left: auto;
}

/* 信息网格 */
.ci-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.ci-info-item {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
}
.ci-info-item:nth-child(odd) {
  padding-right: 30px;
}
.ci-info-item:nth-child(even) {
  padding-left: 30px;
  border-left: 1px solid #f5f5f5;
}
.ci-info-item:last-child,
.ci-info-item:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}
.ci-info-label {
  width: 110px;
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}
.ci-info-value {
  flex: 1;
  font-size: 13px;
  color: #333;
  line-height: 1.6;
  word-break: break-all;
}
.ci-info-value .tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 3px;
  font-size: 12px;
  margin-left: 6px;
}
.ci-info-value .tag-green {
  background: #dcfce7;
  color: #15803d;
}
.ci-info-value .tag-orange {
  background: #fef3c7;
  color: #92400e;
}
.ci-info-value .tag-red {
  background: #fee2e2;
  color: #991b1b;
}
.ci-info-value .tag-blue {
  background: #dbeafe;
  color: #1e40af;
}

/* 证照信息 */
.ci-licence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ci-licence-card {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.ci-licence-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.ci-licence-img {
  height: 160px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ci-licence-img svg {
  width: 48px;
  height: 48px;
  color: #d1d5db;
}
.ci-licence-img .licence-status {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
}
.ci-licence-img .licence-status.valid {
  background: #dcfce7;
  color: #15803d;
}
.ci-licence-img .licence-status.expiring {
  background: #fef3c7;
  color: #92400e;
}
.ci-licence-img .licence-status.expired {
  background: #fee2e2;
  color: #991b1b;
}
.ci-licence-footer {
  padding: 10px 14px;
}
.ci-licence-name {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}
.ci-licence-date {
  font-size: 12px;
  color: #999;
}

/* 联系人信息表格 */
.ci-contact-table {
  width: 100%;
  border-collapse: collapse;
}
.ci-contact-table th {
  background: #fafafa;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
.ci-contact-table td {
  padding: 12px 14px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
}
.ci-contact-table tr:hover td {
  background: #fafafa;
}
.ci-contact-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2383e, #f87171);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  margin-right: 8px;
  vertical-align: middle;
}

/* 编辑 Modal */
.ci-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.ci-modal-overlay.active {
  display: flex;
}
.ci-modal {
  background: #fff;
  border-radius: 12px;
  width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  animation: ciModalIn .25s ease;
}
@keyframes ciModalIn {
  from { opacity: 0; transform: translateY(-20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ci-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f0f0f0;
}
.ci-modal-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}
.ci-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: all .2s;
}
.ci-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}
.ci-modal-body {
  padding: 20px 24px;
}
.ci-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 24px;
  border-top: 1px solid #f0f0f0;
}

/* 表单 */
.ci-form-group {
  margin-bottom: 18px;
}
.ci-form-group:last-child {
  margin-bottom: 0;
}
.ci-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}
.ci-form-label .required {
  color: #e2383e;
  margin-left: 2px;
}
.ci-form-input,
.ci-form-select,
.ci-form-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 13px;
  color: #333;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  box-sizing: border-box;
}
.ci-form-input:focus,
.ci-form-select:focus,
.ci-form-textarea:focus {
  border-color: #e2383e;
  box-shadow: 0 0 0 3px rgba(226,56,62,.1);
}
.ci-form-input.error,
.ci-form-select.error,
.ci-form-textarea.error {
  border-color: #ef4444;
}
.ci-form-textarea {
  min-height: 80px;
  resize: vertical;
}
.ci-form-select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center;
  padding-right: 32px;
}
.ci-form-hint {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.ci-form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}
.ci-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* 按钮 */
.ci-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.ci-btn svg { width: 16px; height: 16px; }
.ci-btn-primary {
  background: #e2383e;
  color: #fff;
  border-color: #e2383e;
}
.ci-btn-primary:hover { background: #c52e34; border-color: #c52e34; }
.ci-btn-outline {
  background: #fff;
  color: #666;
  border-color: #e0e0e0;
}
.ci-btn-outline:hover { border-color: #e2383e; color: #e2383e; }
.ci-btn-text {
  background: none;
  border: none;
  color: #e2383e;
  padding: 4px 8px;
}
.ci-btn-text:hover { color: #c52e34; }
.ci-btn-sm { padding: 4px 10px; font-size: 12px; }
.ci-btn-success {
  background: #52c41a;
  color: #fff;
  border-color: #52c41a;
}
.ci-btn-success:hover { background: #49b016; border-color: #49b016; }
.ci-btn-danger {
  background: #ff4d4f;
  color: #fff;
  border-color: #ff4d4f;
}
.ci-btn-danger:hover { background: #e63c3e; border-color: #e63c3e; }

/* 时间线 */
.ci-timeline {
  position: relative;
  padding-left: 24px;
}
.ci-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #f0f0f0;
}
.ci-timeline-item {
  position: relative;
  padding-bottom: 18px;
}
.ci-timeline-item:last-child { padding-bottom: 0; }
.ci-timeline-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  background: #fff;
}
.ci-timeline-item.done .ci-timeline-dot {
  background: #22c55e;
  border-color: #22c55e;
}
.ci-timeline-item.done .ci-timeline-dot::after {
  content: '';
  position: absolute;
  left: 3px; top: 1px;
  width: 4px; height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ci-timeline-item.active .ci-timeline-dot {
  background: #e2383e;
  border-color: #e2383e;
  box-shadow: 0 0 0 3px rgba(226,56,62,.2);
}
.ci-timeline-content h4 {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
}
.ci-timeline-content p {
  font-size: 12px;
  color: #999;
  margin: 0;
}

/* 操作记录 */
.ci-record-table {
  width: 100%;
  border-collapse: collapse;
}
.ci-record-table th {
  background: #fafafa;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
.ci-record-table td {
  padding: 10px 14px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
}

/* 响应式 */
@media (max-width: 900px) {
  .ci-info-grid { grid-template-columns: 1fr; }
  .ci-info-item:nth-child(even) { padding-left: 0; border-left: none; }
  .ci-info-item:nth-child(odd) { padding-right: 0; }
  .ci-licence-grid { grid-template-columns: repeat(2, 1fr); }
  .ci-form-row { grid-template-columns: 1fr; }
  .ci-modal { width: 95%; margin: 10px; }
}
@media (max-width: 640px) {
  .ci-licence-grid { grid-template-columns: 1fr; }
  .ci-page-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ci-content { padding: 16px; }
}


/* ===== 企业认证页面 ===== */
.cert-page { display:flex; min-height:100vh; background:#f5f5f5; }

/* 右侧内容 */
.cert-content { flex:1; padding:24px 32px; overflow-y:auto; }

/* 面包屑 */
.cert-breadcrumb { font-size:13px; color:#999; margin-bottom:20px; display:flex; align-items:center; gap:6px; }
.cert-breadcrumb a { color:#666; text-decoration:none; }
.cert-breadcrumb a:hover { color:var(--primary); }
.cert-breadcrumb .sep { color:#ccc; }
.cert-breadcrumb .current { color:#333; font-weight:500; }

/* 认证状态横幅 */
.cert-banner { border-radius:12px; padding:28px 32px; margin-bottom:24px; position:relative; overflow:hidden; }
.cert-banner.pending { background:linear-gradient(135deg,#fff7ed,#ffedd5); border:1px solid #fed7aa; }
.cert-banner.certified { background:linear-gradient(135deg,#f0fdf4,#dcfce7); border:1px solid #bbf7d0; }
.cert-banner.rejected { background:linear-gradient(135deg,#fef2f2,#fecaca); border:1px solid #fca5a5; }
.cert-banner-icon { width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:12px; }
.cert-banner.pending .cert-banner-icon { background:linear-gradient(135deg,#f97316,#ea580c); }
.cert-banner.certified .cert-banner-icon { background:linear-gradient(135deg,#22c55e,#16a34a); }
.cert-banner.rejected .cert-banner-icon { background:linear-gradient(135deg,#ef4444,#dc2626); }
.cert-banner-icon svg { width:24px; height:24px; fill:#fff; }
.cert-banner h2 { font-size:20px; font-weight:600; margin-bottom:6px; }
.cert-banner.pending h2 { color:#9a3412; }
.cert-banner.certified h2 { color:#166534; }
.cert-banner.rejected h2 { color:#991b1b; }
.cert-banner p { font-size:14px; }
.cert-banner.pending p { color:#c2410c; }
.cert-banner.certified p { color:#15803d; }
.cert-banner.rejected p { color:#b91c1c; }
.cert-banner-actions { margin-top:16px; display:flex; gap:12px; }
.cert-banner-decor { position:absolute; right:-20px; top:-20px; width:120px; height:120px; border-radius:50%; opacity:.08; }
.cert-banner.pending .cert-banner-decor { background:#f97316; }
.cert-banner.certified .cert-banner-decor { background:#22c55e; }
.cert-banner.rejected .cert-banner-decor { background:#ef4444; }

/* 认证进度 */
.cert-progress { display:flex; align-items:center; margin-top:20px; padding-top:20px; border-top:1px solid rgba(0,0,0,.08); }
.cert-progress-step { display:flex; align-items:center; gap:8px; font-size:13px; color:#999; }
.cert-progress-step.done { color:#16a34a; }
.cert-progress-step.active { color:var(--primary); font-weight:600; }
.cert-progress-step .dot { width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:600; background:#e5e7eb; color:#999; }
.cert-progress-step.done .dot { background:#22c55e; color:#fff; }
.cert-progress-step.active .dot { background:var(--primary); color:#fff; box-shadow:0 0 0 4px rgba(226,56,62,.2); }
.cert-progress-line { flex:1; height:2px; background:#e5e7eb; margin:0 12px; }
.cert-progress-line.done { background:#22c55e; }

/* 表单卡片 */
.cert-card { background:#fff; border-radius:10px; border:1px solid #e8e8e8; margin-bottom:20px; overflow:hidden; }
.cert-card-header { padding:16px 24px; border-bottom:1px solid #f0f0f0; display:flex; align-items:center; gap:10px; }
.cert-card-header .icon { width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; }
.cert-card-header .icon svg { width:18px; height:18px; }
.cert-card-header h3 { font-size:16px; font-weight:600; color:#333; flex:1; }
.cert-card-header .badge { font-size:12px; padding:2px 10px; border-radius:20px; }
.cert-card-body { padding:24px; }

/* 表单网格 */
.cert-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.cert-form-grid .full { grid-column:1/-1; }
.cert-form-group { display:flex; flex-direction:column; gap:6px; }
.cert-form-group label { font-size:13px; font-weight:500; color:#555; display:flex; align-items:center; gap:4px; }
.cert-form-group label .req { color:var(--primary); }
.cert-form-group input,
.cert-form-group select,
.cert-form-group textarea {
  padding:10px 14px; border:1px solid #d9d9d9; border-radius:6px; font-size:14px; color:#333;
  transition:border-color .2s,box-shadow .2s; background:#fff; outline:none;
}
.cert-form-group input:focus,
.cert-form-group select:focus,
.cert-form-group textarea:focus {
  border-color:var(--primary); box-shadow:0 0 0 3px rgba(226,56,62,.1);
}
.cert-form-group input.error,
.cert-form-group select.error,
.cert-form-group textarea.error { border-color:#ef4444; }
.cert-form-group input:read-only { background:#f9fafb; color:#888; cursor:not-allowed; }
.cert-form-group textarea { resize:vertical; min-height:80px; }
.cert-form-group .hint { font-size:12px; color:#999; }
.cert-form-group .error-msg { font-size:12px; color:#ef4444; display:none; }
.cert-form-group .error-msg.show { display:block; }

/* 文件上传 */
.cert-upload-area { border:2px dashed #d9d9d9; border-radius:8px; padding:32px; text-align:center; cursor:pointer; transition:all .2s; position:relative; }
.cert-upload-area:hover { border-color:var(--primary); background:rgba(226,56,62,.02); }
.cert-upload-area input[type="file"] { display:none; }
.cert-upload-icon { margin-bottom:8px; }
.cert-upload-icon svg { width:40px; height:40px; color:#bbb; }
.cert-upload-text { font-size:14px; color:#666; margin-bottom:4px; }
.cert-upload-hint { font-size:12px; color:#999; }
.cert-upload-preview { display:flex; align-items:center; gap:12px; padding:12px; background:#f9fafb; border-radius:8px; margin-top:12px; }
.cert-upload-preview .file-icon { width:40px; height:40px; background:linear-gradient(135deg,#3b82f6,#2563eb); border-radius:8px; display:flex; align-items:center; justify-content:center; }
.cert-upload-preview .file-icon svg { width:20px; height:20px; fill:#fff; }
.cert-upload-preview .file-info { flex:1; }
.cert-upload-preview .file-name { font-size:13px; color:#333; font-weight:500; }
.cert-upload-preview .file-size { font-size:12px; color:#999; }
.cert-upload-preview .remove-btn { width:28px; height:28px; border-radius:50%; border:none; background:#fee2e2; color:#ef4444; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:16px; }
.cert-upload-preview .remove-btn:hover { background:#fecaca; }

/* 证照列表 */
.cert-license-list { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.cert-license-item { border:1px solid #e8e8e8; border-radius:8px; padding:16px; }
.cert-license-item .license-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.cert-license-item .license-name { font-size:14px; font-weight:600; color:#333; }
.cert-license-item .license-status { font-size:12px; padding:2px 8px; border-radius:4px; }
.cert-license-item .license-status.required { background:#fef2f2; color:#ef4444; }
.cert-license-item .license-status.uploaded { background:#f0fdf4; color:#16a34a; }
.cert-license-item .license-status.optional { background:#f0f9ff; color:#2563eb; }

/* 协议勾选 */
.cert-agreement { display:flex; align-items:flex-start; gap:8px; padding:16px 24px; background:#fafafa; border-radius:8px; margin-top:20px; }
.cert-agreement input[type="checkbox"] { margin-top:2px; accent-color:var(--primary); width:16px; height:16px; }
.cert-agreement label { font-size:13px; color:#666; line-height:1.6; }
.cert-agreement label a { color:var(--primary); text-decoration:none; }
.cert-agreement label a:hover { text-decoration:underline; }

/* 提交栏 */
.cert-submit-bar { background:#fff; border-radius:10px; border:1px solid #e8e8e8; padding:20px 24px; display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.cert-submit-bar .tips { font-size:13px; color:#999; }
.cert-submit-bar .tips span { color:var(--primary); font-weight:500; }
.cert-submit-btns { display:flex; gap:12px; }
.cert-btn { padding:10px 28px; border-radius:6px; font-size:14px; font-weight:500; cursor:pointer; border:1px solid #d9d9d9; background:#fff; color:#666; transition:all .2s; }
.cert-btn:hover { border-color:#999; }
.cert-btn-primary { background:var(--primary); color:#fff; border-color:var(--primary); }
.cert-btn-primary:hover { background:#c62828; border-color:#c62828; }
.cert-btn-outline { background:#fff; color:var(--primary); border-color:var(--primary); }
.cert-btn-outline:hover { background:rgba(226,56,62,.06); }

/* 提示框 */
.cert-tip { display:flex; align-items:flex-start; gap:10px; padding:12px 16px; border-radius:8px; margin-bottom:20px; font-size:13px; line-height:1.6; }
.cert-tip.info { background:#eff6ff; border:1px solid #bfdbfe; color:#1e40af; }
.cert-tip.warn { background:#fffbeb; border:1px solid #fde68a; color:#92400e; }
.cert-tip svg { width:18px; height:18px; flex-shrink:0; margin-top:1px; }

/* 响应式 */
@media (max-width:900px) {
  .cert-content { padding:16px; }
  .cert-form-grid { grid-template-columns:1fr; }
  .cert-license-list { grid-template-columns:1fr; }
  .cert-submit-bar { flex-direction:column; gap:12px; }
  .cert-submit-btns { width:100%; }
  .cert-submit-btns .cert-btn { flex:1; text-align:center; }
}

/* ========== 认证列表页 ========== */
.cl-page { display: flex; min-height: 100vh; background: #f5f5f5; }

/* 右侧主区域 */
.cl-main { flex: 1; padding: 20px 24px; overflow-y: auto; }

/* 面包屑 */
.cl-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #999; margin-bottom: 16px; }
.cl-breadcrumb a { color: #666; text-decoration: none; transition: color .2s; }
.cl-breadcrumb a:hover { color: var(--primary, #e2383e); }
.cl-breadcrumb span { color: #333; }

/* 统计卡片 */
.cl-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px; }
.cl-stat-card { background: #fff; border-radius: 8px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s; cursor: default; }
.cl-stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.cl-stat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cl-stat-icon svg { width: 22px; height: 22px; fill: #fff; }
.cl-stat-icon.cl-si-all { background: linear-gradient(135deg, #e2383e, #ff6b6b); }
.cl-stat-icon.cl-si-pass { background: linear-gradient(135deg, #52c41a, #95de64); }
.cl-stat-icon.cl-si-review { background: linear-gradient(135deg, #fa8c16, #ffd666); }
.cl-stat-icon.cl-si-reject { background: linear-gradient(135deg, #ff4d4f, #ff9c9c); }
.cl-stat-icon.cl-si-pending { background: linear-gradient(135deg, #1890ff, #69c0ff); }
.cl-stat-info h4 { font-size: 22px; font-weight: 700; color: #333; margin: 0; line-height: 1.2; }
.cl-stat-info p { font-size: 12px; color: #999; margin: 2px 0 0; }

/* 工具栏 */
.cl-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.cl-toolbar-left { display: flex; align-items: center; gap: 10px; }
.cl-toolbar-right { display: flex; align-items: center; gap: 10px; }
.cl-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 6px; font-size: 13px; cursor: pointer; border: 1px solid #d9d9d9; background: #fff; color: #333; transition: all .2s; white-space: nowrap; }
.cl-btn:hover { border-color: #e2383e; color: #e2383e; }
.cl-btn-primary { background: #e2383e; color: #fff; border-color: #e2383e; }
.cl-btn-primary:hover { background: #c62a2f; border-color: #c62a2f; color: #fff; }
.cl-btn svg { width: 14px; height: 14px; fill: currentColor; }
.cl-search { display: flex; align-items: center; border: 1px solid #d9d9d9; border-radius: 6px; overflow: hidden; background: #fff; transition: border-color .2s; }
.cl-search:focus-within { border-color: #e2383e; box-shadow: 0 0 0 2px rgba(226,56,62,.1); }
.cl-search input { border: none; outline: none; padding: 7px 12px; font-size: 13px; width: 220px; }
.cl-search-btn { padding: 7px 14px; background: #e2383e; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; }
.cl-search-btn:hover { background: #c62a2f; }
.cl-search-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* 筛选栏 */
.cl-filter { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cl-filter-select { padding: 7px 28px 7px 10px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; color: #333; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") right 10px center no-repeat; appearance: none; cursor: pointer; outline: none; transition: border-color .2s; }
.cl-filter-select:focus { border-color: #e2383e; }
.cl-filter-date { padding: 7px 10px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; color: #333; outline: none; transition: border-color .2s; }
.cl-filter-date:focus { border-color: #e2383e; }
.cl-filter-sep { color: #ccc; font-size: 13px; }

/* 表格 */
.cl-table-wrap { background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.05); overflow: hidden; }
.cl-table { width: 100%; border-collapse: collapse; }
.cl-table thead { background: #fafafa; }
.cl-table th { padding: 12px 14px; font-size: 13px; font-weight: 600; color: #666; text-align: left; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
.cl-table td { padding: 14px; font-size: 13px; color: #333; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.cl-table tbody tr:hover { background: #fff8f8; }
.cl-table tbody tr:last-child td { border-bottom: none; }

/* 复选框 */
.cl-checkbox { width: 16px; height: 16px; accent-color: #e2383e; cursor: pointer; }

/* 企业信息列 */
.cl-company-cell { display: flex; align-items: center; gap: 12px; }
.cl-company-avatar { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0; }
.cl-company-avatar.ca-1 { background: linear-gradient(135deg, #e2383e, #ff6b6b); }
.cl-company-avatar.ca-2 { background: linear-gradient(135deg, #1890ff, #69c0ff); }
.cl-company-avatar.ca-3 { background: linear-gradient(135deg, #52c41a, #95de64); }
.cl-company-avatar.ca-4 { background: linear-gradient(135deg, #722ed1, #b37feb); }
.cl-company-avatar.ca-5 { background: linear-gradient(135deg, #fa8c16, #ffd666); }
.cl-company-avatar.ca-6 { background: linear-gradient(135deg, #13c2c2, #5cdbd3); }
.cl-company-avatar.ca-7 { background: linear-gradient(135deg, #eb2f96, #ff85c0); }
.cl-company-info h4 { font-size: 13px; font-weight: 600; color: #333; margin: 0; line-height: 1.4; }
.cl-company-info p { font-size: 12px; color: #999; margin: 2px 0 0; }

/* 状态标签 */
.cl-status { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.cl-status-dot { width: 6px; height: 6px; border-radius: 50%; }
.cl-status-pass { background: #f6ffed; color: #52c41a; }
.cl-status-pass .cl-status-dot { background: #52c41a; }
.cl-status-review { background: #fff7e6; color: #fa8c16; }
.cl-status-review .cl-status-dot { background: #fa8c16; }
.cl-status-reject { background: #fff2f0; color: #ff4d4f; }
.cl-status-reject .cl-status-dot { background: #ff4d4f; }
.cl-status-pending { background: #e6f7ff; color: #1890ff; }
.cl-status-pending .cl-status-dot { background: #1890ff; }
.cl-status-expired { background: #f5f5f5; color: #999; }
.cl-status-expired .cl-status-dot { background: #999; }

/* 认证类型标签 */
.cl-cert-type { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 500; }
.cl-cert-type.ct-primary { background: #fff1f0; color: #e2383e; }
.cl-cert-type.ct-supplier { background: #e6f7ff; color: #1890ff; }
.cl-cert-type.ct-agent { background: #f9f0ff; color: #722ed1; }

/* 操作链接 */
.cl-actions { display: flex; align-items: center; gap: 8px; }
.cl-action-link { color: #e2383e; text-decoration: none; font-size: 13px; cursor: pointer; transition: color .2s; white-space: nowrap; }
.cl-action-link:hover { color: #c62a2f; text-decoration: underline; }
.cl-action-link.disabled { color: #ccc; cursor: not-allowed; }
.cl-action-link.disabled:hover { text-decoration: none; }
.cl-action-sep { color: #e8e8e8; }

/* 批量操作栏 */
.cl-batch-bar { display: none; align-items: center; gap: 12px; padding: 10px 16px; background: linear-gradient(135deg, #fff5f5, #fee2e2); border-radius: 8px; margin-bottom: 12px; font-size: 13px; color: #666; }
.cl-batch-bar.show { display: flex; }
.cl-batch-bar span { color: #e2383e; font-weight: 600; }
.cl-batch-btn { padding: 5px 14px; border-radius: 4px; font-size: 12px; cursor: pointer; border: 1px solid #d9d9d9; background: #fff; color: #333; transition: all .2s; }
.cl-batch-btn:hover { border-color: #e2383e; color: #e2383e; }
.cl-batch-btn.danger { color: #ff4d4f; border-color: #ffccc7; }
.cl-batch-btn.danger:hover { background: #ff4d4f; color: #fff; border-color: #ff4d4f; }

/* 进度标签 */
.cl-progress { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.cl-progress-bar { width: 60px; height: 4px; background: #f0f0f0; border-radius: 2px; overflow: hidden; }
.cl-progress-fill { height: 100%; border-radius: 2px; transition: width .3s; }
.cl-progress-fill.pf-green { background: #52c41a; }
.cl-progress-fill.pf-orange { background: #fa8c16; }
.cl-progress-fill.pf-red { background: #ff4d4f; }
.cl-progress-fill.pf-blue { background: #1890ff; }

/* 有效期列 */
.cl-expire { font-size: 13px; }
.cl-expire.expiring { color: #fa8c16; font-weight: 500; }
.cl-expire.expired { color: #ff4d4f; }

/* 分页 */
.cl-pagination { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.cl-pagination-info { font-size: 13px; color: #999; }
.cl-pagination-btns { display: flex; align-items: center; gap: 4px; }
.cl-page-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; color: #333; cursor: pointer; background: #fff; transition: all .2s; }
.cl-page-btn:hover { border-color: #e2383e; color: #e2383e; }
.cl-page-btn.active { background: #e2383e; color: #fff; border-color: #e2383e; }
.cl-page-btn.disabled { color: #ccc; cursor: not-allowed; border-color: #f0f0f0; }

/* 删除确认 Modal */
.cl-modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.45); z-index: 1000; align-items: center; justify-content: center; }
.cl-modal-overlay.show { display: flex; }
.cl-modal { background: #fff; border-radius: 10px; width: 420px; max-width: 90%; box-shadow: 0 8px 30px rgba(0,0,0,.15); animation: cl-modal-in .25s; }
@keyframes cl-modal-in { from { opacity: 0; transform: scale(.9) translateY(-10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.cl-modal-header { padding: 18px 20px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; justify-content: space-between; }
.cl-modal-header h3 { font-size: 16px; font-weight: 600; color: #333; margin: 0; }
.cl-modal-close { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: none; background: none; cursor: pointer; border-radius: 4px; color: #999; transition: all .2s; }
.cl-modal-close:hover { background: #f5f5f5; color: #333; }
.cl-modal-body { padding: 20px; }
.cl-modal-footer { padding: 14px 20px; border-top: 1px solid #f0f0f0; display: flex; justify-content: flex-end; gap: 10px; }

/* Toast */
.cl-toast { position: fixed; top: 24px; right: 24px; z-index: 2000; padding: 12px 20px; border-radius: 6px; font-size: 13px; color: #fff; transform: translateX(120%); transition: transform .3s; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.cl-toast.show { transform: translateX(0); }
.cl-toast.success { background: #52c41a; }
.cl-toast.error { background: #ff4d4f; }
.cl-toast.warning { background: #fa8c16; }

/* 认证详情 Modal */
.cl-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cl-detail-item { display: flex; flex-direction: column; gap: 3px; }
.cl-detail-item label { font-size: 12px; color: #999; }
.cl-detail-item span { font-size: 13px; color: #333; }
.cl-detail-item.full { grid-column: 1 / -1; }
.cl-detail-timeline { margin-top: 16px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.cl-detail-timeline h4 { font-size: 14px; font-weight: 600; color: #333; margin: 0 0 12px; }
.cl-timeline { display: flex; flex-direction: column; gap: 0; }
.cl-timeline-item { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.cl-timeline-item:last-child { padding-bottom: 0; }
.cl-timeline-item::before { content: ''; position: absolute; left: 5px; top: 14px; bottom: 0; width: 1px; background: #f0f0f0; }
.cl-timeline-item:last-child::before { display: none; }
.cl-timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: #e2383e; flex-shrink: 0; margin-top: 3px; position: relative; z-index: 1; }
.cl-timeline-dot.done { background: #52c41a; }
.cl-timeline-dot.current { background: #fa8c16; box-shadow: 0 0 0 3px rgba(250,140,22,.2); }
.cl-timeline-content h5 { font-size: 13px; font-weight: 500; color: #333; margin: 0; }
.cl-timeline-content p { font-size: 12px; color: #999; margin: 2px 0 0; }

.cl-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

/* 响应式 */
@media (max-width: 1200px) {
  .cl-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .cl-stats { grid-template-columns: repeat(2, 1fr); }
  .cl-table { font-size: 12px; }
  .cl-table th, .cl-table td { padding: 10px 8px; }
  .cl-search input { width: 160px; }
}
@media (max-width: 640px) {
  .cl-stats { grid-template-columns: 1fr; }
  .cl-toolbar { flex-direction: column; align-items: stretch; }
  .cl-toolbar-left, .cl-toolbar-right { flex-wrap: wrap; }
  .cl-filter { flex-direction: column; align-items: stretch; }
  .cl-table-wrap { overflow-x: auto; }
}
