.add-ticket {
  --tc-ticket-primary: #0058ff;
  --tc-ticket-primary-soft: #eaf2ff;
  --tc-ticket-ink: #1e2736;
  --tc-ticket-muted: #667085;
  --tc-ticket-line: #e5e8ef;
  --tc-ticket-bg: #f2f3f5;
  --tc-ticket-header-height: 49px;
  --tc-ticket-footer-height: 63px;
}

.add-ticket .el-main {
  overflow: visible;
}

.add-ticket .main-card {
  min-height: calc(100vh - var(--tc-ticket-header-height) - var(--tc-ticket-footer-height));
  background: var(--tc-ticket-bg);
}

.add-ticket .tc-ticket-create-titlebar {
  min-height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--tc-ticket-line);
}

.add-ticket .tc-ticket-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tc-ticket-primary);
  font-size: 13px;
  line-height: 32px;
  cursor: pointer;
}

.add-ticket .tc-ticket-back:hover {
  color: #2674ff;
}

.add-ticket .tc-ticket-create-layout {
  width: min(1280px, calc(100% - 40px));
  margin: 16px auto 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 16px;
}

.add-ticket .tc-ticket-create-card.content-box,
.add-ticket .tc-ticket-side-card.content-box {
  margin: 0;
  border: 1px solid var(--tc-ticket-line);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(31, 35, 41, 0.03);
}

.add-ticket .tc-ticket-create-card.content-box {
  padding: 0;
  overflow: hidden;
}

.add-ticket .tc-ticket-create-hero {
  position: relative;
  min-height: 138px;
  padding: 28px 34px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 24%, rgba(0, 88, 255, 0.12), transparent 26%),
    linear-gradient(112deg, #f7fbff 0%, #eef5ff 58%, #f8fbff 100%);
  border-bottom: 1px solid #e1eafd;
}

.add-ticket .tc-ticket-create-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -112px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(0, 88, 255, 0.12);
  border-radius: 50%;
}

