* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: #fff;
  font-family: sans-serif;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.banner-container {
  max-width: 450px;
  margin: 0 auto;
}

.image-wrapper {
  position: relative;
}

.banner-img {
  width: 100%;
  display: block;
}

.banner-form {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px 10px;
  background: rgba(99, 93, 93, 0.85);
  z-index: 10;
  backdrop-filter: blur(5px);
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.banner-form input[type="text"],
.banner-form input[type="tel"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ccc;
  color: gray;
  font-size: 14px;
  min-width: 0;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #fff;
}

.checkbox-wrapper input {
  margin-right: 6px;
  width: 16px;
  height: 16px;
}

.select-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  color: gray;
  background-color: #fff;
  border: 1px solid #ccc;
  cursor: pointer;
  min-width: 0;
}

.select-button img {
  width: 16px;
  height: auto;
}

.btn-submit-image {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-submit-image img {
  width: 120px;
  height: auto;
  display: block;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* 팝업 */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(90%, 360px);
  transform: translate(-50%, -50%);
  z-index: 999;
  display: none;
}

.popup-bg {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  display: block;
}

.option-list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 16px 20px;
  list-style: none;
  color: #000;
  font-size: 15px;
}

.option-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  cursor: pointer;
  font-size: 22px;
}

.option-list li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('/landing/bast/event_form_49/images/49event_5.jpg');
  background-size: contain;
  margin-right: 10px;
}

.option-list li.selected::before {
  background-image: url('/landing/bast/event_form_49/images/49event_4.jpg');
}

/* 딤드 */
.dimmed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  display: none;
}

.banner-form input[type="text"],
.banner-form input[type="tel"] {
  font-size: 16px;
  border-radius: 0;
}

/* 이름 input만 너비 조정 */
.form-row input[name="이름"] {
  flex: 0 0 80px;
}
