/* 技术支持页样式 — 浅色系 */
/* 从 solution.html 内联样式提取并优化 */

body.solution-page .header-and-banner-con {
  overflow: hidden;
}

.solution-hero {
  position: relative;
  overflow: hidden;
  padding-top: 36px;
}
.solution-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sol-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  animation: solBlob 16s ease-in-out infinite;
}
.sol-blob--a {
  width: 340px;
  height: 340px;
  left: -100px;
  top: -60px;
  background: radial-gradient(circle, rgba(0, 160, 233, 0.22), transparent 70%);
}
.sol-blob--b {
  width: 260px;
  height: 260px;
  right: 4%;
  top: 20px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.14), transparent 70%);
  animation-delay: -5s;
}
.sol-blob--c {
  width: 180px;
  height: 180px;
  left: 42%;
  bottom: -40px;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.12), transparent 70%);
  animation-delay: -9s;
}
.solution-hero .container,
.solution-hero > section {
  position: relative;
  z-index: 1;
}
.sol-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #00a0e9;
  margin-bottom: 8px;
}
.solution-hero-title h1 {
  position: relative;
  display: inline-block;
}
.solution-hero-title h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #00b4ff, #0066cc);
  animation: solLine 0.9s ease 0.15s both;
}
.solution-doc .form-title-con h2 {
  position: relative;
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
}
.solution-doc .form-title-con h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #00b4ff, #0066cc);
  animation: solLine 0.9s ease 0.25s both;
}

.solution-doc .solution-product-title {
  color: #0066cc;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.45em;
  border-bottom: none;
  background: linear-gradient(90deg, #00a0e9, transparent 55%);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
}

.solution-doc .solution-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
  padding-left: 0.75rem;
  border-left: 4px solid #00a0e9;
  position: relative;
}

.solution-doc .table-wrap {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(0, 180, 255, 0.55), rgba(0, 102, 204, 0.12), rgba(0, 180, 255, 0.4)) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 10px 36px rgba(0, 70, 140, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: solTableIn 0.55s ease both;
}
.solution-doc .table-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7ef6ff, #00b4ff, transparent);
  opacity: 0.85;
  animation: solScan 4.8s linear infinite;
  pointer-events: none;
  z-index: 3;
}

.solution-doc .solution-table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.55;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  border-radius: 13px 13px 0 0;
}

.solution-doc .solution-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 1%;
  white-space: nowrap;
  padding: 13px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: #0066cc;
}

.solution-doc .solution-table thead th:last-child {
  border-right: none;
}

.solution-doc .solution-table thead tr:first-child th:first-child {
  border-top-left-radius: 12px;
}

.solution-doc .solution-table thead tr:first-child th:last-child {
  border-top-right-radius: 12px;
}

.solution-doc .solution-table tbody td {
  width: 1%;
  white-space: nowrap;
  padding: 13px 10px;
  text-align: center;
  vertical-align: middle;
  color: #2c3a47;
  border-bottom: 1px solid #e4edf4;
  border-right: 1px solid rgba(0, 80, 130, 0.05);
  transition: background-color 0.22s ease, color 0.22s ease;
}

.solution-doc .solution-table thead th:nth-child(4),
.solution-doc .solution-table tbody td:nth-child(4),
.solution-doc .solution-table thead th:last-child,
.solution-doc .solution-table tbody td:last-child {
  width: auto;
  min-width: 10em;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}
body.is-solution-admin .solution-doc .solution-table thead th:last-child,
body.is-solution-admin .solution-doc .solution-table tbody td.sol-admin-actions {
  width: 1%;
  min-width: 0;
  white-space: nowrap;
}
body.is-solution-admin .solution-doc .solution-table thead th:nth-last-child(2),
body.is-solution-admin .solution-doc .solution-table tbody td:nth-last-child(2) {
  width: auto;
  min-width: 10em;
  white-space: normal;
  word-break: break-word;
}

.solution-doc .solution-table tbody td:last-child {
  border-right: none;
}

.solution-doc .solution-table tbody tr:nth-child(even) td {
  background: #f4f9fd;
}

.solution-doc .solution-table tbody tr:hover td {
  background: #eef6fb;
}

.solution-doc .solution-table tbody tr:last-child td {
  border-bottom: none;
}

.solution-doc .solution-table tbody td:first-child {
  font-weight: 700;
  color: #0077cc;
}

.solution-doc .solution-table tbody td a {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #0066cc;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  background: rgba(0, 160, 233, 0.1);
  border: 1px solid rgba(0, 160, 233, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.solution-doc .solution-table tbody td a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #00b4ff, #0066cc);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0, 120, 210, 0.28);
  transform: translateY(-1px);
}

.solution-doc .solution-table thead th.sol-col-indent,
.solution-doc .solution-table tbody td.sol-col-indent {
  width: auto;
  white-space: normal;
  text-align: left;
  text-indent: 2em;
}

@keyframes solBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -14px) scale(1.08); }
}
@keyframes solLine {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes solScan {
  0% { transform: translateX(-20%); }
  100% { transform: translateX(280%); }
}
@keyframes solTableIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sol-blob,
  .solution-hero-title h1::after,
  .solution-doc .form-title-con h2::after,
  .solution-doc .table-wrap,
  .solution-doc .table-wrap::before {
    animation: none;
  }
  .solution-doc .solution-table tbody td a:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  .solution-doc .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .solution-doc .solution-table {
    font-size: 13px;
    min-width: 640px;
  }

  .solution-doc .solution-table thead th,
  .solution-doc .solution-table tbody td {
    padding: 10px 8px;
  }

  .solution-doc .solution-table tbody td a {
    max-width: 160px;
  }
}

