@charset "UTF-8";

/* ==============================================================
   마라톤 접수 페이지 추가 및 보완 스타일 (styles/marathon.css)
   ============================================================== */

/* 캡챠 영역 */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-img-wrap {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #ced7e5;
  background-color: #f5f7fc;
  cursor: pointer;
}

.captcha-img {
  display: block;
  width: 130px;
  height: 44px;
}

.btn-captcha-refresh {
  min-height: 44px;
  padding: 0 14px;
  background-color: #eaf0ff;
  color: #2548d9;
  border: 1px solid #c7d7ff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-captcha-refresh:hover {
  background-color: #2548d9;
  color: #ffffff;
}

.captcha-box input[type="text"] {
  flex: 1 1 140px;
  min-width: 130px;
  text-transform: uppercase;
}

/* 완료 화면 알림 */
.done-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: #e6ff1f;
  color: #14213d;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.done-desc {
  font-size: 16px;
  color: #33445c;
  line-height: 1.6;
}

.done-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

/* 접수 기간 상태 알림 배너 */
.apply-status-banner {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.apply-status-banner.open {
  background-color: #eaf0ff;
  color: #1a36b0;
  border: 1px solid #b9c8ff;
}

.apply-status-banner.closed {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.apply-status-banner.before {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* ==============================================================
   반응형 미디어 쿼리 (Breakpoints)
   ============================================================== */

/* ~ 1400px */
@media (max-width: 1400px) {
}

/* ~ 1300px */
@media (max-width: 1300px) {
}

/* ~ 1200px */
@media (max-width: 1200px) {
}

/* ~ 1100px */
@media (max-width: 1100px) {
}

/* ~ 960px (모바일 UI/레이아웃 전환 기준점) */
@media (max-width: 960px) {
  .captcha-box {
    gap: 8px;
  }
}

/* ~ 768px */
@media (max-width: 768px) {
  .captcha-box {
    width: 100%;
  }
}

/* ~ 640px */
@media (max-width: 640px) {
  .captcha-img {
    width: 120px;
    height: 42px;
  }
  .btn-captcha-refresh {
    min-height: 42px;
    padding: 0 10px;
    font-size: 13px;
  }
}

/* ~ 480px */
@media (max-width: 480px) {
  .captcha-box {
    flex-direction: column;
    align-items: stretch;
  }
  .captcha-img-wrap {
    align-self: flex-start;
  }
  .btn-captcha-refresh {
    width: 100%;
  }
}

/* ~ 360px */
@media (max-width: 360px) {
  .captcha-img {
    width: 110px;
    height: 40px;
  }
}

/* ~ 320px */
@media (max-width: 320px) {
}

/* ~ 1100px: 기존 모바일 플로팅 전환 구간에 맞춰 참가신청 영역에서 숨김 */
@media (max-width: 1099.98px) {
  #mCta.is-apply-reached {
    display: none;
  }
}

/* 전시업체 여부 선택에 따른 참가비 안내 */
.field .hint{font-size:13px;color:var(--muted)}
.field .hint.on{color:#B5461A;font-weight:700}
