html {
  font-size: 62.5%;
}

h1 {
  font-family: Noto Sans KR;
  font-weight: 900;
  font-size: 6.4rem;
  line-height: 100%;
  letter-spacing: -4%;
}

h2 {
  font-weight: 900;
  font-size: 4.8rem;
  line-height: 100%;
  color: #06a1ff;
}

section {
  margin: 6.8rem 0;
}

textarea {
  resize: none;
}

/* form-common */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
  position: relative;
}

.form-field label {
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 100%;
}

.required-mark {
  color: red;
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 2.6rem 3.2rem;
  border: 2px solid #e0e0e0;
  font-weight: 400;
  font-size: 2.7rem;
  line-height: 100%;
  height: 8.2rem;
}

.form-field select {
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.6rem center;
  background-size: 2.7rem;
  cursor: pointer;
}

.form-field select option {
  font-size: 2.7rem;
}

.form-field textarea {
  min-height: 36.8rem;
  font-family: "Noto Sans KR";
}

.char-count {
  text-align: right;
  color: #7f7f7f;
  font-weight: 300;
  font-size: 2rem;
  line-height: 2.75rem;
}
.error-message {
  color: red;
  margin-top: 0.4rem;
  font-weight: 300;
  font-size: 2rem;
  line-height: 2.75rem;
  position: absolute;
  bottom: -3rem;
}

.input-error {
  border: 2px solid red !important;
}

.submit-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15.3rem;
}

.submit-button {
  font-weight: 400;
  font-size: 2.7rem;

  line-height: 100%;
  text-align: center;

  width: 74.2rem;
  height: 9rem;

  border: none;
  background-color: #06a1ff;
  color: #fff;
}

/* file-common */
.file-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.file-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 2;

  height: 8.5rem;
  padding: 2.7rem 3.2rem;
  border: 2px solid #e0e0e0;

  font-weight: 400;
  font-size: 2.7rem;
  line-height: 1.5;

  overflow: hidden;
  height: 8.2rem;
}

.file-select-btn-wrapper {
  flex: 1;
  height: 100%;
  width: 100%;
}

.file-select-btn {
  background-color: #06a1ff;
  color: white;
  font-size: 2.2rem;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  padding: 0;
}

.file-remove-btn {
  padding: 0;
  background: none;
  border: none;

  color: #888;
  cursor: pointer;
}

.file-guide-text {
  font-weight: 300;
  font-size: 2rem;
  line-height: 2.75rem;
  color: #7f7f7f;
}

.file-error-text {
  font-size: 1.6rem;
  color: red;
  margin-top: 0.5rem;
}

.file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* header */
.main-banner {
  position: relative;
  overflow: hidden;

  width: 100%;
  height: 60rem;

  background-image: url("../../img/partnership-proposal/main-banner.jpg");
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;
}

.main-banner .banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  backdrop-filter: blur(4px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));

  transform: translateZ(0); /* ✅ 추가 */
  will-change: transform; /* ✅ 추가 */
}

.main-banner .banner-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: 2.4rem;

  text-align: center;
  color: #fff;
}

.main-banner .banner-content .description {
  font-weight: 400;
  font-size: 3.6rem;
  line-height: 4.4rem;
  color: #d6d2d0;
}

.breadcrumb {
  height: 11.2rem;
  padding: 4.8rem 25rem;
  border-bottom: 1px solid #e2e2e2;

  font-weight: 400;
  font-size: 2.2rem;

  line-height: 4.4rem;

  display: flex;
  align-items: center;

  gap: 0.2rem;
  color: #333333;
}

.breadcrumb .breadcrumb-link:hover {
  color: #06a1ff;
  text-decoration: underline;
}

/* main */
.main-wrapper {
  padding: 0 25rem;
}

.divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 6.8rem 0;
}

/* main-상품 소개 다운로드 */
.product-section {
  display: flex;
  flex-direction: column;
  gap: 5.7rem;
}

.product-section .product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 4.8rem 2.6rem;
}
.product-section .product-list .product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3.8rem;
}

.product-section .product-list .product-card .product-texts {
  color: #5c5c5c;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.product-section .product-list .product-card .product-texts h4 {
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 100%;
}

.product-section .product-list .product-card .product-texts p {
  font-weight: 300;
  font-size: 2.2rem;
  line-height: 2.75rem;
  word-break: break-word; /* 또는 break-all */
  overflow-wrap: break-word;
}

