:root {
  --speakup-max-width: 1000px;
  --speakup-accent: #c4161c;
  --speakup-border: #e6e6e6;
  --speakup-muted: #666666;
  --speakup-bg: #f7f8fa;
  --speakup-success: #0b875b;
}

[v-cloak] {
  display: none;
}

.name {
  flex: 1;
}

.el-select-dropdown__item.selected {
  color: #e10032 !important;
}

/* WebKit browsers */
::placeholder {
  color: #9b9fa8;
}

/* Mozilla Firefox */
::-moz-placeholder {
  color: #9b9fa8;
}

/* Internet Explorer */
:-ms-input-placeholder {
  color: #9b9fa8;
}

.speakup__form {
  max-width: 800px;
  margin: 0 auto;
}

.speakup__form input::placeholder,
.speakup__form textarea::placeholder {
  color: #C1C6CF;
  font-weight: 400;
}

.speakup__form input::-webkit-input-placeholder,
.speakup__form textarea::-webkit-input-placeholder {
  color: #C1C6CF;
  font-weight: 400;
}

.speakup__form input::-moz-placeholder,
.speakup__form textarea::-moz-placeholder {
  color: #C1C6CF;
  font-weight: 400;
  opacity: 1;
}

.speakup__form input:-ms-input-placeholder,
.speakup__form textarea:-ms-input-placeholder {
  color: #C1C6CF;
  font-weight: 400;
}

.speakup__form input::-ms-input-placeholder,
.speakup__form textarea::-ms-input-placeholder {
  color: #C1C6CF;
  font-weight: 400;
}

.report-type-wrapper .el-input__inner::placeholder {
  color: #C1C6CF;
  font-weight: 400;
}

.report-type-wrapper .el-input__inner::-webkit-input-placeholder {
  color: #C1C6CF;
  font-weight: 400;
}

.report-type-wrapper .el-input__inner::-moz-placeholder {
  color: #C1C6CF;
  font-weight: 400;
  opacity: 1;
}

.report-type-wrapper .el-input__inner:-ms-input-placeholder {
  color: #C1C6CF;
  font-weight: 400;
}

.report-type-wrapper .el-input__inner::-ms-input-placeholder {
  color: #C1C6CF;
  font-weight: 400;
}

.speakup {
  margin: 0 auto;
  padding: 40px 16px 40px;
  max-width: var(--speakup-max-width);
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei",
  sans-serif;
  font-size: 16px;
  color: #1a1a1a;
}

.breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
  color: #6A6B6D;
}

.breadcrumb__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: #6A6B6D;
}

.breadcrumb__item a {
  color: #6A6B6D;
  text-decoration: none;
}

.breadcrumb__item a:hover,
.breadcrumb__item a:focus {
  color: #666666;
  text-decoration: none;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: ">";
  color: #6A6B6D;
  margin: 0 4px;
}

.hero {
  margin-top: 40px;
  border-radius: 4px;
  padding: 20px;
  background-color: #f7f9fa;
  text-align: left;
  margin-bottom: 40px;
}

.title {
  color: #2a2b2e;
  font-size: 36px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
}

.must {
  margin-right: 6px;
  color: red;
}

.hero__lead {
  margin: 8px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--speakup-muted);
}

.hero__lead:first-child {
  margin-top: 0;
}

.guidance {
  background: var(--speakup-bg);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
}

.guidance h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.3;
}

.guidance ol {
  margin: 0;
  padding-left: 20px;
  color: var(--speakup-muted);
  line-height: 1.6;
}

.speakup__form fieldset {
  border: 1px solid var(--speakup-border);
  border-radius: 12px;
  padding: 24px;
  margin: 0 0 24px;
}

.speakup__form legend {
  font-weight: 600;
  font-size: 20px;
  padding: 0 8px;
}

.speakup__form .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.speakup__form label {
  font-weight: 400;
  margin-bottom: 8px;
  font-size: 16px;
}

.speakup__form input[type="text"],
.speakup__form input[type="email"],
.speakup__form textarea,
.speakup__form select {
  border: 1px solid var(--speakup-border);
  border-radius: 4px;
  padding: 0 16px;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.2s ease;
  height: 50px;
  box-sizing: border-box;
}

.speakup__form input[type="text"][aria-invalid="true"],
.speakup__form input[type="email"][aria-invalid="true"],
.speakup__form textarea[aria-invalid="true"],
.speakup__form select[aria-invalid="true"] {
  border-color: #d93025;
}

