/* PC 기본, 모바일 숨김 */
.showPc {
  display: block;
}
.showMobile {
  display: none;
}

/* 모바일일 때 반대로 */
@media (max-width: 767px) {
  .showPc {
    display: none;
  }
  .showMobile {
    display: block;
  }
}

/* 공통 배너 레이아웃 */
.event-section {
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
}
.event-image-box {
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  background: #ffffff;
}
.event-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.event-image-box--narrow {
  max-width: 600px;
}

/* CTA 버튼 */
.event-cta-btn {
  display: inline-block;
  margin-top: 1.2rem;
  border-radius: 30px !important;
}

/* 폼 영역 */
.event-form-area {
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.event-form-section {
  max-width: 600px;
  margin: 0 auto;
}
.event-form {
  max-width: 500px;
  margin: 0 auto;
}
.event-form .relative,
.event-form .input,
.event-form select {
  width: 100%;
}
.event-required {
  color: red;
  font-size: 0.9em;
}
.event-form-submit-wrap {
  text-align: center;
}
.event-form-submit {
  width: 100%;
  border-radius: 30px !important;
  background-color: #FAA61A;
  height: 70px;
  font-size: 2rem;
  padding: 0;
}
.event-form label {
  text-align: left;
  width: 100%;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* 반응형 폭 줄이기 */
@media (max-width: 900px) {
  .event-section {
    max-width: 500px;
  }
  .event-form-section {
    max-width: 500px;
  }
}
@media (max-width: 400px) {
  .event-section {
    max-width: 320px;
  }
  .event-form {
    max-width: 320px;
  }
  .event-form-submit {
    height: 56px;
    font-size: 1.6rem;
  }
}


/*============== 모달*/

/* ===== AI 이벤트 모달 ===== */
.auto-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

.auto-modal-overlay.visible {
  display: flex;
}

.auto-modal {
  background: #fff;
  max-width: 724px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
}

.auto-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #ddd;
}

.auto-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.auto-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.auto-modal-body {
  position: relative;
}

.auto-modal-image {
  width: 100%;
  display: block;
}

.auto-modal-float-btn {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.auto-modal-float-btn-image {
  width: 300px;
}
/* ===== /AI 이벤트 모달 ===== */
