/* ═══════════════════════════════════════════════════════════════
   이사허브 (MoveHub) — movehub.css
   AppTulz / apps/tools/movehub
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS 변수 ──────────────────────────────────────────────── */
:root {
  --mh-blue:   #2563EB;
  --mh-green:  #16A34A;
  --mh-red:    #DC2626;
  --mh-yellow: #CA8A04;
  --mh-bg:     #F8FAFC;
  --mh-border: #E2E8F0;
  --mh-radius: 12px;
}

/* ── 서브 네비게이션 ─────────────────────────────────────────── */
.movehub-subnav {
  background: #fff;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.movehub-subnav-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 500;
  color: #4B5563;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.movehub-subnav-link:hover {
  background: #F3F4F6;
  color: #111;
}

.movehub-subnav-link.active {
  background: #111827;
  color: #fff;
}

.movehub-subnav-link.movehub-subnav-cta {
  background: var(--mh-blue);
  color: #fff;
  margin-left: 4px;
}

.movehub-subnav-link.movehub-subnav-cta:hover,
.movehub-subnav-link.movehub-subnav-cta.active {
  background: #1d4ed8;
  color: #fff;
}

/* 스크롤바 숨기기 */
.movehub-subnav .d-flex {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.movehub-subnav .d-flex::-webkit-scrollbar { display: none; }

/* ── 히어로 섹션 ─────────────────────────────────────────────── */
.movehub-hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
  border: 1px solid #DBEAFE;
}

.movehub-hero-illust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}

.movehub-hero-box {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.movehub-hero-box--new {
  background: linear-gradient(135deg, #DBEAFE, #D1FAE5);
}

.movehub-hero-arrow {
  font-size: 1.5rem;
  color: #94A3B8;
}

/* ── 도구 카드 ───────────────────────────────────────────────── */
.movehub-tool-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius);
  color: #111;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.movehub-tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  border-color: #BFDBFE;
  color: #111;
}

.movehub-tool-card--cta {
  border-color: var(--mh-blue);
  background: linear-gradient(135deg, #EFF6FF, #fff);
}

.movehub-tool-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.movehub-tool-card-arrow {
  font-size: 1.3rem;
  color: #94A3B8;
  flex-shrink: 0;
  align-self: center;
}

/* ── 이용 흐름 스텝 ──────────────────────────────────────────── */
.movehub-step {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius);
}

.movehub-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── 체크리스트 ─────────────────────────────────────────────── */
.movehub-check-item {
  background: #fff;
  border: 1px solid var(--mh-border) !important;
  cursor: pointer;
  transition: background .1s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}

.movehub-check-item:hover {
  background: #F8FAFC;
  border-color: #BFDBFE !important;
}

.movehub-check-item.done {
  background: #F0FDF4;
  border-color: #BBF7D0 !important;
}

.movehub-check-item.done .movehub-check-text {
  text-decoration: line-through;
  color: #9CA3AF;
}

.movehub-checkbox:focus { box-shadow: none; }

.movehub-checklist-header {
  border-left: 3px solid var(--mh-blue);
  padding-left: .75rem;
}

/* ── 폼 컴포넌트 ─────────────────────────────────────────────── */
.movehub-form-label {
  font-size: .82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: .5rem;
  display: block;
}

.movehub-form-section {
  padding: 1.2rem;
  background: #F8FAFC;
  border-radius: 12px;
}

.movehub-form-section-title {
  font-size: .82rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: .75rem;
}

