.upload_main {
  padding: 4.4rem 0 16.6rem;
}
/* Hide CF7 customized-info textarea */
.cf7_customize_form .sy-info-area { display: none !important; }
.upload_main .content {
  max-width: 120rem;
}
.upload_main .connect {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 1.8rem;
}
.upload_main .connect .desc {
  font-size: 1.7rem;
  line-height: 3.2rem;
  color: var(--text);
  max-width: 59rem;
}
.upload_main .connect .desc a {
  vertical-align: top;
  color: var(--title);
  text-decoration: underline;
  transition: all 0.3s;
}
.upload_main .connect .desc a:hover {
  color: var(--primary);
  text-decoration-color: transparent;
}
.upload_main .connect .btn {
  min-width: 18.7rem;
  margin-bottom: 1.8rem;
}
.upload_main .head {
  margin-top: 3.6rem;
}
.upload_main .head h2 {
  font-size: 3.6rem;
  letter-spacing: 0.09rem;
  font-weight: 600;
}
.upload_main .flex {
  margin-top: 7.2rem;
  gap: 2.3rem 0;
}
.upload_main .upload_main_swiper {
  overflow: hidden;
  border-radius: 2.8rem;
  border: 0.3rem solid var(--secondary);
  padding: 1.3rem;
  width: 100%;
}
.upload_main .upload_preview {
  width: 41.58333333%;
}
.upload_main .upload_preview .swiper-pagination {
  width: 100%;
}
.upload_main .upload_main_swiper .img {
  display: block;
  border-radius: 2.8rem;
  padding-bottom: 100%;
  height: 100%;
}
.upload_main .upload_main_swiper .img:hover img {
  transform: scale(1.02);
}
.upload_main div.swiper-pagination.swiper-pagination-bullets {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  position: static;
  order: 3;
  width: 100%;
  margin-top: 1.2rem;
}
.upload_main div.swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 1rem;
  height: 1rem;
  background: #161616;
  opacity: 0.5;
  margin: 0;
  transition: all 0.4s, opacity 0.3s;
}
.upload_main div.swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
  opacity: 1;
}
.upload_main .upload_area {
  width: 53.75%;
  border-radius: 2.8rem;
  border: 1px dashed rgba(104, 104, 104, 0.5);
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
  display: flex;
  align-items: center;
  padding: 3rem;
  min-height: 30rem;
}
.upload_main .upload_area.dragover {
  border-color: var(--primary);
  background-color: rgba(var(--primary-rgb, 0,0,0), 0.04);
}
.upload_main .upload_area label {
  display: flex;
  align-items: center;
  padding: 0;
  height: 100%;
  width: 100%;
}
.upload_main .upload_area input {
  display: none;
}
.upload_main .upload_area .text {
  max-width: 47.9rem;
  margin: 0 auto;
  text-align: center;
  padding-top: 0.5rem;
}
.upload_main .upload_area .text .icon {
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 auto;
}
.upload_main .upload_area .text strong {
  font-size: 2rem;
  font-weight: 600;
  display: block;
  margin-top: 1rem;
}
.upload_main .upload_area .text span {
  display: block;
  font-size: 2rem;
  opacity: 0.5;
  margin-top: 1.7rem;
}
.upload_main .upload_area .text .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.6rem;
}
.upload_main .upload_area .text .btn::before {
  display: inline-block;
  content: '';
  width: 1.7rem;
  height: 1.7rem;
  background: url("../img/icon-upload.svg") no-repeat center / contain;
  transition: all 0.3s;
  flex-shrink: 0;
}
.upload_main .upload_area .text .btn:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
.upload_main .upload_area .text .btn:hover::before {
  filter: contrast(0) brightness(2);
}
.upload_main .upload_area .text p {
  line-height: 2.6rem;
  color: var(--text);
  margin-top: 1.9rem;
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .upload_main .content {
    max-width: 896px;
  }
}
@media screen and (min-width: 769px) and (max-width: 896px) {
  .upload_main .content {
    max-width: 768px;
  }
}
@media screen and (max-width: 768px) {
  .upload_main {
    padding: 50px 0;
  }
  .upload_main .connect {
    padding-bottom: 16px;
    gap: 20px;
  }
  .upload_main .connect .desc {
    font-size: 14px;
    line-height: 1.5;
  }
  .upload_main .connect .btn {
    min-width: 120px;
    margin: 0;
  }
  .upload_main .head {
    margin-top: 20px;
  }
  .upload_main .head h2 {
    font-size: 22px;
    letter-spacing: unset;
  }
  .upload_main .flex {
    margin-top: 30px;
  }
  .upload_main .upload_main_swiper {
    border-radius: 10px;
    border-width: 2px;
    padding: 10px;
  }
  .upload_main .upload_main_swiper .img {
    border-radius: 10px;
  }
  .upload_main div.swiper-pagination.swiper-pagination-bullets {
    gap: 6px;
  }
  .upload_main div.swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  .upload_main .upload_area {
    border-radius: 10px;
  }
  .upload_main .upload_area label {
    padding: 20px;
  }
  .upload_main .upload_area .text {
    padding: 0;
  }
  .upload_main .upload_area .text .icon {
    width: 40px;
    height: 40px;
  }
  .upload_main .upload_area .text strong {
    font-size: 18px;
    margin-top: 10px;
  }
  .upload_main .upload_area .text span {
    font-size: 16px;
    margin-top: 10px;
  }
  .upload_main .upload_area .text .btn {
    margin-top: 20px;
    gap: 8px;
  }
  .upload_main .upload_area .text .btn::before {
    width: 14px;
    height: 14px;
  }
  .upload_main .upload_area .text p {
    line-height: 1.5;
    margin-top: 12px;
  }
}
@media screen and (max-width: 576px) {
  .upload_main .upload_area {
    order: -1;
  }
  .upload_main .upload_preview,
  .upload_main .upload_area {
    width: 100%;
  }
  .upload_main div.swiper-pagination.swiper-pagination-bullets {
    order: unset;
    width: 100%;
  }
}