.product-section .product-list .product-card .download-btn {
  border: 2px solid #06a1ff;

  font-weight: 400;
  font-size: 2rem;
  line-height: 100%;

  color: #06a1ff;

  height: 6rem;
  padding: 1.8rem 2.4rem;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.product-section
  .product-list
  .product-card
  .download-btn
  .download-btn-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.product-section .product-list .product-card .download-btn .download-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-section .product-list .product-card .download-btn svg path {
  stroke: #06a1ff;
}

.product-section .product-list .product-card .download-btn:hover {
  color: #fff;
  background-color: #06a1ff;
}

.product-section .product-list .product-card .download-btn:hover svg path {
  stroke: #fff;
}

/* main-제휴제안 내용 */
.partnership-content {
  display: flex;
  flex-direction: column;
  gap: 6.3rem;
}

.partnership-content-header {
  display: flex;
  flex-direction: column;
  gap: 2.9rem;
}

.partnership-content-title {
  display: flex;
  align-items: end;
  gap: 2.6rem;
}

.partnership-content-title p {
  font-weight: 300;
  font-size: 2rem;
  line-height: 2.75rem;
  color: #333;
}

.partnership-content-description {
  font-weight: 400;
  font-size: 2.7rem;
  line-height: 3.6rem;
  color: #333;
}

.partnership-content-body {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.partnership-content-body-row {
  display: flex;
  gap: 2rem;
}

.partnership-content-body-row .form-field {
  flex: 1;
  width: 50%;
  min-width: 0; /* ✅ 내부 text-overflow 허용 */
}

/* main-제휴제안 업체 정보 */

.partnership-company-info {
  display: flex;
  flex-direction: column;
  gap: 6.3rem;
}

.partnership-company-info-body {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.partnership-company-info-body-row {
  display: flex;
  gap: 2rem;
}

.partnership-company-info-body-row .form-field {
  flex: 1;
  width: 50%;
}

/* main-이용약관 동의 */
.partnership-term {
  display: flex;
  flex-direction: column;
  gap: 6.3rem;
}
.partnership-term-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.term-item {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.term-item label {
  font-weight: 400;
  font-size: 2.7rem;
  line-height: 100%;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.term-item label input {
  width: 3.4rem;
  height: 3.4rem;
}
.terms-box {
  border: 2px solid #e0e0e0;
  padding: 2.8rem;
  height: 43.4rem;
  overflow-y: scroll;

  font-weight: 400;
  font-size: 2.2rem;
  line-height: 100%;
  color: #333;

  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.terms-box-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.terms-box-title {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 100%;
}

.terms-box-list {
  margin-left: 1.6rem;
}

/* footer */
footer {
  padding: 40px 0;
  background-color: #111;
}
footer div.footer-wrapper {
  width: 90%;
  max-width: 144rem;
  margin: 0 auto;
}
footer div.footer-wrapper h5 {
  text-align: center;
  color: #fff;
  letter-spacing: -1px;
  font-size: 1.6rem;
  line-height: 2rem;
}

/* 제휴제안 등록 완료 */

.partnership-proposal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.8rem;
}
.partnership-proposal-success-img {
  background-image: url("../../img/partnership-proposal/icon_completed.jpg");
  background-size: contain;
  width: 29.1rem;
  height: 23.966rem;
}
.partnership-proposal-success h2 {
  width: 100%;
}
.partnership-proposal-success p {
  font-weight: 400;
  font-size: 2.7rem;
  line-height: 4rem;
  color: #333333;
  width: 100%;
}

/* 커스텀 select */

.custom-select,
.selected-option,
.select-options {
  box-sizing: border-box;
}
.custom-select {
  position: relative;
  border: 2px solid #e0e0e0;
  font-weight: 400;
  font-size: 2.7rem;
  line-height: 100%;
  height: 8.2rem;
  cursor: pointer;
  padding: 2.6rem 3.2rem;
  user-select: none;
  width: 100%;
}

.selected-option::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 3.2rem;
  width: 0.8rem;
  height: 0.8rem;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-50%) rotate(45deg);
}
.select-options {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  min-width: calc(100% + 1rem);
  left: -5px;
  max-height: 38rem;
  overflow-y: auto;

  background: #fff;
  z-index: 10;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.select-options li {
  padding: 2.6rem 3.2rem;
  cursor: pointer;
}
.select-options li:hover {
  background-color: #f7f9ff;
  margin: 0.5rem 1rem;
  padding: 2.1rem 2.2rem;
}
.select-options li.active {
  color: #36b3ff;
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 100%;
}
.custom-select.open .select-options {
  display: block;
}

/* 커스텀 체크박스 */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
  font-size: 2.7rem;
  line-height: 100%;
}

.checkbox-wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: none;
}

.custom-checkbox {
  width: 3.4rem;
  height: 3.4rem;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fff;
  display: inline-block;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.8rem;
}

.checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='18' viewBox='0 0 20 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.7793 2.47656L9.7959 17.0957L0.171875 7.70117L2.96582 4.83887L9.17969 10.9043L16.4766 0.220703L19.7793 2.47656Z' fill='%2306A1FF'/%3E%3C/svg%3E");
}
