/* ── 공통 기반 ─────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', 'Apple SD Gothic Neo', sans-serif; background: #f5f6fa; color: #1a1a2e; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; outline: none; }

/* ── 사이드바 레이아웃 (Admin / Counselor) ──────────────────────────────── */
.platform-layout { display: flex; min-height: 100vh; }
.sidebar { width: 230px; color: #fff; display: flex; flex-direction: column; padding: 0; position: fixed; top: 0; left: 0; height: 100vh; }
.sidebar-admin    { background: linear-gradient(180deg, #1a2340 0%, #0f1628 100%); }
.sidebar-counselor { background: linear-gradient(180deg, #2d1b4e 0%, #1a0a2e 100%); }
.sidebar-logo { display: flex; align-items: center; gap: 10px; padding: 24px 20px; font-size: 16px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.1); }
.logo-icon { font-size: 22px; }
.nav-menu { list-style: none; padding: 12px 0; flex: 1; }
.nav-item { }
.nav-link { display: block; padding: 12px 20px; color: rgba(255,255,255,0.75); font-size: 14px; transition: all 0.2s; border-left: 3px solid transparent; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); border-left-color: #fff; }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.15); border-left-color: #fff; font-weight: 700; }
.sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-user { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.sidebar-role { display: block; font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.btn-logout { width: 100%; padding: 8px; background: rgba(255,255,255,0.1); color: #fff; border-radius: 6px; font-size: 13px; transition: 0.2s; }
.btn-logout:hover { background: rgba(255,255,255,0.2); }
.main-content { margin-left: 230px; flex: 1; padding: 32px; min-height: 100vh; }

/* ── 고객 헤더 레이아웃 ─────────────────────────────────────────────────── */
.client-layout { display: flex; flex-direction: column; min-height: 100vh; }
.client-header { background: #fff; border-bottom: 1px solid #e8e8f0; position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.header-logo { font-size: 20px; font-weight: 800; color: #2d7a4f; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-link { font-size: 14px; color: #444; font-weight: 500; }
.header-link:hover { color: #2d7a4f; }
.route-badge { background: #fff8e1; padding: 6px 12px; border-radius: 20px; color: #d4900c; font-weight: 600; }
.header-user-menu { display: flex; align-items: center; gap: 12px; }
.header-username { font-weight: 600; font-size: 14px; }
.btn-text { background: none; color: #888; font-size: 13px; }
.btn-login  { padding: 8px 16px; background: #f0f4ff; color: #2563eb; border-radius: 8px; font-weight: 600; font-size: 14px; }
.btn-signup { padding: 8px 16px; background: #2d7a4f; color: #fff; border-radius: 8px; font-weight: 600; font-size: 14px; }
.client-main { flex: 1; max-width: 1100px; margin: 0 auto; width: 100%; padding: 0 24px 48px; }
.client-footer { text-align: center; padding: 24px; color: #aaa; font-size: 13px; border-top: 1px solid #eee; }

/* ── 히어로 ─────────────────────────────────────────────────────────────── */
.client-hero { background: linear-gradient(135deg, #2d7a4f 0%, #1a4d31 100%); color: #fff; border-radius: 16px; padding: 60px 40px; margin: 32px 0 40px; text-align: center; }
.hero-title { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.hero-sub { font-size: 17px; opacity: 0.85; margin-bottom: 28px; }
.btn-hero { display: inline-block; background: #fff; color: #2d7a4f; padding: 14px 32px; border-radius: 30px; font-weight: 700; font-size: 16px; }

/* ── 상담사 카드 ─────────────────────────────────────────────────────────── */
.counselor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.counselor-card { background: #fff; border-radius: 14px; padding: 20px; display: flex; gap: 16px; cursor: pointer; transition: 0.2s; border: 1px solid #eee; }
.counselor-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); transform: translateY(-2px); }
.counselor-avatar { flex-shrink: 0; }
.counselor-avatar img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.avatar-placeholder { width: 64px; height: 64px; border-radius: 50%; background: #e8f0fe; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; color: #2563eb; }
.counselor-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.counselor-intro { font-size: 13px; color: #666; margin-bottom: 8px; line-height: 1.5; }
.counselor-meta { display: flex; gap: 12px; font-size: 12px; color: #888; margin-bottom: 8px; }
.rating { color: #d4900c; font-weight: 600; }
.tag-list { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.tag { background: #f0f4ff; color: #2563eb; border-radius: 20px; padding: 2px 10px; font-size: 11px; }
.service-prices { display: flex; flex-wrap: wrap; gap: 4px; }
.price-chip { background: #f0fdf4; color: #2d7a4f; border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 600; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.status-dot.green { background: #22c55e; }
.status-dot.blue  { background: #3b82f6; }

/* ── 서비스 소개 ─────────────────────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: #fff; border-radius: 14px; padding: 28px 20px; text-align: center; border: 1px solid #eee; }
.service-icon { font-size: 36px; margin-bottom: 12px; }
.service-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.service-desc { font-size: 13px; color: #888; }

/* ── 통계 카드 ─────────────────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.stat-card { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #eee; }
.stat-number { font-size: 32px; font-weight: 800; color: #2563eb; }
.stat-label  { font-size: 13px; color: #888; margin-top: 4px; }
.stat-link   { display: inline-block; font-size: 12px; color: #2563eb; margin-top: 8px; }

/* ── 로그인 폼 ─────────────────────────────────────────────────────────── */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-admin    { background: linear-gradient(135deg, #1a2340, #0f1628); }
.login-counselor{ background: linear-gradient(135deg, #2d1b4e, #1a0a2e); }
.login-client   { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.login-card { background: #fff; border-radius: 20px; padding: 40px; width: 100%; max-width: 400px; }
.login-back { display: block; font-size: 13px; color: #888; margin-bottom: 20px; }
.login-logo { font-size: 48px; text-align: center; margin-bottom: 12px; }
.login-title { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 24px; }
.login-help { text-align: center; font-size: 13px; color: #888; margin-top: 16px; }
.login-help a { color: #2563eb; }
.alert-error { background: #fff0f0; color: #c0392b; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }

/* ── 공통 폼 ─────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.form-input { width: 100%; padding: 10px 12px; border: 1px solid #dde; border-radius: 8px; font-size: 14px; background: #fafafa; }
.form-input:focus { outline: none; border-color: #2563eb; background: #fff; }

/* ── 버튼 ─────────────────────────────────────────────────────────────── */
.btn-primary { padding: 11px 20px; background: #2563eb; color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; transition: 0.2s; }
.btn-primary:hover { background: #1d4ed8; }
.btn-primary.btn-counselor { background: #7c3aed; }
.btn-primary.btn-counselor:hover { background: #6d28d9; }
.btn-primary.btn-green { background: #2d7a4f; }
.btn-primary.btn-green:hover { background: #1f5c3a; }
.btn-full { width: 100%; }
.btn-sm { padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.btn-green { background: #dcfce7; color: #15803d; }
.btn-red   { background: #fee2e2; color: #dc2626; }
.btn-gray  { background: #f3f4f6; color: #6b7280; }

/* ── 테이블 ─────────────────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.data-table th { background: #f8f9fa; padding: 12px 16px; text-align: left; font-size: 12px; color: #888; font-weight: 600; }
.data-table td { padding: 13px 16px; border-top: 1px solid #f0f0f0; font-size: 14px; }
.data-table tr:hover { background: #fafafa; }
.action-cell { display: flex; gap: 6px; }
.memo-cell { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 배지 ─────────────────────────────────────────────────────────────── */
.badge { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-green  { background: #dcfce7; color: #15803d; }
.badge-orange { background: #fff7ed; color: #c2410c; }
.badge-blue   { background: #eff6ff; color: #1d4ed8; }
.badge-gray   { background: #f3f4f6; color: #6b7280; }

/* ── 탭 ─────────────────────────────────────────────────────────────────── */
.tab-bar { display: flex; gap: 4px; margin-bottom: 20px; background: #f0f2f5; border-radius: 10px; padding: 4px; }
.tab { padding: 8px 16px; border-radius: 7px; font-size: 13px; font-weight: 500; color: #666; background: none; transition: 0.2s; }
.tab.active { background: #fff; color: #2563eb; font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

/* ── 필터 바 ─────────────────────────────────────────────────────────────── */
.filter-bar { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-row { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; }
.search-input { max-width: 280px; }

/* ── 섹션 ─────────────────────────────────────────────────────────────── */
.client-section { margin-bottom: 48px; }
.section-heading { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.section-title { font-size: 16px; font-weight: 700; color: #333; }
.page-title { font-size: 24px; font-weight: 800; margin-bottom: 24px; }

/* ── 상태 패널 (상담사 대시보드) ──────────────────────────────────────── */
.status-panel { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #eee; }
.status-row { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.status-label { width: 100px; font-size: 14px; font-weight: 600; color: #555; flex-shrink: 0; }
.status-select { width: 200px; }

/* ── 토스트 ─────────────────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); background: #1a1a2e; color: #fff; padding: 12px 24px; border-radius: 24px; font-size: 14px; z-index: 9999; animation: fadein 0.3s; }
@keyframes fadein { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ── 공통 ─────────────────────────────────────────────────────────────── */
.loading { text-align: center; padding: 60px; color: #aaa; }
.empty   { text-align: center; padding: 40px; color: #bbb; font-size: 14px; }
.mt-8    { margin-top: 8px; }
.text-red { color: #dc2626; font-size: 13px; }

/* ── 상담사 상세 ─────────────────────────────────────────────────────────── */
.counselor-detail-wrap { max-width: 800px; }
.detail-header { display: flex; gap: 24px; background: #fff; border-radius: 16px; padding: 28px; margin-bottom: 24px; border: 1px solid #eee; }
.detail-avatar img, .avatar-lg { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.avatar-lg { font-size: 36px; }
.detail-header-info { flex: 1; }
.detail-name { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.detail-meta { display: flex; gap: 16px; font-size: 13px; color: #888; margin-bottom: 8px; }
.detail-intro { font-size: 14px; color: #555; margin-top: 8px; line-height: 1.6; }
.detail-section { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #eee; margin-bottom: 16px; }
.detail-text { font-size: 14px; color: #555; line-height: 1.8; }
.detail-item { font-size: 14px; color: #444; padding: 6px 0; border-bottom: 1px solid #f5f5f5; }
.detail-item:last-child { border-bottom: none; }

/* ── 서비스 선택 카드 ────────────────────────────────────────────────────── */
.service-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.service-select-card { border: 2px solid #e5e7eb; border-radius: 12px; padding: 16px; cursor: pointer; transition: 0.2s; }
.service-select-card:hover { border-color: #2d7a4f; }
.service-select-card.selected { border-color: #2d7a4f; background: #f0fdf4; }
.ss-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.ss-desc { font-size: 12px; color: #888; margin-bottom: 8px; }
.ss-price { font-size: 16px; font-weight: 800; color: #2d7a4f; }

/* ── 날짜/슬롯 선택 ─────────────────────────────────────────────────────── */
.date-picker-row { display: flex; gap: 6px; flex-wrap: wrap; }
.date-btn { display: flex; flex-direction: column; align-items: center; padding: 8px 12px; border: 2px solid #e5e7eb; border-radius: 10px; background: #fff; cursor: pointer; min-width: 52px; transition: 0.2s; }
.date-btn:hover, .date-btn.selected { border-color: #2d7a4f; background: #f0fdf4; }
.date-day { font-size: 11px; color: #888; }
.date-num { font-size: 16px; font-weight: 700; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-btn { padding: 8px 16px; border: 2px solid #e5e7eb; border-radius: 8px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; transition: 0.2s; }
.slot-btn:hover, .slot-btn.selected { border-color: #2d7a4f; background: #f0fdf4; color: #2d7a4f; }

/* ── 예약 요약 ──────────────────────────────────────────────────────────── */
.booking-summary { background: #f8fffe; border: 1px solid #d1fae5; border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }

/* ── 가격 칩 (크게) ────────────────────────────────────────────────────── */
.price-chip-lg { display: inline-flex; flex-direction: column; align-items: center; background: #f0fdf4; border: 1px solid #d1fae5; border-radius: 12px; padding: 10px 16px; min-width: 90px; }
.chip-name { font-size: 12px; color: #555; margin-bottom: 2px; }
.chip-price { font-size: 15px; font-weight: 800; color: #2d7a4f; }

/* ── 후기 카드 ──────────────────────────────────────────────────────────── */
.review-card { background: #fff; border-radius: 12px; padding: 16px; border: 1px solid #eee; margin-bottom: 12px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-date { font-size: 12px; color: #aaa; margin-left: auto; }
.review-body { font-size: 14px; color: #555; line-height: 1.6; }

/* ── 예약 목록 ──────────────────────────────────────────────────────────── */
.booking-list { display: flex; flex-direction: column; gap: 12px; }
.booking-card { background: #fff; border-radius: 12px; padding: 18px; border: 1px solid #eee; cursor: pointer; transition: 0.2s; }
.booking-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.booking-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.booking-date { font-size: 12px; color: #aaa; margin-left: auto; }
.booking-counselor { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.booking-service { font-size: 13px; color: #666; margin-bottom: 4px; }
.booking-time { font-size: 13px; color: #888; }

/* ── 예약 상세 ──────────────────────────────────────────────────────────── */
.info-row { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
.info-row span:first-child { width: 80px; color: #888; flex-shrink: 0; }
.chat-box { max-height: 400px; overflow-y: auto; border: 1px solid #eee; border-radius: 10px; padding: 12px; background: #fafafa; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { display: flex; flex-direction: column; max-width: 75%; }
.chat-user { align-self: flex-end; align-items: flex-end; }
.chat-counselor { align-self: flex-start; align-items: flex-start; }
.chat-bubble { padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.chat-user .chat-bubble { background: #2d7a4f; color: #fff; border-bottom-right-radius: 4px; }
.chat-counselor .chat-bubble { background: #fff; border: 1px solid #e5e7eb; border-bottom-left-radius: 4px; }
.chat-time { font-size: 11px; color: #aaa; margin-top: 2px; }

/* ── 모달 ────────────────────────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal-card { background: #fff; border-radius: 16px; padding: 28px; width: 100%; max-width: 420px; }
.modal-title { font-size: 18px; font-weight: 800; margin-bottom: 20px; }

/* ── 별점 ────────────────────────────────────────────────────────────────── */
.star-row { display: flex; align-items: center; gap: 4px; }
.star-btn { font-size: 28px; background: none; color: #ddd; transition: 0.1s; padding: 0 2px; }
.star-btn.active { color: #f59e0b; }

/* ── 루트 충전 ──────────────────────────────────────────────────────────── */
.route-balance-card { background: linear-gradient(135deg, #2d7a4f, #1a4d31); color: #fff; border-radius: 16px; padding: 28px 32px; margin-bottom: 24px; }
.route-balance-label { font-size: 14px; opacity: 0.8; margin-bottom: 4px; }
.route-balance-num { font-size: 48px; font-weight: 800; }
.route-unit { font-size: 22px; font-weight: 400; }
.route-balance-sub { font-size: 13px; opacity: 0.7; margin-top: 4px; }
.charge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.charge-card { background: #fff; border: 2px solid #e5e7eb; border-radius: 14px; padding: 20px; text-align: center; position: relative; }
.charge-card.charge-popular { border-color: #2d7a4f; }
.charge-badge-pop { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #2d7a4f; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 12px; border-radius: 20px; }
.charge-routes { font-size: 24px; font-weight: 800; color: #2d7a4f; margin-bottom: 4px; }
.charge-price { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.charge-desc { font-size: 12px; color: #888; margin-bottom: 16px; }
.guide-list { padding-left: 20px; }
.guide-list li { font-size: 14px; color: #555; line-height: 2; }

/* ── 알림 (성공) ─────────────────────────────────────────────────────────── */
.alert-ok { background: #f0fdf4; color: #15803d; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 12px; border: 1px solid #bbf7d0; }

/* ── 프로필 관리 ─────────────────────────────────────────────────────────── */
.profile-section { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #eee; margin-bottom: 16px; }
.mb-16 { margin-bottom: 16px; }
.mb-8  { margin-bottom: 8px; }
.mt-16 { margin-top: 16px; }
.section-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.checkbox-item { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.checkbox-item input[type=checkbox] { width: 16px; height: 16px; accent-color: #2d7a4f; }

/* ── 학력/경력 폼 ────────────────────────────────────────────────────────── */
.career-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.career-item:last-child { border-bottom: none; }
.career-fields { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.career-fields .form-input { min-width: 140px; flex: 1; }

/* ── 토글 스위치 ─────────────────────────────────────────────────────────── */
.toggle-wrap { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; }
.toggle-input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: #ccc; border-radius: 24px; transition: 0.3s; }
.toggle-slider::before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.3s; }
.toggle-input:checked + .toggle-slider { background: #2d7a4f; }
.toggle-input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── 스케줄 관리 ─────────────────────────────────────────────────────────── */
.schedule-day-block { border: 1px solid #f0f0f0; border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.schedule-day-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.schedule-day-label { font-size: 14px; font-weight: 700; color: #333; width: 56px; }
.schedule-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.override-form { background: #f8f9fa; border-radius: 10px; padding: 16px; margin-bottom: 16px; }

/* ── 예약 상세 (2컬럼 그리드) ──────────────────────────────────────────── */
.booking-detail-grid { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
.booking-info-col { display: flex; flex-direction: column; gap: 16px; }
.chat-col { min-width: 0; }
.chat-section { height: calc(100vh - 180px); display: flex; flex-direction: column; }
.chat-section .chat-box { flex: 1; overflow-y: auto; }
.chat-input-row { display: flex; gap: 8px; margin-top: 10px; align-items: flex-end; }
.chat-textarea { flex: 1; resize: none; min-height: 60px; max-height: 120px; font-size: 14px; line-height: 1.5; }
.chat-send-btn { padding: 10px 20px; flex-shrink: 0; height: fit-content; }

/* ── 연결 상태 표시 ──────────────────────────────────────────────────────── */
.conn-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.conn-dot.connected { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
.conn-dot.disconnected { background: #f59e0b; }

/* ── 반응형 (태블릿) ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .booking-detail-grid { grid-template-columns: 1fr; }
    .chat-section { height: 500px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .charge-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; padding: 16px; }
    .service-grid { grid-template-columns: 1fr; }
    .charge-grid  { grid-template-columns: 1fr; }
    .counselor-grid { grid-template-columns: 1fr; }
    .detail-header { flex-direction: column; }
}