.speakup__form select {
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 7.333L.667 2l.943-.943L6 5.448l4.39-4.39.944.943z' fill='%23666' fill-rule='nonzero'/%3E%3C/svg%3E") no-repeat right 16px center/12px auto;
  padding-right: 44px;
  color: #1a1a1a;
}

.speakup__form select.placeholder {
  color: #9b9fa8;
}

.speakup__form select option {
  color: #1a1a1a;
}

.speakup__form select option[value="Please select"] {
  color: #9b9fa8;
}

.report-type-wrapper {
  width: 100%;
  display: block;
}

.report-type-wrapper .el-select {
  width: 100%;
}

.report-type-wrapper .el-input__inner {
  height: 50px;
  line-height: 50px;
  border: 1px solid var(--speakup-border);
  border-radius: 4px;
  padding: 0 44px 0 16px;
  font-size: 16px;
  color: #2a2b2e;
  transition: border-color 0.2s ease;
}

.report-type-wrapper .el-input__inner::placeholder {
  color: #9b9fa8;
}

.report-type-wrapper .el-input__suffix {
  color: #9b9fa8;
}

.report-type-wrapper.is-placeholder .el-input__inner {
  color: #9b9fa8;
}

.report-type-wrapper .el-input.is-focus .el-input__inner {
  border-color: #1a73e8;
  box-shadow: none;
}

.report-type-wrapper[aria-invalid="true"] .el-input__inner {
  border-color: #d93025;
}

.report-type-wrapper[aria-invalid="true"]+.help--error {
  display: block;
}

.report-type-dropdown {
  min-width: 200px;
  max-width: 100%;
}

/* 下拉菜单列表容器（ul） */
.report-type-dropdown .el-select-dropdown__list {
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 100%;
  box-sizing: border-box;
}

/* 下拉菜单包装容器 */
.report-type-dropdown .el-select-dropdown__wrap {
  max-height: none;
  overflow-y: auto;
}

/* 下拉菜单包装器的虚拟滚动 */
.report-type-dropdown .el-scrollbar {
  width: 100%;
}

/* 下拉选项（li） */
.report-type-dropdown .el-select-dropdown__item {
  color: #2a2b2e;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.5;
  padding: 12px 16px;
  max-width: 100%;
  height: auto;
  min-height: auto;
  box-sizing: border-box;
  display: block;
  overflow: hidden;
}

.report-type-dropdown .el-select-dropdown__item span {
  display: block;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.5;
}

.speakup__form input:focus,
.speakup__form textarea:focus,
.speakup__form select:focus {
  border-color: #1a73e8;
  outline: none;
}

.speakup__form textarea {
  padding: 15px 16px;
  resize: vertical;
  min-height: 150px;
  height: auto;
}

.help {
  margin: 6px 0 0;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #9B9FA8;
}

.help--error {
  display: none;
  color: #d93025;
}

select[aria-invalid="true"]+.help--error,
input[aria-invalid="true"]+.help--error,
textarea[aria-invalid="true"]+.help--error {
  display: block;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.actions button {
  min-width: 160px;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 46px;
  border-radius: 4px;
  gap: 8px;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #FFFFFF;
  opacity: 1;
  transform: rotate(0deg);
  background: #E60039;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}

.primary:hover,
.primary:focus {
  color: #FFFFFF;
  text-decoration: none;
  background: #CC002D;
  opacity: 1;
}

.primary:active {
  background: #B30028;
}

.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #B0B0B0;
}

.secondary,
.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  width: 300px;
  height: 46px;
  gap: 6px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  background-color: #F1F3F5;
  opacity: 1;
  transform: rotate(0deg);
}

.secondary {
  border: 1px solid var(--speakup-border);
  background: transparent;
  color: #1a1a1a;
  padding: 0 32px;
}

.salee_b {
  width: 100%;
  overflow: hidden;
  line-height: 20px;
  color: #666;
  margin-top: 1.85vh;
  position: relative;
}

.salee_b input {
  float: left;
  width: 15px;
  height: 15px;
  outline: none;
  position: absolute;
  left: 0px;
  top: 0px;
  margin: 1px 0px 0px 0px;
  cursor: pointer;
  background: url("https://eo-sgp-cos.ruijie.com/site_style/salesenquiry/upimg/sel_03.svg") center no-repeat;
  background-size: 100%;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
}

.salee_b a {
  text-decoration: underline;
  color: #e60039;
}

.salee_b input:checked {
  background: url("https://eo-sgp-cos.ruijie.com/site_style/salesenquiry/upimg/sel_04.svg") center no-repeat;
  background-size: 100%;
  outline: none;
}

