/* ===== CRRT 管理查询平台 v1 样式 ===== */

/* 容器 */
.crrt-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* 标题栏 */
.crrt-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #38bdf8;
  padding: 0 0 16px 0;
  border-bottom: 1px solid rgba(56,189,248,.2);
  margin-bottom: 20px;
}
.crrt-title-icon {
  font-size: 22px;
}

/* 双列/三列布局 */
.crrt-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.crrt-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .crrt-three-col { grid-template-columns: 1fr 1fr; }
  .crrt-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .crrt-three-col { grid-template-columns: 1fr; }
}

/* 卡片 */
.crrt-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 16px;
}
.crrt-card-head {
  font-size: 15px;
  font-weight: 700;
  color: #38bdf8;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(56,189,248,.15);
  margin-bottom: 12px;
}
.crrt-card.crrt-card-warn .crrt-card-head {
  color: #fb923c;
}

/* 列表 */
.crrt-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.crrt-list > div {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.7;
}
.crrt-list > div b {
  color: #e2e8f0;
  font-weight: 600;
}

/* 标签 */
.crrt-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(251,146,60,.2);
  color: #fb923c;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 600;
}

/* 警示/提示 */
.crrt-warn {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(251,146,60,.1);
  border-left: 3px solid #fb923c;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #fb923c;
  line-height: 1.6;
}
.crrt-info {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(56,189,248,.08);
  border-left: 3px solid #38bdf8;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.6;
}
.crrt-note {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(74,222,128,.08);
  border-left: 3px solid #4ade80;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #86efac;
  line-height: 1.6;
}

/* 时间轴（步骤流程） */
.crrt-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crrt-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.crrt-step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg,#38bdf8,#1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.crrt-step-body {
  flex: 1;
}
.crrt-step-title {
  font-weight: 700;
  font-size: 15px;
  color: #e2e8f0;
  margin-bottom: 8px;
}

/* 表格 */
.crrt-table-wrap {
  overflow-x: auto;
}
.crrt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.crrt-table th {
  background: rgba(56,189,248,.1);
  color: #38bdf8;
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid rgba(56,189,248,.3);
  white-space: nowrap;
}
.crrt-table td {
  padding: 9px 12px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  line-height: 1.6;
}
.crrt-table tr:hover td {
  background: rgba(255,255,255,.03);
}
.crrt-table b {
  color: #e2e8f0;
}

/* 按钮 */
.crrt-btn {
  background: linear-gradient(135deg,#1d4ed8,#2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s,transform .1s;
  margin-top: 4px;
}
.crrt-btn:hover { opacity: .85; transform: translateY(-1px); }
.crrt-btn:active { transform: translateY(0); }

/* 计算表单 */
.crrt-calc-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crrt-calc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.crrt-calc-row label {
  min-width: 180px;
  font-size: 14px;
  color: #e2e8f0;
  font-weight: 500;
}
.crrt-calc-row input,
.crrt-calc-row select {
  flex: 1;
  min-width: 120px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 8px 12px;
  color: #e2e8f0;
  font-size: 14px;
  outline: none;
}
.crrt-calc-row input:focus,
.crrt-calc-row select:focus {
  border-color: #38bdf8;
}

/* 计算结果 */
.crrt-calc-result-box {
  margin-top: 16px;
  background: rgba(56,189,248,.06);
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 10px;
  padding: 16px;
}
.crrt-calc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}
.crrt-calc-item:last-child { border-bottom: none; }
.crrt-calc-val {
  font-weight: 700;
  color: #38bdf8;
  font-size: 16px;
}
.crrt-calc-highlight {
  color: #4ade80;
  font-size: 18px;
}
.crrt-calc-ok { color: #4ade80; }
.crrt-calc-warn { color: #fb923c; }
.crrt-calc-note {
  font-size: 13px;
  color: #e2e8f0;
}

/* 占位/错误提示 */
.crrt-placeholder {
  text-align: center;
  padding: 40px;
  color: #94a3b8;
  font-size: 16px;
}
.crrt-error {
  padding: 20px;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 8px;
  color: #f87171;
  font-size: 14px;
}
