/* 后台内容区表格字体加大 2 号 */
.content .table,
.content .bootstrap-table .table,
.content .bootstrap-table .table > thead > tr > th,
.content .bootstrap-table .table > tbody > tr > td,
.content .bootstrap-table .table > tfoot > tr > td,
.content .fixed-table-container thead th .th-inner {
  font-size: 16px;
}

.content .bootstrap-table .table:not(.table-condensed) > tbody > tr > th,
.content .bootstrap-table .table:not(.table-condensed) > tfoot > tr > th,
.content .bootstrap-table .table:not(.table-condensed) > thead > tr > td,
.content .bootstrap-table .table:not(.table-condensed) > tbody > tr > td,
.content .bootstrap-table .table:not(.table-condensed) > tfoot > tr > td {
  height: 52px;
}

.content .toolbar .btn,
.content .bootstrap-table .btn {
  font-size: 14px;
}

.content .bootstrap-table .btn-xs {
  font-size: 14px;
  padding: 3px 8px;
}

.content .pagination,
.content .pagination-info,
.content .fixed-table-pagination,
.content .page-list {
  font-size: 14px;
}

.content .form-control {
  font-size: 14px;
}

/* Layer 弹窗标题 */
.layui-layer {
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.28) !important;
}
.layui-layer-title {
  background: linear-gradient(90deg, #1c2128 0%, #2a313c 100%) !important;
  color: #f6d658 !important;
  border-bottom: 0 !important;
  height: 50px !important;
  line-height: 50px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 0 48px 0 20px !important;
}
.layui-layer-setwin {
  top: 16px !important;
}
.layui-layer-page .layui-layer-content {
  background: #f3f5f8;
}

/* 秒合约订单弹窗 */
.gsh-dialog {
  margin: -15px;
  background: #f3f5f8;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2937;
  padding-bottom: 8px;
}
.gsh-hero {
  padding: 22px 24px 18px;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(246, 214, 88, 0.22), transparent 55%),
    linear-gradient(135deg, #1c2128 0%, #2a313c 100%);
}
.gsh-dialog-force .gsh-hero {
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(255, 107, 122, 0.28), transparent 55%),
    linear-gradient(135deg, #3b1d24 0%, #2a313c 100%);
}
.gsh-hero-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  color: #f6d658;
  background: rgba(246, 214, 88, 0.12);
  border: 1px solid rgba(246, 214, 88, 0.28);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.gsh-dialog-force .gsh-hero-kicker {
  color: #ffb4bc;
  background: rgba(255, 107, 122, 0.12);
  border-color: rgba(255, 107, 122, 0.3);
}
.gsh-hero-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.gsh-hero-sub {
  margin-top: 6px;
  color: #9aa3af;
  font-size: 13px;
  word-break: break-all;
}
.gsh-body {
  padding: 16px 18px 88px;
}
.gsh-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.gsh-stat {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(28, 33, 40, 0.04);
}
.gsh-stat span {
  display: block;
  color: #8a94a6;
  font-size: 12px;
  margin-bottom: 4px;
}
.gsh-stat strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}
.gsh-tag {
  font-style: normal;
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
}
.gsh-tag-up { background: #ffe8ea; color: #d93025; }
.gsh-tag-down { background: #e8f8ef; color: #0f9d58; }
.gsh-tag-ok { background: #e8f8ef; color: #0f9d58; }
.gsh-tag-wait { background: #fff4d6; color: #b58100; }
.gsh-alert {
  background: #fff8e8;
  border: 1px solid #f3e1a8;
  color: #8a6d1d;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 12px;
}
.gsh-alert-danger {
  background: #fff1f2;
  border-color: #ffc9cf;
  color: #b42318;
}
.gsh-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  padding: 14px 16px 8px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(28, 33, 40, 0.04);
}
.gsh-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
}
.gsh-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.gsh-field {
  margin-bottom: 14px;
}
.gsh-field-full {
  grid-column: 1 / -1;
}
.gsh-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 6px;
}
.gsh-dialog .form-control {
  height: 40px;
  border-radius: 10px;
  border-color: #dbe3ee;
  box-shadow: none;
  font-size: 14px;
}
.gsh-dialog .form-control:focus {
  border-color: #f6d658;
  box-shadow: 0 0 0 3px rgba(246, 214, 88, 0.25);
}
.gsh-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gsh-pills .radio,
.gsh-pills .iradio,
.gsh-pills .icheckbox,
.gsh-pills ins {
  display: none !important;
}
.gsh-pill {
  position: relative;
  margin: 0 !important;
  font-weight: 400 !important;
  padding: 0 !important;
  cursor: pointer;
}
.gsh-pill input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  pointer-events: none;
}
.gsh-pill span {
  display: inline-block;
  min-width: 64px;
  text-align: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  line-height: 1.2;
}
.gsh-pill input:checked + span,
.gsh-pill.is-active span {
  background: #f6d658;
  border-color: #f6d658;
  color: #1c2128;
  box-shadow: 0 0 0 3px rgba(246, 214, 88, 0.2);
}
.gsh-dialog.form-horizontal .form-group {
  margin-left: 0;
  margin-right: 0;
}
.gsh-dialog .layer-footer,
body .layer-footer {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #edf0f4;
  padding: 12px 18px !important;
  text-align: center !important;
  margin: 0 !important;
  padding-left: 18px !important;
}
.content .bootstrap-table .btn-gsh-op {
  border: 0 !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  padding: 5px 10px !important;
  margin: 0 4px 4px 0 !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
}
.content .bootstrap-table .btn-gsh-win {
  background: #ef4444 !important;
  color: #fff !important;
}
.content .bootstrap-table .btn-gsh-lose {
  background: #16a34a !important;
  color: #fff !important;
}
.content .bootstrap-table .btn-gsh-edit {
  background: #3b82f6 !important;
  color: #fff !important;
}
.content .bootstrap-table .btn-gsh-force {
  background: #e11d48 !important;
  color: #fff !important;
}
.gsh-btn {
  min-width: 120px;
  height: 40px;
  line-height: 38px;
  padding: 0 18px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.gsh-btn-gold {
  background: #f6d658 !important;
  color: #1c2128 !important;
}
.gsh-btn-gold:hover,
.gsh-btn-gold:focus {
  background: #efc83a !important;
  color: #1c2128 !important;
}
.gsh-btn-danger {
  background: #e11d48 !important;
  color: #fff !important;
}
.gsh-btn-danger:hover,
.gsh-btn-danger:focus {
  background: #be123c !important;
  color: #fff !important;
}
.gsh-btn-ghost {
  background: #eef2f6 !important;
  color: #4b5563 !important;
  min-width: 88px;
}
.gsh-btn.disabled,
.gsh-btn[disabled] {
  opacity: 0.65;
}

/* 客户操作日志：附加说明过长换行，不撑开表格 */
.bootstrap-table .table-nowrap td.actionlog-extra,
.bootstrap-table td.actionlog-extra {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 420px;
  min-width: 220px;
  vertical-align: top;
}
.actionlog-extra-text {
  display: block;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.55;
  max-width: 420px;
}