.salee_b i {
  float: left;
  color: #e72f52;
  margin-left: 10px;
  position: absolute;
  left: 15px;
  top: 0px;
}

.salee_b span {
  float: left;
  margin-left: 40px;
  margin-right: 20px;
}

.upload-button {
  height: 46px;
  line-height: 46px;
  color: #2a2b2e;
  font-size: 16px;
}

.sr-only {
  margin-bottom: 4px;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.upload-button:hover,
.secondary:hover {
  border-color: #a3a3a3;
}

.attachments__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.attachments__list li {
  border: 1px solid var(--speakup-border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.attachments__list .meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.attachments__list .progress {
  background: #f0f2f5;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
}

.attachments__list .progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(96deg, #4caf50 0%, #2e7d32 100%);
}

.attachments__list button {
  align-self: flex-start;
  border: none;
  background: none;
  color: var(--speakup-accent);
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}

.captcha__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.upload-tip {
  font-weight: 400;
  color: #1a1a1a;
  font-size: 16px;
  margin-bottom: 8px;
}

.captcha__controls img {
  width: auto;
  max-width: 116px;
  height: 46px;
  border: 1px solid var(--speakup-border);
  border-radius: 4px;
  object-fit: contain;
  object-position: center;
}

.captcha__controls svg {
  cursor: pointer;
}

.captcha__controls input[type="text"] {
  font-size: 16px;
  flex: 0 0 300px;
  max-width: 100%;
  width: 300px;
}

.checkbox label {
  display: flex;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  color: var(--speakup-muted);
}

.checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

#formStatus {
  min-height: 20px;
  font-size: 14px;
  color: var(--speakup-success);
}

#formStatus.is-error {
  color: var(--speakup-accent);
}

#home-success {
  display: none;
}

.speakup--success {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  min-height: auto;
}

.success-card {
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.success-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  background: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle fill='%2319a974' cx='32' cy='32' r='32'/%3E%3Cpath d='M28.18 40.86l-7.04-7.04 2.12-2.12 4.92 4.92 12.68-12.68 2.12 2.12z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
}

.success-card .primary {
  width: 225px;
  height: 46px;
  margin: 8px auto 0;
}

.success-card h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.success-card p {
  margin: 0;
  font-size: 16px;
  color: #9B9FA8;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .breadcrumb {
    display: none;
  }

  .speakup {
    padding: 32px 16px 60px;
  }

  .success-card p {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .title {
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    text-align: left;
  }

  .hero__lead {
    font-size: 14px;
  }

  .speakup__form fieldset,
  .speakup__form .field {
    padding: 0;
  }

  .speakup__form fieldset {
    border: none;
    border-radius: 0;
  }

  .speakup__form legend {
    font-size: 18px;
  }

  .attachments__list li {
    padding: 12px;
  }

  .captcha__controls {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .captcha__controls input[type="text"] {
    width: 199px;
    flex: 0 0 199px;
    height: 46px;
    border-radius: 4px;
    border: 1px solid var(--speakup-border);
    box-sizing: border-box;
  }

  .captcha__controls img {
    width: auto;
    max-width: 116px;
    height: 46px;
    border-radius: 4px;
    border: 1px solid var(--D5D5D5, #D5D5D5);
    opacity: 1;
    transform: rotate(0deg);
    object-fit: contain;
    object-position: center;
  }

  .speakup__form input[type="text"],
  .speakup__form input[type="email"],
  .speakup__form select {
    height: 48px;
  }

  .report-type-wrapper .el-input__inner {
    height: 48px;
    line-height: 48px;
  }

  .report-type-dropdown {
    max-width: 100vw;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    min-width: 280px;
  }

  .report-type-dropdown .el-select-dropdown__list {
    padding: 0;
    margin: 0;
  }

  .report-type-dropdown .el-select-dropdown__wrap {
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .report-type-dropdown .el-select-dropdown__item {
    padding: 14px 16px;
    line-height: 1.6;
    height: auto;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .report-type-dropdown .el-select-dropdown__item span {
    line-height: 1.6;
    display: block;
  }

  .primary,
  .secondary,
  .upload-button {
    min-height: 36px;
    justify-content: center;
  }

  .primary {
    width: 100%;
  }

  .success-card .primary {
    width: 225px;
    height: 46px;
    margin: 8px auto 0;
  }

  .success-card h1 {
    font-size: 24px;
  }

  .speakup--success {
    padding-top: 24px;
  }

  .secondary,
  .upload-button {
    width: 100%;
  }

  .actions {
    align-items: stretch;
  }
}
