/* carry-core.com "/Account" (계좌 개설/Open Account) 페이지 본문 전용 스타일 — 실측 기반
   (2026-08-12 Playwright, carry-core.com/Account + engcarrycore.imweb.me/Account,
   desktop 1440/1728 + mobile iPhone13, KR/EN). 헤더/푸터는 main.css 공통. 동의 체크박스 +
   스크롤 가능한 약관 미리보기 박스(.ibform-legalbox 등)는 /24,/25와 동일한 컴포넌트라 main.css 공유.
   실측 확인: 히어로 배경(선물상자 사진)/혜택 패널 배경(보라-핑크 그라데이션 사진)/폼 섹션 배경
   (연한 하늘색 그라데이션 사진) 전부 CSS 그라데이션이 아니라 실제 PNG 배경 이미지. */

.accpage { background: #fff; }

/* ---------- hero ---------- */
.acchero-section {
  position: relative;
  background-image: url('/images/account/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 56px 24px 64px;
  text-align: center;
  color: #fff;
}
.acchero-icon { width: 80px; height: 80px; margin: 0 auto 24px; display: block; }
.acchero-heading { font-size: 60px; font-weight: 700; line-height: 1.1; margin: 0 0 20px; }
.acchero-sub p { font-size: 22px; font-weight: 700; line-height: 1.4; margin: 0; }
/* 실측 확인: EN 히어로 서브텍스트 4줄 중 1번째("Please fill out...")/4번째("Thank you")는 KR과
   동일하게 STRONG 22px/700(모바일 16px/700)인데, 2~3번째("A CarryCore representative..."/
   "to guide you...")만 SPAN 18px/400(모바일 15px/400)로 더 가벼움 — 페이지 전체가 아니라 줄
   단위로 다른 imweb 위젯 인스턴스가 섞여 들어간 것으로 추정, 실측값 그대로 재현. */
body.lang-en .acchero-sub p:nth-child(2), body.lang-en .acchero-sub p:nth-child(3) {
  font-size: 18px; font-weight: 400;
}

/* ---------- benefits panel (2단 보너스 블록) ---------- */
.accbenefits-section {
  position: relative;
  background-image: url('/images/account/benefits-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  color: #fff;
}
.accbenefits-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.accbenefits-heading { font-size: 60px; font-weight: 700; text-align: center; margin: 0 0 56px; }
.accbenefit-block { display: flex; align-items: center; gap: 60px; }
.accbenefit-block + .accbenefit-block { margin-top: 80px; }
.accbenefit-block.reverse { flex-direction: row-reverse; }
.accbenefit-visual { flex: 0 0 58%; max-width: 58%; }
.accbenefit-visual img { display: block; width: 100%; height: auto; }
.accbenefit-copy { flex: 1 1 0; }
.accbenefit-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFF7ED; border-radius: 999px; padding: 10px 20px;
  font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 32px;
}
.accbenefit-pill img { width: 32px; height: 32px; }
.accbenefit-items { display: flex; flex-direction: column; gap: 32px; }
.accbenefit-item { display: flex; align-items: flex-start; gap: 16px; }
.accbenefit-item img { width: 40px; height: 40px; flex-shrink: 0; }
.accbenefit-item p { margin: 0; font-size: 16px; font-weight: 400; color: #fff; line-height: 1.5; }

/* ---------- application form ---------- */
.accform-section {
  position: relative;
  background-image: url('/images/account/form-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
}
.accform-inner { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.accform-heading { font-size: 26px; font-weight: 700; color: #000; line-height: 1.2; margin: 0 0 40px; }
.accform-heading p { margin: 0; }
.accform-form { display: flex; flex-direction: column; gap: 24px; max-width: 720px; }
.accform-field { display: flex; flex-direction: column; gap: 8px; }
/* 실측 확인: 이 페이지의 폼은 /24,/25와 다른 imweb 네이티브 게시판(Bootstrap 기반 .form-control)
   위젯이라 입력창이 박스형(4방향 border+radius)이 아니라 밑줄형(border-bottom만)임. 배경색만
   #F8FAFC로 동일, 좌우 padding 없이 텍스트가 왼쪽에 붙음. */
.accform-field input, .accform-field select {
  border: none; border-bottom: 1px solid #E2E8F0; border-radius: 0; padding: 6px 0; font-size: 16px;
  font-family: inherit; background: #F8FAFC; width: 100%;
}
.accform-phone-group { display: flex; align-items: center; gap: 8px; }
.accform-phone-group input { flex: 1 1 0; text-align: center; }
.accform-phone-group span { color: #94A3B8; }
.accform-datetime-group { display: flex; align-items: center; gap: 12px; }
.accform-datetime-group input { flex: 1 1 0; }

/* 컬쳐캐피탈 /account 페이지와 동일한 커스텀 날짜/시간 선택 위젯(public/js/date-time-picker.js).
   네이티브 input[type=date/time] 대신 readonly 텍스트 입력 + 클릭 시 펼쳐지는 커스텀 캘린더/시간
   목록 — 브라우저마다 다른 네이티브 피커 UI 대신 KR/EN 모두 일관된 표시, 언어별(document.
   documentElement.lang) 포맷팅(월 이름/오전·오후 등)까지 스크립트가 처리. */
.dtpicker { position: relative; flex: 1; }
.dtpicker-input { width: 100%; cursor: pointer; background: #F8FAFC; }
.dtpicker-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12); padding: 12px; }
.dtpicker-panel.is-open { display: block; }
.dtpicker-cal-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: #0f172a; }
.dtpicker-panel .dtpicker-cal-header button { align-self: auto; background: none; border: none; font-size: 18px; line-height: 1; font-weight: 400; cursor: pointer; color: #64748b; padding: 4px 8px; border-radius: 6px; }
.dtpicker-panel .dtpicker-cal-header button:hover { background: #f1f5f9; }
.dtpicker-cal-grid { display: grid; grid-template-columns: repeat(7, 32px); gap: 2px; }
.dtpicker-cal-weekday { text-align: center; font-size: 11px; color: #94a3b8; font-weight: 700; padding: 4px 0; }
.dtpicker-panel .dtpicker-cal-day { align-self: auto; width: 32px; height: 32px; border: none; background: none; border-radius: 6px; font-size: 13px; font-weight: 400; cursor: pointer; color: #1e293b; padding: 0; }
.dtpicker-panel .dtpicker-cal-day:hover { background: #eff6ff; }
.dtpicker-panel .dtpicker-cal-day.is-today { font-weight: 800; color: #1d4ed8; }
.dtpicker-cal-day--empty { cursor: default; }
.dtpicker-time-list { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; min-width: 140px; }
.dtpicker-panel .dtpicker-time-item { align-self: auto; text-align: left; background: none; border: none; padding: 8px 10px; font-size: 13px; font-weight: 400; cursor: pointer; color: #1e293b; }
.dtpicker-panel .dtpicker-time-item:hover { background: #eff6ff; color: #1d4ed8; }

.accform-choice-group { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 2px; }
.accform-choice-group.stacked { flex-direction: column; gap: 10px; }
.accform-radio, .accform-checkitem {
  display: flex; align-items: center; gap: 8px; font-size: 16px; color: #000; cursor: pointer;
}
/* .accform-field input{width:100%} is a descendant selector — without this override it also
   stretches the nested checkbox/radio inputs to the full row width (real bug hit while building
   this page: 350px-wide invisible checkbox pushing its label text off to the right). */
.accform-radio input, .accform-checkitem input { margin: 0; width: auto; flex: 0 0 auto; }

/* .ibform-label/.ibform-consent/.ibform-legalbox/.ibform-checkbox/.ibform-submit는 main.css 공통(기본값은
   /24,/25 실측 기준: 15px/700 라벨 + 별표 "*" 필수표시 + 박스형 약관 박스 + 큰 필박스 제출버튼).
   실측 확인된 라이브 버그 아님, 진짜 차이: /account는 다른 imweb 네이티브 게시판 위젯이라 라벨/필수표시/
   약관박스/제출버튼 스타일이 전부 다름 — 아래에서 .accpage로 스코프해서 이 페이지에서만 재정의
   (main.css 공통 규칙은 /24,/25에 그대로 유지, 여기서 안 건드림). */
.accpage .ibform-label { font-size: 16px; font-weight: 400; }
/* 실측: 빨간 별표(*)가 아니라 지름 5px 빨간 원(<i class="icon-required">) */
.accpage .ibform-label em {
  font-style: normal; font-size: 0; display: inline-block; width: 5px; height: 5px;
  background: #F25656; border-radius: 50%; margin-left: 5px; vertical-align: 2px;
}
.accpage .ibform-legalbox {
  font-size: 16px; color: #62748E; border-radius: 0; padding: 10px; line-height: 1.4286;
}
.accpage .ibform-submit {
  font-size: 12px; font-weight: 400; letter-spacing: 1px; line-height: 1.4286;
  border-radius: 14px; padding: 10px 24px;
}
.accpage .ibform-checkbox { font-size: 16px; }

/* ============ mobile (<=720px) ============ */
@media (max-width: 720px) {
  .acchero-section { padding: 40px 20px 48px; }
  .acchero-icon { width: 64px; height: 64px; margin-bottom: 18px; }
  .acchero-heading { font-size: 30px; margin-bottom: 14px; }
  .acchero-sub p { font-size: 16px; }
  body.lang-en .acchero-sub p:nth-child(2), body.lang-en .acchero-sub p:nth-child(3) {
    font-size: 15px; font-weight: 400;
  }

  .accbenefits-section { padding: 48px 0; }
  .accbenefits-inner { padding: 0 20px; }
  .accbenefits-heading { font-size: 30px; margin-bottom: 36px; }
  .accbenefit-block, .accbenefit-block.reverse { flex-direction: column; gap: 24px; }
  .accbenefit-block + .accbenefit-block { margin-top: 48px; }
  .accbenefit-visual { flex: 0 0 auto; max-width: 100%; }
  .accbenefit-copy { width: 100%; }
  .accbenefit-pill { margin-bottom: 20px; }
  .accbenefit-items { gap: 20px; }

  .accform-section { padding: 48px 0; }
  .accform-inner { padding: 0 20px; }
  .accform-heading { font-size: 18px; margin-bottom: 28px; }
  .accform-form { max-width: 100%; gap: 20px; }
  .accform-choice-group { gap: 8px 20px; }
}