.add-ticket .tc-ticket-create-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.add-ticket .tc-ticket-create-hero h2 {
  margin: 0;
  color: var(--tc-ticket-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.add-ticket .tc-ticket-create-hero p {
  max-width: 500px;
  margin: 8px 0 0;
  color: var(--tc-ticket-muted);
  font-size: 13px;
  line-height: 1.7;
}

.add-ticket .tc-ticket-create-hero-art {
  position: absolute;
  right: 42px;
  top: 12px;
  width: 188px;
  height: 116px;
}

.add-ticket .tc-ticket-hero-ring {
  position: absolute;
  border: 1px solid rgba(0, 88, 255, 0.2);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.add-ticket .tc-ticket-hero-ring-one {
  right: 14px;
  top: 12px;
  width: 148px;
  height: 82px;
}

.add-ticket .tc-ticket-hero-ring-two {
  right: 34px;
  top: 29px;
  width: 108px;
  height: 52px;
}

.add-ticket .tc-ticket-hero-core,
.add-ticket .tc-ticket-hero-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 88, 255, 0.22);
}

.add-ticket .tc-ticket-hero-core {
  right: 70px;
  top: 31px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0058ff, #5b8fff);
  font-size: 25px;
}

.add-ticket .tc-ticket-hero-node {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 14px;
}

.add-ticket .tc-ticket-hero-node-one {
  right: 12px;
  top: 20px;
  background: #24b47e;
}

.add-ticket .tc-ticket-hero-node-two {
  right: 39px;
  bottom: 6px;
  background: #7b61ff;
}

.add-ticket .tc-ticket-form-wrap {
  padding: 24px 32px 30px;
}

.add-ticket .tc-ticket-form-heading {
  margin-bottom: 22px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f5;
}

.add-ticket .tc-ticket-form-heading strong {
  color: var(--tc-ticket-ink);
  font-size: 16px;
  font-weight: 700;
}

.add-ticket .tc-ticket-form-heading span {
  color: #98a2b3;
  font-size: 12px;
}

.add-ticket .tc-ticket-form-heading em {
  margin-right: 4px;
  color: #e34d59;
  font-style: normal;
}

.add-ticket .tc-ticket-form .el-form-item {
  margin-bottom: 22px;
}

.add-ticket .tc-ticket-form .el-form-item__label {
  padding-right: 18px;
  color: #4e5969;
  font-size: 13px;
  line-height: 40px;
}

.add-ticket .tc-ticket-form .el-form-item.is-required .el-form-item__label::before {
  color: #e34d59;
}

.add-ticket .tc-ticket-control {
  width: 100%;
}

.add-ticket .tc-ticket-control .el-input__inner,
.add-ticket .tc-ticket-upload-btn.el-button {
  height: 40px;
  border-radius: 2px;
  font-size: 13px;
}

.add-ticket .tc-ticket-control .el-input__inner {
  border-color: #d9dde7;
}

.add-ticket .tc-ticket-control .el-input__inner:hover,
.add-ticket .tc-ticket-control .el-input__inner:focus {
  border-color: var(--tc-ticket-primary);
}

.add-ticket .tc-ticket-description .el-textarea__inner {
  min-height: 190px !important;
  padding: 12px 14px 28px;
  border-color: #d9dde7;
  border-radius: 2px;
  color: var(--tc-ticket-ink);
  font-size: 13px;
  line-height: 1.75;
}

.add-ticket .tc-ticket-description .el-textarea__inner:focus {
  border-color: var(--tc-ticket-primary);
}

.add-ticket .tc-ticket-description .el-input__count {
  right: 12px;
  bottom: 8px;
  color: #98a2b3;
  background: transparent;
  font-size: 12px;
}

.add-ticket .tc-ticket-upload {
  width: 100%;
}

.add-ticket .tc-ticket-upload .el-upload {
  display: inline-flex;
  vertical-align: top;
}

.add-ticket .tc-ticket-upload-btn.el-button {
  padding: 0 18px;
  border-color: #c9ced8;
  color: #344054;
  background: #fff;
}

.add-ticket .tc-ticket-upload-btn.el-button:hover {
  border-color: var(--tc-ticket-primary);
  color: var(--tc-ticket-primary);
  background: #f7faff;
}

.add-ticket .tc-ticket-upload-tip {
  margin-left: 12px;
  color: #98a2b3;
  font-size: 12px;
  line-height: 40px;
}

.add-ticket .tc-ticket-upload .el-upload-list {
  max-width: 680px;
}

.add-ticket .tc-ticket-upload .el-upload-list__item {
  margin-top: 8px;
}

.add-ticket .tc-ticket-submit-row {
  margin-top: 28px;
  margin-bottom: 0 !important;
  padding-top: 20px;
  border-top: 1px solid #edf0f5;
}

.add-ticket .tc-ticket-submit-row .el-form-item__content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.add-ticket .tc-ticket-submit.el-button,
.add-ticket .tc-ticket-cancel.el-button {
  flex: 0 0 auto;
  min-width: 104px;
  height: 36px;
  border-radius: 2px;
  font-size: 13px;
}

.add-ticket .tc-ticket-cancel.el-button {
  margin-left: 10px;
}

.add-ticket .tc-ticket-submit.el-button {
  background: var(--tc-ticket-primary);
  border-color: var(--tc-ticket-primary);
}

.add-ticket .tc-ticket-submit-tip {
  margin-left: 14px;
  color: #98a2b3;
  font-size: 12px;
  line-height: 36px;
}

.add-ticket .tc-ticket-submit-tip i {
  margin-right: 5px;
  color: var(--tc-ticket-primary);
}

.add-ticket .tc-ticket-create-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.add-ticket .tc-ticket-side-card.content-box {
  padding: 20px;
}

.add-ticket .tc-ticket-side-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-ticket .tc-ticket-side-title strong {
  color: var(--tc-ticket-ink);
  font-size: 15px;
  font-weight: 700;
}

.add-ticket .tc-ticket-side-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--tc-ticket-primary);
  background: var(--tc-ticket-primary-soft);
  font-size: 16px;
}

.add-ticket .tc-ticket-guide-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.add-ticket .tc-ticket-guide-list li {
  position: relative;
  min-height: 50px;
  padding: 0 0 14px 42px;
}

.add-ticket .tc-ticket-guide-list li:last-child {
  min-height: 28px;
  padding-bottom: 0;
}

.add-ticket .tc-ticket-guide-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 28px;
  bottom: -1px;
  width: 1px;
  background: #dbe6fb;
}

.add-ticket .tc-ticket-guide-list li:last-child::before {
  display: none;
}

.add-ticket .tc-ticket-guide-list li > span {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8d8f8;
  border-radius: 50%;
  color: var(--tc-ticket-primary);
  background: #f7faff;
  font-size: 12px;
  font-weight: 700;
}

.add-ticket .tc-ticket-guide-list p {
  margin: 0;
  padding-top: 4px;
  color: #4e5969;
  font-size: 13px;
  line-height: 1.55;
}

.add-ticket .tc-ticket-service-card {
  overflow: hidden;
}

.add-ticket .tc-ticket-service-visual {
  position: relative;
  height: 150px;
  margin: -20px -20px 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 88, 255, 0.08), rgba(123, 97, 255, 0.08)),
    #f6f9ff;
  border-bottom: 1px solid #e4ebfa;
}

.add-ticket .tc-ticket-service-visual::before,
.add-ticket .tc-ticket-service-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(0, 88, 255, 0.12);
  border-radius: 50%;
}

.add-ticket .tc-ticket-service-visual::before {
  width: 210px;
  height: 210px;
  left: -62px;
  top: -94px;
}

.add-ticket .tc-ticket-service-visual::after {
  width: 164px;
  height: 164px;
  right: -54px;
  bottom: -102px;
}

