/* 提交服务工单 — 正文样式 */

.ticket-section {
  padding: 50px 0;
}

.ticket-section > .container {
  width: 100%;
  max-width: var(--kh-shell-max);
  margin-left: auto;
  margin-right: auto;
}

.ticket-page-header {
  margin-bottom: 28px;
  border-left: 4px solid #1d5198;
  padding-left: 16px;
}

.ticket-page-header h2 {
  font-size: 28px;
  font-weight: bold;
  color: #1e3a5f;
  margin: 0 0 12px;
}

.ticket-page-header p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 8px;
}

.ticket-main {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.ticket-left {
  flex: 1;
  min-width: 0;
}

.ticket-right {
  width: 520px;
  flex-shrink: 0;
}

.ticket-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.ticket-step {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.ticket-step__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1d5198;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-step__body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0 0 4px;
}

.ticket-step__body p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.ticket-info-card {
  background: #f7faff;
  border: 1px solid #dbe6f5;
  border-radius: 5px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.ticket-info-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-info-card h3 i {
  color: #1d5198;
  font-size: 18px;
}

.ticket-info-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 6px;
}

.ticket-info-card a {
  color: #1d5198;
  text-decoration: none;
}

.ticket-info-card a:hover {
  text-decoration: underline;
}

.ticket-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ticket-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 5px;
  border: 1px solid #c5d4ea;
  background: #fff;
  color: #1d5198;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.ticket-links a:hover {
  background: #ebf3ff;
  border-color: #1d5198;
}

.ticket-fb-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: #ebf2fa;
  border-left: 4px solid #c8a028;
  border-radius: 0 5px 5px 0;
  color: #1e3a5f;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.ticket-fb-link i {
  font-size: 24px;
  color: #1877f2;
  flex-shrink: 0;
}

.ticket-fb-link:hover {
  background: #ddeaf8;
  color: #1d5198;
}

.ticket-form {
  background: #fff;
  border-radius: 5px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.ticket-form h2 {
  font-size: 22px;
  font-weight: bold;
  color: #1e3a5f;
  margin: 0 0 6px;
}

.ticket-form .form-desc {
  color: #888;
  font-size: 14px;
  margin-bottom: 24px;
}

.ticket-form .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.ticket-form .form-group {
  flex: 1;
}

.ticket-form .form-group.full {
  flex: none;
  width: 100%;
}

.ticket-form .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
}

.ticket-form .form-group label .req {
  color: #c62828;
  margin-left: 2px;
}

.ticket-form .form-group input,
.ticket-form .form-group select,
.ticket-form .form-group textarea {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}

.ticket-form .form-group input:focus,
.ticket-form .form-group select:focus,
.ticket-form .form-group textarea:focus {
  border-color: #1d5198;
}

.ticket-form .form-group textarea {
  resize: vertical;
  min-height: calc(5 * 1.5em + 50px);
}

.ticket-form .form-hint {
  font-size: 12px;
  color: #999;
  margin: 6px 0 0;
  line-height: 1.5;
}

.ticket-form .form-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
}

.ticket-form .form-agree input {
  margin-top: 3px;
  flex-shrink: 0;
}

.ticket-form .form-submit {
  width: 100%;
  background: #1d5198;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.ticket-form .form-submit:hover {
  background: #16407a;
}

.ticket-form .form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ticket-sla-section {
  padding: 0 0 60px;
}

.ticket-sla-section > .container {
  width: 100%;
  max-width: var(--kh-shell-max);
  margin-left: auto;
  margin-right: auto;
}

.ticket-sla-header {
  text-align: center;
  margin-bottom: 32px;
}

.ticket-sla-header h2 {
  font-size: 26px;
  font-weight: bold;
  color: #1e3a5f;
  margin: 0 0 8px;
}

.ticket-sla-header p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.ticket-sla-grid {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: var(--kh-shell-max);
}

.ticket-sla-card {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border-radius: 5px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef1f5;
}

.ticket-sla-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ebf3ff;
  color: #1d5198;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.ticket-sla-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0 0 8px;
}

.ticket-sla-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1100px) {
  .ticket-main {
    flex-direction: column;
    gap: 32px;
  }

  .ticket-right {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ticket-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .ticket-sla-grid {
    flex-direction: column;
    align-items: stretch;
  }
}
