@charset "utf-8";

/* ===== form 预约表单页 ===== */
.appointment {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
}

.appointment-left,
.appointment-right {
  flex: 1 1 0;
  min-width: 0;
}

.appointment-form {
  color: #fff;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row-2 > .form-item {
  flex: 1 1 0;
}

.form-item label,
.form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #fff;
}

.form-item label .required,
.form-label .required {
  color: #66c5cc;
  margin-left: 2px;
}

.form-hint {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.form-item input[type="text"],
.form-item input[type="email"],
.form-item input[type="tel"],
textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.3s,
    background 0.3s;
}

.form-item input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-item input:focus,
textarea:focus {
  border-color: #66c5cc;
  background: rgba(255, 255, 255, 0.08);
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 24px;
}

.form-options,
.form-checktree {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-options-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-options-radio .option-label {
  flex: 1 1 calc(50% - 6px);
}

.option-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.option-label input[type="radio"],
.option-label input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.3s,
    background 0.3s;
}

.option-label input[type="radio"] {
  border-radius: 50%;
}

.option-label input[type="checkbox"] {
  border-radius: 4px;
}

.option-label input[type="radio"]:checked,
.option-label input[type="checkbox"]:checked {
  border-color: #66c5cc;
  background: #66c5cc;
}

.option-label input[type="radio"]:checked {
  box-shadow: inset 0 0 0 4px #0a0a12;
}

.option-label input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.option-label input[type="checkbox"]:indeterminate {
  background: #66c5cc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a12' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.group-title {
  font-weight: 500;
  color: #fff;
}

.group-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 28px;
}

.check-group-single {
  margin-top: 4px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 48px;
  margin-top: 10px;
  border: 1px solid #66c5cc;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
}

.form-submit:hover {
  background: #66c5cc;
  color: #0a0a12;
}

.form-submit .iconfont {
  font-size: 14px;
}

/* 右侧内容区 */
.appointment-title h3 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 16px;
}

.appointment-title p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.appointment-partner {
  margin-top: 48px;
}

.appointment-partner h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
}

.appointment-partner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.appointment-partner li {
  width: 120px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.appointment-partner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 991px) {
  .appointment {
    gap: 48px;
  }

  .appointment-left,
  .appointment-right {
    flex-basis: 100%;
  }

  .form-row-2 > .form-item {
    flex-basis: 100%;
  }

  .form-options-radio .option-label {
    flex-basis: 100%;
  }
}