/* 라디오 카드 (세로) */
.movehub-radio-card {
  display: block;
  padding: .6rem .9rem;
  border: 1.5px solid var(--mh-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .12s, background .12s;
  font-size: .85rem;
  background: #fff;
  text-align: center;
}

.movehub-radio-card input[type="radio"] { display: none; }

.movehub-radio-card:has(input:checked) {
  border-color: var(--mh-blue);
  background: #EFF6FF;
  color: var(--mh-blue);
  font-weight: 600;
}

/* 라디오 카드 (가로형) */
.movehub-radio-card-h {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1rem;
  border: 1.5px solid var(--mh-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .12s, background .12s;
  font-size: .85rem;
  background: #fff;
}

.movehub-radio-card-h input[type="radio"] { display: none; }

.movehub-radio-card-h:has(input:checked) {
  border-color: var(--mh-blue);
  background: #EFF6FF;
}

.movehub-radio-card-h:has(input:checked)::before {
  content: '✓';
  color: var(--mh-blue);
  font-weight: 700;
  font-size: .9rem;
}

/* 체크 카드 */
.movehub-check-card {
  border: 1.5px solid var(--mh-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}

.movehub-check-card:has(input:checked) {
  border-color: var(--mh-blue);
  background: #EFF6FF;
}

/* ── 비용 계산기 ─────────────────────────────────────────────── */
.movehub-cost-range {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--mh-blue);
  line-height: 1.1;
}

.movehub-breakdown {
  padding: .8rem;
  background: #F8FAFC;
  border-radius: 8px;
}

/* ── 짐 계산기 ───────────────────────────────────────────────── */
.movehub-volume-item {
  background: #fff;
  transition: border-color .12s;
}

.movehub-volume-item:hover { border-color: #BFDBFE !important; }

.movehub-qty-ctrl {
  gap: 4px;
}

.movehub-qty-btn {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--mh-border);
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .1s;
  padding: 0;
}

.movehub-qty-btn:hover { background: #F3F4F6; }

.movehub-qty-input {
  width: 36px;
  border: 1.5px solid var(--mh-border);
  border-radius: 6px;
  font-size: .85rem;
  padding: 2px 4px;
}

.movehub-qty-input:focus {
  outline: none;
  border-color: var(--mh-blue);
}

/* 트럭 카드 */
.movehub-truck-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
  border-radius: 12px;
  border: 1px solid #BBF7D0;
}

.movehub-truck-icon {
  font-size: 2.5rem;
}

/* ── 결과 플레이스홀더 ────────────────────────────────────────── */
.movehub-result-placeholder {
  text-align: center;
  padding: 3rem 1rem;
  background: #F8FAFC;
  border-radius: var(--mh-radius);
  border: 2px dashed var(--mh-border);
}

/* ── 정보 박스 / 공지 박스 ───────────────────────────────────── */
.movehub-info-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: .9rem 1rem;
}

.movehub-notice-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: .75rem 1rem;
  color: #92400E;
}

/* ── SEO 콘텐츠 블록 ─────────────────────────────────────────── */
.movehub-seo-block {
  padding: 1.2rem 1.4rem;
  background: #F8FAFC;
  border-radius: var(--mh-radius);
  border-left: 3px solid var(--mh-blue);
}

/* ── CTA 박스 ────────────────────────────────────────────────── */
.movehub-cta-box {
  padding: 1.3rem 1.5rem;
  background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
  border-radius: var(--mh-radius);
  border: 1px solid #BFDBFE;
}

/* ── 대시보드 ────────────────────────────────────────────────── */
.movehub-request-row {
  transition: background .1s;
}

.movehub-request-row:hover {
  background: #F8FAFC;
}

.movehub-request-row--new {
  border-left: 3px solid var(--mh-red) !important;
}

.movehub-detail-field {
  background: #F8FAFC;
  border-radius: 8px;
  padding: .8rem 1rem;
}

.movehub-detail-label {
  font-size: .72rem;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.movehub-detail-value {
  font-weight: 600;
  font-size: .9rem;
  margin-top: 2px;
}

.movehub-phone-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}

/* ── 빈 상태 ─────────────────────────────────────────────────── */
.movehub-empty-state {
  background: #F8FAFC;
  border-radius: var(--mh-radius);
  padding: 3rem 2rem;
}

/* ── cursor ─────────────────────────────────────────────────── */
.cursor-pointer { cursor: pointer; }

/* ── 반응형 ──────────────────────────────────────────────────── */
@media (max-width: 575px) {
  .movehub-hero { padding: 1.5rem !important; }
  .movehub-cost-range { font-size: 1.7rem; }
}
