p {
  font-size: 13px;
  margin-bottom: 16px;
}

.breadcrumb {
  padding: 16px;
  background-color: var(--blue);
  color: var(--white);
  display: flex;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
}

.breadcrumb-link {
  text-decoration: underline;
}

.main {
  display: flex;
  flex-direction: column;
  padding: 50px 30px;
}

.project-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.41px;
  color: var(--light-blue);
  margin-bottom: 0;
}

.project-description {
  padding-bottom: 34px;
}

.products {
  /* border-top: 1px solid var(--black); */
  padding: 17px 0;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.product-img {
  width: 100%;
  height: 146px;
  object-fit: cover;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-blue);
  text-align: center;
}

.swiper-pagination {
  position: static !important;
  margin-top: 20px;
}

.swiper-slide .product:first-child {
  margin-bottom: 20px;
}

.project-form {
  padding-top: 62px;
  display: flex;
  flex-direction: column;
}

.project-label {
  font-size: 16px;
  line-height: 28px;
  color: var(--gray);
  margin-bottom: 5px;
}

.project-input {
  height: 40px;
  border-radius: 0;
  border: 1px solid var(--gray);
  outline: none;
  font-size: 18px;
  font-weight: 500;
  padding: 0 10px;
  margin-bottom: 25px;
  color: var(--gray);
  display: flex;
  align-items: center;
}

.project_where_other {
  display: none;
}

.project_where_other.other {
  display: unset;
}

.project-select {
  background-color: var(--white);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI0MCI+PHBhdGggZmlsbD0iIzFGMzZDNyIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMjUgNDAgMCAwaDUweiIvPjwvc3ZnPg==), linear-gradient(180deg, #fff, #fff);
  background-position: right .7em top 50%;
  background-repeat: no-repeat;
  background-size: .65em auto;
}

.project-textarea {
  padding: 10px;
  height: 200px;
}

.project-file {
  display: none;
}

.project-submit-btn {
  position: relative;
  text-align: center;
  border: none;
  height: 50px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--white);
  background-color: var(--blue);
  display: flex;
}

.project-submit-btn>div {
  flex-grow: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-submit-btn-arrow {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid var(--white);
}

.invalid-input {
  color: red;
  display: none;
  margin-bottom: 30px;
}

@media screen and (min-width: 834px) {
  p {
    font-size: 15px;
  }

  .main {
    padding: 90px 0;
    align-items: center;
  }

  .project-info {
    width: 650px;
  }

  .project-description {
    padding: 0;
  }

  /* .products {
    border-bottom: 1px solid var(--black);
    padding: 53px 0;
  } */

  .product {
    width: 100%;
  }

  .product-img {
    height: 237px;
  }

  .product-name {
    font-size: 18px;
  }

  .swiper-slide .product:first-child {
    margin-bottom: 53px;
  }

  .project-form {
    width: 556px;
    padding-top: 90px;
  }

}

@media screen and (min-width: 1200px) {
  p {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .main {
    flex-direction: row;
    align-items: start;
    gap: 34px;
    padding: 77px 0;
  }

  .project-info {
    width: calc(50% - 17px);
    flex-grow: 1;
  }

  .project-title {
    font-size: 34px;
    /* margin-bottom: 38px; */
  }

  .project-description {
    padding-bottom: 21px;
  }

  .products {
    padding: 38px 0;
    border-bottom: none;
  }

  .product-name {
    font-size: 26px;
  }

  .swiper-slide .product:first-child {
    margin-bottom: 16px;
  }

  .project-form {
    width: calc(40% - 17px);
    padding-top: 0;
  }
}

@media screen and (min-width: 1600px) {
  .swiper-slide .product:first-child {
    margin-bottom: 39px;
  }
}

.modal {
  display: none;
}

.modal.open {
  display: block;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 501;
  overflow-y: auto;
}

.modal.open::-webkit-scrollbar {
  width: 0;
}

.modal::before {
  content: "";
  position: fixed;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, .2);
}

.modal-item {
  display: none;
}

.modal-container {
  width: 100%;
  max-width: 867px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
}

.h-full {
  height: 100%;
}

.modal-item.active {
  background-color: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  width: 100%;
  padding: 0 20px;
  position: relative;
}

.modal-title {
  color: var(--dark-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.76px;
  text-align: center;
  margin-bottom: 70px;
}

.modal-header {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 712px;
  margin-top: 80px;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  margin-top: 20px;
  margin-right: 20px;
  cursor: pointer;
  transition: all .5s ease;
}

.modal-body {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 712px;
}

.modal-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 712px;
  margin-bottom: 80px;
}

.modal-btn {
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  padding: 9px 27px;
  border: none;
  outline: none;
  background-color: var(--blue);
  color: var(--white);
  min-width: 250px;
}

.modal-step .modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-step .modal-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.modal-register-group {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.modal-step .form-control {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modal-step .form-control label {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--gray);
}

.modal-step .form-control .register-input {
  height: 40px;
  border-radius: 0;
  border: 1px solid var(--gray);
  outline: none;
  font-size: 18px;
  font-weight: 500;
  padding: 0 10px;
  color: var(--gray);
}

.modal-register-extra {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--black);
  text-decoration: underline;
}

.modal-payment {
  flex-direction: row;
  padding: 0 !important;
}

.modal-payment :is(.modal-header, .modal-body) {
  margin: 0;
}

.modal-payment .modal-header {
  border-bottom: 1px solid var(--dark-blue);
  max-width: 100%;
  display: flex;
  justify-content: space-between;
}

.modal-payment .modal-title {
  text-align: left;
  margin-top: 27px;
  margin-left: 42px;
  margin-bottom: 21px;
  font-size: 24px;
}

.modal-payment-close {
  width: 28px;
  height: 28px;
  margin-top: 20px;
  margin-right: 20px;
  cursor: pointer;
  transition: all .5s ease;
}

.modal-payment-close svg {
  width: 28px;
  height: 28px;
}

.modal-payment-close:hover {
  opacity: 0.5;
  transition: all .5s ease;
}

.modal-payment .modal-body {
  display: flex;
  padding: 30px 0;
  max-width: 100%;
  row-gap: 30px;
  column-gap: 20px;
  flex-direction: column;
}

.modal-payment-qr {
  display: flex;
  justify-content: center;
}

.modal-payment-qr img {
  width: 256px;
  height: 256px;
  object-fit: cover;
}

.modal-payment-info {
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 0 20px;
}

.modal-payment-info>div {
  width: 100%;
  display: grid;
  grid-template-columns: 135px 1fr;
  grid-template-rows: repeat(5, 18px);
  row-gap: 21px;
  font-size: 16px;
}

.modal-payment-info span {
  font-weight: 600;
  color: var(--dark-blue);
}

.modal-step[data-step="2"] .modal-body {
  max-width: 100%;
}

.docx-wrapper {
  background: transparent !important;
}

#confirm-step-3::before {
  content: "Tiếp tục thanh toán";
}

