/*
 * 앱 기기 등록(페어링) 페이지 — /apps/pair (2026-07-26)
 * 앱 종류와 무관한 단일 화면. 구 `_work_device.css`(.wd-*)를 대체한다.
 */
.pair-page { margin: 0; padding: 40px 16px 56px; background: #f4f5f7; color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", sans-serif; }
.pair-wrap { max-width: 520px; margin: 0 auto; }
.pair-brand { text-align: center; font-size: 13px; font-weight: 800; color: #64748b; margin-bottom: 14px; }
.pair-brand span { color: #2563eb; }

.pair-card { background: #fff; border: 1px solid #e6e8ec; border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.pair-steps { border: none; border-bottom: 1px solid #eef2f7; border-radius: 0; justify-content: center; }
.pair-body { padding: 26px 28px 28px; text-align: center; }

.pair-app { display: inline-block; padding: 3px 11px; margin-bottom: 12px; border-radius: 999px;
  background: #eff6ff; color: #1d4ed8; font-size: 11.5px; font-weight: 800; }
.pair-body h1 { margin: 0 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.35; }
.pair-lead { margin: 0; font-size: 13px; color: #475569; line-height: 1.7; }

.pair-mark { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 24px; font-weight: 800; }
.pair-mark.ok { background: #dcfce7; color: #15803d; }
.pair-mark.ok svg { width: 26px; height: 26px; }
.pair-mark.warn { background: #fef3c7; color: #b45309; }

/* 정보 요약 — 라벨/값 행 */
.pair-info { margin: 18px 0 0; padding: 12px 14px; background: #f8fafc; border: 1px solid #eef2f7;
  border-radius: 12px; text-align: left; }
.pair-info > div { display: flex; align-items: baseline; gap: 12px; padding: 5px 0; }
.pair-info dt { flex: 0 0 84px; margin: 0; font-size: 11.5px; color: #94a3b8; }
.pair-info dd { flex: 1; min-width: 0; margin: 0; font-size: 12.5px; font-weight: 600; color: #0f172a;
  word-break: break-all; }
.pair-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px;
  letter-spacing: 2px; font-weight: 800; color: #1d4ed8; }

/* 워크스페이스 선택 */
.pair-form { margin-top: 18px; text-align: left; }
.pair-pick { padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; }
.pair-pick-label { font-size: 12px; font-weight: 700; color: #374151; margin-bottom: 8px; }
.pair-pick-label small { font-weight: 400; color: #94a3b8; margin-left: 4px; }
.pair-pick-item { display: flex; align-items: center; gap: 9px; padding: 9px 11px; margin-bottom: 6px;
  border: 1px solid #e5e7eb; border-radius: 9px; background: #fff; font-size: 13px; color: #0f172a; cursor: pointer; }
.pair-pick-item:hover { border-color: #bfdbfe; background: #f8fbff; }
.pair-pick-item input { accent-color: #2563eb; margin: 0; cursor: pointer; }
.pair-pick-item:has(input:checked) { border-color: #93c5fd; background: #eff6ff; font-weight: 600; }
.pair-hint { margin: 4px 0 0; font-size: 10.5px; color: #94a3b8; line-height: 1.6; }

.pair-notes { margin: 16px 0 0; padding-left: 18px; }
.pair-notes li { font-size: 12px; color: #475569; line-height: 1.75; margin: 3px 0; }

.pair-btn { display: block; width: 100%; margin-top: 18px; padding: 14px; border: none; border-radius: 12px;
  background: #2563eb; color: #fff; font-size: 15px; font-weight: 800; cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.15s; }
.pair-btn:hover { background: #1d4ed8; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25); }
.pair-warn { margin: 10px 0 0; text-align: center; font-size: 11px; color: #b45309; line-height: 1.6; }
.pair-foot { margin: 16px 0 0; font-size: 11.5px; color: #94a3b8; line-height: 1.7; }
.pair-foot a { color: #2563eb; }

@media (max-width: 520px) {
  .pair-page { padding: 24px 12px 36px; }
  .pair-body { padding: 22px 18px 24px; }
  .pair-body h1 { font-size: 19px; }
  .pair-info dt { flex-basis: 72px; }
}