/* uploaded file list */
.uploaded_files {
  margin-top: 2rem;
}
.uploaded_file_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  border: 1px solid #eaeaea;
  border-radius: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  transition: background-color 0.2s;
}
.uploaded_file_item:hover {
  background-color: #f9f9f9;
}
.uploaded_file_item .file_info {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 1rem;
}
.uploaded_file_item .file_info em {
  color: #999;
  font-style: normal;
}
.uploaded_file_item .file_remove {
  cursor: pointer;
  color: #999;
  font-size: 1.6rem;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}
.uploaded_file_item .file_remove:hover {
  color: #c00;
}
.uploaded_file_item .file_status {
  font-size: 1.2rem;
  color: #999;
  flex-shrink: 0;
  margin-right: 1rem;
}
.uploaded_file_item .file_status.success {
  color: #27ae60;
}
.uploaded_file_item .file_status.error {
  color: #e74c3c;
}

/* file placeholder in swiper */
.file_placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.file_placeholder .file_icon {
  font-size: 5rem;
}
.file_placeholder .file_name {
  font-size: 1.4rem;
  color: #666;
  margin-top: 1rem;
  word-break: break-all;
  text-align: center;
  padding: 0 1rem;
}

/* step navigation */
.step_nav {
  margin-top: 4rem;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.step_nav .btn_prev_step {
  min-width: 14rem;
  text-align: center;
  margin-top: 6.4rem;
}

/* step list done state */


.form_steps .step_list li {
  cursor: pointer;
}


.information_main .step_nav .btn_prev_step{
  margin-top: 0;
}

/* Toast notification */
.custom_toast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.custom_toast.show {
  transform: translateY(0);
  opacity: 1;
}
.custom_toast .toast_inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 28px;
  background: #fff;
  border-left: 4px solid #e74c3c;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  font-size: 14px;
  color: #333;
  pointer-events: auto;
}
.custom_toast .toast_icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}