.modal-step[data-step="3"] .modal-title {
  margin-top: 40px;
}

@media screen and (max-width: 769px) {
  #word-container {
    margin-top: -1220px;
  }

  #word-container .docx {
    padding: 0 54pt !important;
    box-shadow: none !important;
    scale: 0.5 !important;
  }

  .modal-step[data-step="2"] .modal-body {
    overflow: hidden;
  }

  .modal-step[data-step="2"] .modal-footer {
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 370px) {
  #word-container {
    margin-top: -1315px;
  }

  #word-container .docx {
    padding: 0 54pt !important;
    box-shadow: none !important;
    scale: 0.46 !important;
  }

  .modal-step[data-step="2"] {
    padding: 0;
  }

  .modal-step[data-step="2"] .modal-header {
    padding: 0 20px;
  }

  .modal-step[data-step="2"] .modal-body {
    overflow: hidden;
  }
}

@media screen and (min-width: 512px) {
  .modal-footer {
    flex-direction: row;
    gap: 0;
  }
}

@media screen and (min-width: 768px) {
  .modal-btn {
    min-width: unset;
  }

  .modal-item.active {
    padding: 0 40px;
  }

  .modal-title {
    font-size: 38px;
  }

  #word-container .docx {
    box-shadow: none !important;
  }
}

#sign-pdf {
  display: none;
}

@media screen and (min-width: 834px) {
  .modal-container {
    padding: 20px;
  }

  .modal-payment .modal-body {
    padding: 84px 0;
    padding-bottom: 20px;
    row-gap: 116px;
    column-gap: 20px;
  }

  .modal-payment .modal-body {
    flex-direction: row;
  }

  .modal-payment-qr {
    width: 50%;
  }

  .modal-payment-info {
    width: 50%;
    padding: 0;
    padding-right: 20px;
  }
}

@media screen and (min-width: 1200px) {
  #sign-pdf {
    display: block;
  }

  .modal-container {
    padding: 20px 0;
  }

  .modal-item.active {
    padding: 0;
  }

  .modal-title {
    font-size: 38px;
  }

  .modal-step[data-step="3"] .modal-title {
    display: none;
  }

  #confirm-step-3::before {
    content: "ký số";
  }
}