/* 온라인 AS 접수 (11/30 시안 3판) — as-intake.html */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; background: #eef2f8; color: #1f2937; line-height: 1.5; min-height: 100vh; }
button, input, textarea, select { font-family: inherit; }
.wrap { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #eef2f8; padding-bottom: 40px; }
.top { background: #0d1b2a; color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.top img { width: 34px; height: 34px; background: #fff; border-radius: 8px; padding: 3px; }
.top b { font-size: 16px; }
.top small { display: block; color: #cbd5e1; font-size: 12px; }
.body { padding: 14px 16px 22px; }
.state { text-align: center; padding: 56px 16px; color: #555; }
.state.bad { color: #b91c1c; font-weight: 700; }
.state a { display: inline-block; margin-top: 14px; color: #0f766e; font-weight: 800; }
.hello { font-size: 18px; font-weight: 800; color: #0d1b2a; }
.lead { font-size: 13px; color: #64748b; margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kakao { width: 100%; padding: 14px 0; border: 0; border-radius: 12px; background: #fee500; color: #191600; font-size: 16.5px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.kakao small { font-weight: 400; font-size: 12px; color: #4b4500; }
.nok { display: block; width: 100%; background: none; border: 0; text-align: center; margin-top: 8px; font-size: 13.5px; color: #334155; text-decoration: underline; cursor: pointer; padding: 4px 0; }
.or { text-align: center; color: #94a3b8; font-size: 12px; margin: 10px 0 0; }
.filled { margin-top: 10px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 9px 11px; font-size: 13.5px; color: #78350f; }
label { display: block; font-size: 13px; color: #475569; margin: 12px 0 5px; font-weight: 700; }
label i { font-style: normal; font-weight: 400; color: #94a3b8; }
input[type=text], input[type=tel], input[type=date], textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 12px; font-size: 16px; background: #fff; }
textarea { min-height: 60px; resize: vertical; margin-top: 8px; }
.mt6 { margin-top: 6px; }
.mt0 { margin-top: 0 !important; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid #cbd5e1; background: #fff; border-radius: 999px; padding: 7px 11px; font-size: 14px; cursor: pointer; color: #1f2937; }
.chips button.on { border-color: #ea580c; background: #ffedd5; color: #9a3412; font-weight: 700; }
.seg { display: flex; gap: 6px; }
.seg button { flex: 1; padding: 10px 0; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; font-size: 14.5px; cursor: pointer; color: #1f2937; }
.seg button.on { border-color: #ea580c; background: #ffedd5; color: #9a3412; font-weight: 700; }
.seg button small { display: block; font-size: 11px; color: #64748b; font-weight: 400; }
.addr { display: flex; gap: 6px; }
.addr input { flex: 1; min-width: 0; }
.addr button { border: 0; background: #334155; color: #fff; border-radius: 10px; padding: 0 12px; cursor: pointer; white-space: nowrap; }
.ship { background: #fff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 12px; margin-top: 10px; font-size: 13.5px; }
.ship h4 { font-size: 14px; color: #1e3a8a; margin-bottom: 6px; }
.ship .addrline { background: #eff6ff; border-radius: 8px; padding: 8px 10px; margin: 6px 0; line-height: 1.6; word-break: keep-all; }
.ship .copy { border: 0; background: #1d4ed8; color: #fff; border-radius: 8px; padding: 7px 10px; font-size: 13px; cursor: pointer; }
.ship .must { margin-top: 8px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 8px; padding: 8px 10px; font-weight: 700; }
.ship ol { margin: 6px 0 0 18px; color: #334155; }
.ship ol li { margin: 2px 0; }
.ship .fee { margin-top: 6px; color: #475569; }
.dchips { display: flex; gap: 6px; flex-wrap: wrap; }
.dchips button { border: 1px solid #cbd5e1; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 13.5px; cursor: pointer; color: #1f2937; }
.dchips button.on { border-color: #ea580c; background: #ffedd5; color: #9a3412; font-weight: 700; }
.dchips button small { display: block; font-size: 11px; color: #64748b; font-weight: 400; }
.hope { margin-top: 8px; font-size: 12.5px; background: #f8fafc; border: 1px solid #e2e8f0; border-left: 4px solid #f59e0b; border-radius: 8px; padding: 9px 10px; color: #475569; }
.hope b { color: #92400e; }
.photo { border: 1px dashed #94a3b8; border-radius: 10px; padding: 10px; text-align: center; color: #64748b; font-size: 13.5px; background: #fff; font-weight: 400; cursor: pointer; margin-top: 0; }
.photos { display: flex; gap: 8px; margin-bottom: 6px; }
.photos:empty { display: none; }
.thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f0; background: #f1f5f9; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(15,23,42,.7); color: #fff; font-size: 14px; line-height: 22px; cursor: pointer; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #475569; margin-top: 14px; }
.agree input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.agree label { margin: 0; font-weight: 400; font-size: 13px; }
.agree.need { border: 2px solid #dc2626; border-radius: 10px; padding: 8px; background: #fef2f2; animation: shake .35s; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.agreeMore { font-size: 12.5px; color: #475569; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 9px 10px; margin-top: 6px; }
.linkbtn { background: none; border: 0; color: #0c447c; text-decoration: underline; cursor: pointer; font-size: 13px; padding: 2px 0; }
.linkbtn.center { display: block; margin: 14px auto 0; }
.submit { width: 100%; margin-top: 14px; padding: 15px 0; border: 0; border-radius: 12px; background: #ea580c; color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; }
.submit:disabled { opacity: .55; }
.flex1 { flex: 1; width: auto; }
.note { font-size: 12px; color: #64748b; margin-top: 8px; text-align: center; }
.err { color: #b91c1c; font-size: 14px; margin-top: 8px; font-weight: 700; text-align: center; }
.small { margin-top: 8px; font-size: 13px; color: #475569; }
.small.blue { color: #1e3a8a; }
.muted { font-size: 13px; color: #64748b; }
.sum { font-size: 14.5px; margin-top: 4px; }
.card { display: block; background: #fff; border-radius: 14px; padding: 16px; margin-top: 10px; border: 1px solid #e2e8f0; color: inherit; text-decoration: none; }
.big { font-size: 19px; font-weight: 800; color: #0d1b2a; }
.no { display: inline-block; margin-top: 6px; font-size: 13px; background: #f1f5f9; border-radius: 8px; padding: 3px 9px; color: #334155; }
.no:empty { display: none; }
.prog { position: relative; margin: 16px 0 4px; }
.bar { height: 6px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #10b981, #ea580c); transition: width 1s ease; position: relative; }
.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shine 1.6s infinite; }
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.dots { display: flex; justify-content: space-between; margin-top: -15px; }
.dot { width: 24px; height: 24px; border-radius: 50%; background: #e2e8f0; color: #64748b; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; transition: background .4s; }
.dot.done { background: #10b981; color: #fff; }
.dot.now { background: #ea580c; color: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(234,88,12,.55); } 70% { box-shadow: 0 0 0 10px rgba(234,88,12,0); } 100% { box-shadow: 0 0 0 0 rgba(234,88,12,0); } }
.dlabels { display: flex; justify-content: space-between; font-size: 11px; color: #64748b; margin-top: 4px; }
.dlabels span { width: 25%; text-align: center; }
.dlabels span:first-child { text-align: left; }
.dlabels span:last-child { text-align: right; }
.dlabels .now { color: #9a3412; font-weight: 800; }
.live { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 11px 12px; color: #7c2d12; }
.live .spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fed7aa; border-top-color: #ea580c; animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.feed { margin-top: 10px; font-size: 13px; color: #475569; }
.feed div { display: flex; gap: 8px; padding: 3px 0; animation: fadein .4s ease; }
.feed b { color: #10b981; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ghost { display: block; width: 100%; margin-top: 10px; padding: 11px 0; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: #334155; font-size: 14.5px; cursor: pointer; text-align: center; text-decoration: none; }
.row2 { display: flex; gap: 8px; }
.row2 > * { flex: 1; }
.activeBox { margin-top: 12px; background: #fff7ed; border: 1px solid #fdba74; border-radius: 12px; padding: 12px; font-size: 14px; color: #7c2d12; }
.activeBox .row2 { flex-wrap: wrap; }
.okbox { margin-top: 10px; font-size: 14px; background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; border-radius: 12px; padding: 14px; text-align: center; }
.okbox .big { color: #065f46; }
.check { width: 56px; height: 56px; margin: 0 auto 6px; display: block; }
.check circle { stroke: #10b981; stroke-width: 4; fill: none; stroke-dasharray: 166; stroke-dashoffset: 166; animation: draw .6s ease forwards; }
.check path { stroke: #10b981; stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .4s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.act { display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 6px; text-align: center; font-size: 13.5px; font-weight: 700; color: #0f172a; text-decoration: none; }
.act .ic { display: block; font-size: 22px; }
.act.call { background: #0f766e; color: #fff; border-color: #0f766e; }
.act.call small { display: block; font-weight: 400; font-size: 11px; color: #ccfbf1; }
.act.off { opacity: .5; pointer-events: none; }
.shop { text-align: center; padding: 12px; }
.shopGo { font-weight: 800; color: #0c447c; margin-top: 2px; }
.pill { display: inline-block; font-size: 11px; font-weight: 900; background: #dbeafe; color: #1d4ed8; padding: 4px 10px; border-radius: 999px; margin: 14px 0 8px; }
.terms { font-size: 12.5px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px; max-height: 200px; overflow: auto; color: #475569; white-space: pre-wrap; }
.pad { width: 100%; height: 150px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; touch-action: none; display: block; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #0d1b2a; color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 14px; z-index: 60; max-width: 90vw; text-align: center; }
.pc-layer { position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 12px; }
.pc-box { background: #fff; width: 100%; max-width: 440px; height: min(560px, 88vh); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.pc-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-weight: 700; border-bottom: 1px solid #e2e8f0; }
.pc-top button { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; }
#pcWrap { flex: 1; }
.hidden { display: none !important; }