.add-ticket .tc-ticket-service-orbit {
  position: absolute;
  left: 57px;
  top: 29px;
  width: 198px;
  height: 88px;
  border: 1px dashed rgba(0, 88, 255, 0.26);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.add-ticket .tc-ticket-service-core,
.add-ticket .tc-ticket-service-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 88, 255, 0.2);
}

.add-ticket .tc-ticket-service-core {
  left: 126px;
  top: 43px;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(145deg, #0058ff, #6b8dff);
  font-size: 30px;
}

.add-ticket .tc-ticket-service-chip {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 16px;
}

.add-ticket .tc-ticket-service-chip-one {
  left: 63px;
  top: 35px;
  background: #24b47e;
}

.add-ticket .tc-ticket-service-chip-two {
  right: 52px;
  bottom: 25px;
  background: #7b61ff;
}

.add-ticket .tc-ticket-service-card h3 {
  margin: 0;
  color: var(--tc-ticket-ink);
  font-size: 15px;
  line-height: 1.5;
}

.add-ticket .tc-ticket-service-card > p {
  margin: 8px 0 14px;
  color: var(--tc-ticket-muted);
  font-size: 12px;
  line-height: 1.7;
}

.add-ticket .tc-ticket-service-feature {
  margin-top: 9px;
  color: #4e5969;
  font-size: 12px;
  line-height: 1.5;
}

.add-ticket .tc-ticket-service-feature i {
  margin-right: 7px;
  color: #24b47e;
}

.add-ticket .tc-ticket-quick-card button {
  width: 100%;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #edf0f5;
  color: #344054;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

.add-ticket .tc-ticket-quick-card button:nth-of-type(1) {
  margin-top: 12px;
}

.add-ticket .tc-ticket-quick-card button:last-child {
  border-bottom: 0;
}

.add-ticket .tc-ticket-quick-card button:hover {
  color: var(--tc-ticket-primary);
}

.add-ticket .tc-ticket-quick-card button span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.add-ticket .tc-ticket-quick-card button span i {
  color: var(--tc-ticket-primary);
}

.add-ticket .tc-ticket-quick-card button > i {
  color: #98a2b3;
}

@media screen and (max-width: 1180px) {
  .add-ticket .tc-ticket-create-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .add-ticket .tc-ticket-create-hero-art {
    right: 20px;
    transform: scale(0.88);
    transform-origin: right center;
  }
}

@media screen and (max-width: 960px) {
  .add-ticket .tc-ticket-create-layout {
    grid-template-columns: 1fr;
  }

  .add-ticket .tc-ticket-create-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .add-ticket .tc-ticket-quick-card {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 750px) {
  .add-ticket .main-card {
    min-height: 100%;
  }

  .add-ticket .tc-ticket-create-titlebar {
    min-height: 46px;
    padding: 0 14px;
  }

  .add-ticket .tc-ticket-create-layout {
    width: calc(100% - 24px);
    margin: 12px auto 24px;
    gap: 12px;
  }

  .add-ticket .tc-ticket-create-hero {
    min-height: 132px;
    padding: 24px 20px;
  }

  .add-ticket .tc-ticket-create-hero-copy {
    max-width: 70%;
  }

  .add-ticket .tc-ticket-create-hero h2 {
    font-size: 18px;
  }

  .add-ticket .tc-ticket-create-hero p {
    margin-top: 6px;
    font-size: 12px;
  }

  .add-ticket .tc-ticket-create-hero-art {
    right: -10px;
    top: 8px;
    transform: scale(0.68);
  }

  .add-ticket .tc-ticket-form-wrap {
    padding: 20px 16px 24px;
  }

  .add-ticket .tc-ticket-form-heading {
    margin-bottom: 18px;
  }

  .add-ticket .tc-ticket-form .el-form-item {
    margin-bottom: 18px;
  }

  .add-ticket .tc-ticket-form .el-form-item__label {
    width: 100% !important;
    float: none;
    padding: 0 0 7px;
    text-align: left;
    line-height: 22px;
  }

  .add-ticket .tc-ticket-form .el-form-item__content {
    margin-left: 0 !important;
  }

  .add-ticket .tc-ticket-description .el-textarea__inner {
    min-height: 170px !important;
  }

  .add-ticket .tc-ticket-upload-tip {
    display: block;
    margin: 7px 0 0;
    line-height: 1.6;
  }

  .add-ticket .tc-ticket-submit-row {
    padding-top: 18px;
  }

  .add-ticket .tc-ticket-submit.el-button,
  .add-ticket .tc-ticket-cancel.el-button {
    min-width: 90px;
  }

  .add-ticket .tc-ticket-submit-tip {
    flex-basis: 100%;
    margin: 9px 0 0;
    line-height: 1.6;
  }

  .add-ticket .tc-ticket-create-aside {
    display: flex;
  }

  .add-ticket .tc-ticket-side-card.content-box {
    padding: 18px;
  }

  .add-ticket .tc-ticket-service-visual {
    margin: -18px -18px 16px;
  }
}

.add-ticket .tc-partner-application-hint { margin: 0 0 20px; color: #475467; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