.form-title-con {
  position: relative;
}

.sol-admin-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-left: 12px;
  border: 1px solid #c5d4e0;
  border-radius: 8px;
  background: #fff;
  color: #1a4d6d;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 40, 80, 0.06);
}

.sol-admin-entry svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.header-con .sol-admin-entry {
  color: #1a4d6d;
}

body.solution-page .header-con .sol-admin-entry {
  color: #1a4d6d;
}

.sol-admin-entry:hover {
  color: #0066cc;
  border-color: #0066cc;
  background: #f3f8fc;
}

.sol-admin-exit {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  border: 1px solid #c0392b;
  background: #fff;
  color: #c0392b;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.3;
}

.header-con nav.navbar > .sol-admin-entry,
.header-con nav.navbar > .sol-admin-exit {
  margin-left: 10px;
  z-index: 3;
  position: relative;
}

.sol-add-product {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.sol-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.35em;
  border-bottom: 2px solid #00a0e9;
}

.sol-product-head .solution-product-title {
  margin: 0;
  padding: 0;
  border: none;
  flex: 1;
}

.sol-pkg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: nowrap;
}

.sol-pkg-head .solution-subtitle {
  margin: 0;
  flex: 1;
}

.sol-product-admin {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sol-pkg-admin {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}

.sol-empty-products {
  color: #7a90a0;
  text-align: center;
  padding: 2rem 0;
}

@media (max-width: 767px) {
  .sol-add-product {
    position: static;
    transform: none;
    margin: 10px 0 0;
  }
}

.sol-table-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 0.5rem;
}

.sol-row-btn {
  border: 1px solid #c5d8e6;
  background: #fff;
  color: #1a4d6d;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  margin: 0 4px;
  cursor: pointer;
}

.sol-row-btn.is-primary {
  background: #00a0e9;
  border-color: #00a0e9;
  color: #fff;
}

.sol-row-btn.is-danger {
  color: #c0392b;
  border-color: #f0c2bc;
}

.sol-admin-actions {
  white-space: nowrap;
}

#sol-admin-bar {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #0d3a55;
  color: #fff;
  font-size: 13px;
}

#sol-admin-bar span {
  flex: 1 1 280px;
}

#sol-toast {
  position: fixed;
  right: 20px;
  bottom: 72px;
  z-index: 60;
  background: #123;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  max-width: 360px;
  font-size: 13px;
}

#sol-modal,
#sol-login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 28, 44, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#sol-modal[hidden],
#sol-login-modal[hidden],
#sol-toast[hidden],
#sol-admin-bar[hidden],
.sol-admin-entry[hidden],
.sol-admin-exit[hidden] {
  display: none !important;
}

.sol-modal-dialog {
  width: min(560px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px 16px;
}

.sol-modal-dialog h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.sol-field > span:first-child {
  display: block;
  font-size: 13px;
  color: #4a6a7c;
  margin-bottom: 4px;
}

.sol-field-hint {
  font-size: 12px;
  color: #c0392b;
  margin: 0 0 8px;
  line-height: 1.5;
}

.sol-field-way {
  display: block;
  font-size: 12px;
  color: #1a4d6d;
  font-weight: 600;
  margin: 8px 0 4px;
}

.sol-field input {
  width: 100%;
  border: 1px solid #d3e2ec;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 6px;
}

.sol-field input[type="date"] {
  min-height: 40px;
  color: #1a4d6d;
  cursor: pointer;
}

.sol-upload-status {
  margin: 4px 0 8px;
}

.sol-upload-status[hidden] {
  display: none !important;
}

.sol-upload-bar {
  height: 8px;
  background: #e4edf4;
  border-radius: 99px;
  overflow: hidden;
}

.sol-upload-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00a0e9, #0066cc);
  border-radius: 99px;
  transition: width 0.15s linear;
}

.sol-upload-status.is-done .sol-upload-bar-fill {
  background: #27ae60;
}

.sol-upload-status.is-error .sol-upload-bar-fill {
  background: #c0392b;
}

.sol-upload-text {
  margin: 6px 0 0;
  font-size: 12px;
  color: #1a4d6d;
}

.sol-upload-status.is-error .sol-upload-text {
  color: #c0392b;
}

.sol-file-label {
  display: block;
  font-size: 13px;
  color: #1a4d6d;
  margin-top: 2px;
}

.sol-file {
  display: block;
  margin-top: 4px;
  padding: 0;
  border: none;
}

.sol-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.sol-login-hint {
  font-size: 12px;
  color: #7a90a0;
  margin: 0 0 8px;
}

body.sol-modal-open {
  overflow: hidden;
}
