/*
#	Project: codeshare - Engineering with logic, software with soul.
#
#	This is NOT a freeware, use is subject to license terms.
#
#	Website: http://code.phpdisk.com
#
#	Author: Along ( admin@phpdisk.com)
#
#	$Id$
#
#	Copyright (C) 2008-2083 phpdisk Team. All Rights Reserved.
*/

/* 服务条款页：加宽容器 + 分区阅读体验 */
.cs-terms-page {
  background: linear-gradient(
    180deg,
    rgba(13, 110, 253, 0.06) 0%,
    rgba(248, 250, 252, 0.5) 38%,
    #f8fafc 100%
  );
}

.cs-terms-shell {
  max-width: 1100px;
}

.cs-terms-hero {
  padding: 0.5rem 0.75rem 1.25rem;
}

.cs-terms-hero__inner {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.cs-terms-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bs-primary);
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.22);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.cs-terms-badge .bx {
  font-size: 1.1rem;
  opacity: 0.9;
}

.cs-terms-title {
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.cs-terms-lead {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.cs-terms-card {
  border-radius: var(--radius-lg, 0.75rem) !important;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow:
    0 4px 24px rgba(15, 23, 42, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
  background: rgba(255, 255, 255, 0.97);
}

.cs-terms-section + .cs-terms-section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.cs-terms-section__title {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.cs-terms-section__title .bx {
  flex-shrink: 0;
  margin-top: 0.12rem;
  font-size: 1.35rem;
  color: var(--bs-primary);
  opacity: 0.92;
}

.cs-terms-section__body {
  font-size: 0.96rem;
  line-height: 1.75;
  color: #334155;
}

.cs-terms-section__body p:last-child {
  margin-bottom: 0;
}

.cs-terms-section__body p + p {
  margin-top: 0.75rem;
}

.cs-terms-footnote {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md, 0.5rem);
  background: rgba(13, 110, 253, 0.06);
  border: 1px solid rgba(13, 110, 253, 0.14);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
}

.cs-terms-footnote .bx {
  color: var(--bs-primary);
  vertical-align: -0.1em;
  margin-right: 0.25rem;
}

@media (max-width: 575.98px) {
  .cs-terms-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .cs-terms-card .card-body {
    padding: 1.25rem !important;
  }

  .cs-terms-section + .cs-terms-section {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
  }
}
