/* ===== Report Page: Hero ===== */
.hero {
  padding-bottom: 46px;
  background-image: url('../img/report/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__content {
  margin-top: 142px;
}

.main-content {
  background-color: #F6F8FA;
}
.container {
  padding: 24px 0 47px;
}

.report-form__tip,
.report-query__tip {
  font-size: 14px;
  line-height: 22px;
  color: #e67e22;
  padding: 12px 16px;
  background-color: #F2E8D3;
  border-radius: 4px;
}

.report-form__note {
  font-size: 14px;
  line-height: 22px;
  color: #666;
  margin: 0 0 20px;
}

.report-form__note span {
  color: #e74c3c;
}
.part {
  margin-bottom: 12px;
  padding: 20px;
  background-color: #fff;
  border-radius: 4px;
}

.report-form__row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 580px;
  margin-bottom: 16px;
}

.report-form__label {
  width: 88px;
  flex-shrink: 0;
  font-size: 15px;
  line-height: 24px;
  text-align: right;
  color: #333;
}

.report-form__input {
  flex: 1;
  padding: 6px 12px;
  /* border: 1px solid #d7d7d7; */
  border-radius: 4px;
  font-size: 14px;
  line-height: 24px;
  background-color: #F1F6FF;
}

.report-form__tags {
  display: flex;
  gap: 12px;
}

.report-form__tag {
  padding: 2px 16px;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  font-size: 14px;
  line-height: 24px;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.report-form__tag:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.report-form__tag--active {
  background-color: var(--color-primary);
  color: #fff;
}

.report-form__row--upload {
  align-items: flex-start;
}

.report-form__row--captcha[hidden] {
  display: none;
}

.report-form__captcha {
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: center;
}

.report-form__captcha .report-form__input {
  flex: 1;
}

.report-form__send-code {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  font-size: 14px;
  line-height: 24px;
  color: var(--color-primary);
  background-color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.report-form__send-code:hover:not(:disabled) {
  background-color: var(--color-primary);
  color: #fff;
}

.report-form__send-code:disabled {
  border-color: #d7d7d7;
  color: #999;
  cursor: not-allowed;
  background-color: #f5f5f5;
}

.report-form__uploads {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.report-form__upload {
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 24px;
  color: #999;
  border: 1px dashed #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.report-form__upload:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.report-form__preview {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e5eeff;
}

.report-form__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.report-form__preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.report-form__preview-remove:hover {
  background: rgba(231, 76, 60, 0.9);
}

.report-form__upload:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.report-form__agree {
  font-size: 14px;
  line-height: 24px;
  color: #FF7200;
  margin: 20px 0;

}
.report-form__agree label {
  display: flex;
  font-size: 14px;
  line-height: 24px;
  align-items: center;
  justify-content: center;

}
.report-form__agree input {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}
.report-form__submit {
  display: block;
  width: 140px;
  height: 40px;
  margin: 20px auto;
  background: linear-gradient(140deg, #00b4ff 0%, #007dff 100%);
  border-radius: 20px;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  cursor: pointer;
  border: none;
}

.report-query__search {
  display: flex;
  gap: 16px;
  margin: 24px auto;
  padding: 0 20%;
  
}
.report-query__input {
  flex: 1;
  height: 44px;
  padding: 0 16px 0 32px;
  border: 1px solid #d7d7d7;
  border-radius: 22px;
  font-size: 14px;
  line-height: 24px;
  background: #fff url('../img/report/search-icon.png') no-repeat 12px center;
  background-size: 16px 16px;
}

.report-query__btn {
  flex-shrink: 0;
  height: 44px;
  padding: 0 24px;
  background: linear-gradient(140deg, #00b4ff 0%, #007dff 100%);
  border-radius: 22px;
  font-size: 15px;
  line-height: 24px;
  color: #fff;
  cursor: pointer;
  border: none;
}

.report-query__qr {
  width: 120px;
  height: 120px;
  margin: 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 22px;
  color: #999;
  border-radius: 4px;
  
}

.report-query__note {
  font-size: 14px;
  align-items: center;
  color: #333;
  display: inline-flex;
  justify-content: center;
  background-color: #FFF5F5;
  padding: 8px 12px;
  border-radius: 4px;
}
.report-query__note img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.report-table {
  margin-top: 24px;
  border: 1px solid #e5eeff;
  border-radius: 4px;
  overflow: hidden;
  font-size: 14px;
  line-height: 24px;
}

.report-table__head,
.report-table__row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 2fr 1fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: 12px;
  padding: 14px 20px;
  align-items: center;
}

.report-table__head {
  background: #dbe8fe;
  font-weight: 600;
  color: #00264e;
}

.report-table__row {
  border-top: 1px solid #e5eeff;
  color: #333;
}

.report-table__row:hover {
  background-color: #f8fbff;
}

.report-table__row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-tab-panel][hidden] {
  display: none;
}

.report-table__empty {
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  color: #999;
}

.report-form__upload--loading {
  pointer-events: none;
  opacity: 0.7;
}

.report-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 9999;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 22px;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}

.report-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.report-toast--error {
  background: rgba(231, 76, 60, 0.92);
}

.report-toast--success {
  background: rgba(39, 174, 96, 0.92);
}

.report-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
}

.report-modal[hidden] {
  display: none;
}

.report-modal__box {
  width: 420px;
  max-width: calc(100vw - 40px);
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 8px;
  text-align: center;
}

.report-modal__title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 28px;
  color: #333;
}

.report-modal__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 22px;
  color: #666;
}

.report-modal__code {
  margin: 0 0 20px;
  padding: 14px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 4px;
  color: var(--color-primary);
  background: #f1f6ff;
  border-radius: 4px;
  font-weight: 600;
}

.report-modal__btn {
  min-width: 120px;
  height: 40px;
  padding: 0 24px;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(140deg, #00b4ff 0%, #007dff 100%);
}
