body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #243247;
  background:
    radial-gradient(circle at top right, rgba(22, 119, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
}

.line-spacing {
  padding-top: 80px;
}

.sample-hero {
  padding: 82px 0 44px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 36, 79, 0.88) 0%, rgba(10, 36, 79, 0.62) 52%, rgba(10, 36, 79, 0.4) 100%),
    url("/img/product/productbackground.png") center/cover no-repeat;
}

.sample-hero-title {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
}

.sample-breadcrumb {
  margin-top: 14px;
  font-size: 14px;
}

.sample-breadcrumb,
.sample-breadcrumb a,
.sample-breadcrumb .current {
  color: #fff;
}

.sample-breadcrumb span {
  margin: 0 8px;
}

.sample-page {
  padding: 34px 0 70px;
}

.sample-layout {
  display: flex;
  justify-content: center;
}

.sample-sidebar,
.sample-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dfebf8;
  border-radius: 28px;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.sample-sidebar {
  overflow: hidden;
}

.sample-sidebar-title {
  padding: 24px 22px;
  background: linear-gradient(135deg, #2487ff 0%, #1763cf 100%);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.sample-sidebar-link {
  display: block;
  padding: 16px 22px;
  border-top: 1px solid #edf3fb;
  color: #5e6f86;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}

.sample-sidebar-link.active,
.sample-sidebar-link:hover {
  background: #f4f8ff;
  color: #1763cf;
  text-decoration: none;
}

.sample-panel {
  width: 100%;
  max-width: 980px;
  padding: 28px 34px 32px;
}

.sample-panel-header h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #243247;
}

.sample-panel-header p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #718096;
}

.sample-form {
  margin-top: 24px;
  border-top: 2px solid #2e8cff;
}

.sample-form-row {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eef3f9;
}

.sample-label {
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #506179;
}

.sample-label.required:before {
  content: "*";
  margin-right: 4px;
  color: #ff6b57;
}

.sample-control {
  min-width: 0;
}

.sample-input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 40px;
  padding: 9px 12px;
  border: 1px solid #d9e5f3;
  border-radius: 10px;
  background: #fff;
  color: #243247;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sample-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, #8ea1b8 50%),
    linear-gradient(135deg, #8ea1b8 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.sample-input:focus {
  border-color: #2e8cff;
  box-shadow: 0 0 0 3px rgba(46, 140, 255, 0.12);
}

.sample-date-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.sample-date-input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 46px;
  cursor: pointer;
}

.sample-date-input::-webkit-date-and-time-value {
  text-align: left;
  min-height: 20px;
}

.sample-date-input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.sample-date-trigger {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: #eef5ff;
  color: #1763cf;
  transform: translateY(-50%);
}

.select2-container--bootstrap {
  width: 100% !important;
}

.select2-container--bootstrap .select2-selection {
  min-height: 40px;
  border: 1px solid #d9e5f3;
  border-radius: 10px;
  box-shadow: none;
}

.select2-container--bootstrap .select2-selection--single {
  height: 40px;
  padding: 5px 12px;
  background: #fff;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
  color: #243247;
  line-height: 28px;
  padding-left: 0;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__placeholder {
  color: #7f8da1;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
  height: 38px;
  right: 10px;
}

.select2-container--bootstrap.select2-container--focus .select2-selection,
.select2-container--bootstrap.select2-container--open .select2-selection {
  border-color: #2e8cff;
  box-shadow: 0 0 0 3px rgba(46, 140, 255, 0.12);
}

.select2-dropdown {
  border: 1px solid #d9e5f3;
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
  height: 36px;
  border: 1px solid #d9e5f3;
  border-radius: 8px;
}

.select2-results__option {
  font-size: 14px;
}

.select2-results__option--highlighted[aria-selected] {
  background: #1763cf;
}

.sample-region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sample-model-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sample-model-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 40px;
  gap: 10px;
  align-items: center;
}

.sample-qty {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #61748c;
  font-size: 13px;
}

.sample-qty-input {
  min-width: 0;
}

.sample-model-add,
.sample-model-remove {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sample-model-add {
  background: linear-gradient(135deg, #2e8cff 0%, #1763cf 100%);
}

.sample-model-remove {
  background: linear-gradient(135deg, #ff7b6b 0%, #e5533d 100%);
}

.sample-model-add:hover,
.sample-model-remove:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.sample-tip {
  margin: 10px 0 0;
  font-size: 13px;
  color: #8a97a9;
}

.sample-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 12px;
  align-items: center;
}

.sample-captcha-input {
  min-width: 0;
}

.sample-captcha-image {
  width: 132px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #d9e5f3;
  background: #fff;
  cursor: pointer;
  object-fit: cover;
}

.sample-submit-row {
  padding-top: 26px;
  text-align: center;
}

.sample-submit-btn {
  min-width: 168px;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2e8cff 0%, #1763cf 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(23, 99, 207, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.sample-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(23, 99, 207, 0.28);
}

.sample-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.sample-modal-open {
  overflow: hidden;
}

.sample-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.sample-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(9, 22, 43, 0.46);
  backdrop-filter: blur(2px);
}

.sample-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 420px);
  margin: 12vh auto 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.sample-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #edf3fb;
}

.sample-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #243247;
}

.sample-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f3f7fd;
  color: #60748c;
  font-size: 20px;
  line-height: 1;
}

.sample-modal-body {
  padding: 24px 20px 8px;
  color: #44556d;
  font-size: 15px;
  line-height: 1.8;
  word-break: break-word;
}

.sample-modal-footer {
  padding: 16px 20px 22px;
  text-align: right;
}

.sample-modal-btn {
  min-width: 96px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2e8cff 0%, #1763cf 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .sample-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .sample-sidebar-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .line-spacing {
    padding-top: 70px;
  }

  .sample-hero {
    padding: 58px 0 34px;
  }

  .sample-hero-title {
    font-size: 32px;
  }

  .sample-panel {
    padding: 20px 18px 24px;
  }

  .sample-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 14px 0;
  }

  .sample-label {
    padding-top: 0;
  }

  .sample-region-grid {
    grid-template-columns: 1fr;
  }

  .sample-model-item {
    grid-template-columns: 1fr;
  }

  .sample-qty {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .sample-captcha-row {
    grid-template-columns: 1fr;
  }

  .sample-model-add,
  .sample-model-remove,
  .sample-submit-btn,
  .sample-modal-btn {
    width: 100%;
  }

  .sample-modal-dialog {
    margin-top: 16vh;
  }
}
