@charset "utf-8";

/* ==========================================================================
   [FIX & SAFE] 글로벌 타이포그래피 & 브랜드 컬러 통합 시스템 (GNB + INDEX 완본)
   ========================================================================== */

:root { --primary-color: #004fb0; --secondary-color: #23862b; --accent-orange: #ff6f22; --primary-gradient: linear-gradient(135deg, #004fb0 0%, #006bf6 100%); --dark-blue: #0b132a; --text-main: #2d3748; --text-muted: #64748b; --bg-light: #f8fafc; --radius-lg: 16px; --radius-md: 10px; --shadow-subtle: 0 10px 30px rgba(160, 174, 192, 0.15); --shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.1); }

/* 1. 기본 초기화 및 글로벌 스타일 */
body { margin: 0; padding: 0; font-family: 'Pretendard', system-ui, sans-serif; color: var(--text-main); background-color: #ffffff; -webkit-font-smoothing: antialiased; letter-spacing: -0.5px; font-size: 16px; line-height: 1.7; }
.main-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; width: 100%; }
.gradient-text { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }

/* 2. 섹션 공통 구조 헤더 */
.section-modern { padding: 120px 0; box-sizing: border-box; }
.section-header { text-align: center; margin-bottom: 65px; }
.modern-title { font-size: 40px; font-weight: 800; color: var(--dark-blue); margin: 0 0 16px 0; line-height: 1.3; }
.modern-subtitle { font-size: 18px; color: var(--text-muted); margin: 0; }

/* 3. 글로벌 버튼 시스템 */
.btn-modern { display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 36px; font-size: 16.5px; font-weight: 700; border-radius: 30px; text-decoration: none; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); box-sizing: border-box; gap: 8px; }
.btn-solid { background: var(--primary-gradient); color: #ffffff; box-shadow: 0 8px 20px rgba(0, 79, 176, 0.25); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 79, 176, 0.35); }
.btn-outline { border: 2px solid #e2e8f0; color: var(--text-main); background: #ffffff; }
.btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); transform: translateY(-3px); }

/* 4. 상단 네비게이션 헤더 (GNB) - 리뉴얼 head.php와 매칭 */
.site-header { position: fixed; top: 0; left: 0; width: 100%; height: 80px; z-index: 1000; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(241, 245, 249, 0.6); transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.site-header.is-scrolled { background: #ffffff; height: 72px; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05); border-bottom-color: #e2e8f0; }
.header-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.site-logo { text-decoration: none; font-size: 26px; letter-spacing: -0.5px; display: flex; align-items: center; }
.site-logo .logo-bold { font-weight: 800; color: #004fb0; }
.site-logo .logo-light { font-weight: 800; color: #23862b; margin-left: 2px; }
.gnb-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 40px; }
.gnb-link { text-decoration: none; font-size: 16.5px; font-weight: 600; color: #4a5568; transition: color 0.2s ease; padding: 8px 0; position: relative; }
.gnb-link:hover, .gnb-link.active { color: var(--primary-color); }
.gnb-link::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--primary-color); transition: width 0.25s ease; }
.gnb-link:hover::after, .gnb-link.active::after { width: 100%; }
.header-util-group { display: flex; align-items: center; gap: 20px; position: relative; }
.btn-util { text-decoration: none; font-size: 15.5px; font-weight: 700; display: inline-flex; align-items: center; box-sizing: border-box; }
.btn-login { color: #4a5568; padding: 8px 14px; transition: color 0.2s; }
.btn-login:hover { color: var(--primary-color); }
.btn-header-cta { background: var(--dark-blue); color: #ffffff; height: 44px; padding: 0 22px; border-radius: 22px; font-size: 14.5px; gap: 6px; transition: all 0.2s ease; }
.btn-header-cta i { font-size: 11px; transition: transform 0.2s; }
.btn-header-cta:hover { background: var(--primary-color); box-shadow: 0 4px 12px rgba(0, 79, 176, 0.2); }
.btn-header-cta:hover i { transform: translateX(2px); }
.site-main-content { padding-top: 80px; }

/* ==========================================================================
   [로그인 후 활성화] 마이페이지 드롭다운 프리미엄 스타일 (.header-util-group 내부 삽입)
   ========================================================================== */
.user-menu-group { position: relative; display: inline-block; }
.btn-user-dropdown { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: #4a5568; font-weight: 600; text-decoration: none !important; padding: 8px 14px; border-radius: 8px; transition: all 0.2s; cursor: pointer; }
.btn-user-dropdown:hover { background-color: #f1f5f9; color: var(--primary-color); }
.btn-user-dropdown strong { font-weight: 800; color: var(--primary-color); }
.dropdown-arrow-icon { font-size: 11px; color: #64748b; transition: transform 0.2s; }
.dropdown-arrow-icon.rotate-arrow { transform: rotate(180deg); }
.user-submenu { display: none; position: absolute; top: calc(100% + 12px); right: 0; background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; min-width: 175px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); padding: 8px 0; z-index: 1000; list-style: none; margin: 0; box-sizing: border-box; }
.user-submenu.show-submenu { display: block !important; }
.user-submenu li a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13.5px; color: #475569; text-decoration: none !important; transition: background-color 0.2s, color 0.2s; }
.user-submenu li a:hover { background-color: #f8fafc; color: var(--primary-color); }
.user-submenu li a i { color: #94a3b8; font-size: 14px; width: 16px; text-align: center; }
.user-submenu li a:hover i { color: var(--primary-color); }
.user-submenu .divider { height: 1px; background-color: #f1f5f9; margin: 6px 0; }
.user-submenu li a.logout-link { color: #ef4444; }
.user-submenu li a.logout-link i { color: #fca5a5; }
.user-submenu li a.logout-link:hover { background-color: #fef2f2; color: #ef4444; }
.user-submenu li a.logout-link:hover i { color: #ef4444; }

/* 5. HERO SECTION */
.hero-section { position: relative; padding: 150px 0 130px 0; background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%); overflow: hidden; }
.hero-bg-graphic { position: absolute; top: -10%; right: -5%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0, 79, 176, 0.05) 0%, rgba(255, 255, 255, 0) 70%); z-index: 1; pointer-events: none; }
.hero-content-wrap { display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; z-index: 2; }
.hero-left { flex: 1.1; text-align: left; }
.badge-trend { display: inline-block; background: rgba(35, 134, 43, 0.08); color: var(--secondary-color); padding: 6px 18px; border-radius: 20px; font-size: 14px; font-weight: 700; margin-bottom: 26px; }
.hero-main-title { font-size: 54px; font-weight: 800; color: var(--dark-blue); line-height: 1.35; margin: 0 0 28px 0; letter-spacing: -1.5px; }
.hero-sub-desc { font-size: 20px; color: var(--text-muted); line-height: 1.65; margin: 0 0 40px 0; word-break: keep-all; }
.hero-btn-group { display: flex; gap: 16px; }
.hero-right { flex: 0.9; display: flex; justify-content: flex-end; position: relative; }
.hero-mockup-wrapper { position: relative; width: 460px; height: 380px; }
.main-visual-img { width: 100%; height: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, #e6efff 0%, #f0f4ff 100%); border: 1px solid #ffffff; }
.img-placeholder i { font-size: 100px; color: #004fb0; opacity: 0.2; }
.mockup-card { position: absolute; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); padding: 16px 24px; border-radius: var(--radius-md); box-shadow: 0 10px 25px rgba(0,0,0,0.05); font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.6); z-index: 3; }
.mockup-card.c-1 { top: 40px; left: -30px; color: var(--primary-color); }
.mockup-card.c-2 { bottom: 40px; right: -20px; color: var(--secondary-color); }

/* 6. LIVE STATUS ROLLING BAR */
.live-rolling-bar { background: #ffffff; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; height: 60px; }
.rolling-flex { display: flex; align-items: center; height: 100%; }
.rolling-label { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; color: var(--dark-blue); width: 140px; flex-shrink: 0; }
.live-dot { width: 8px; height: 8px; background: var(--secondary-color); border-radius: 50%; display: inline-block; box-shadow: 0 0 0 3px rgba(35,134,43,0.2); }
.rolling-viewport { flex: 1; height: 34px; overflow: hidden; position: relative; }
.rolling-list { list-style: none; padding: 0; margin: 0; position: absolute; width: 100%; }
.rolling-list li { height: 34px; display: flex; align-items: center; font-size: 15px; }
.r-user { font-weight: 700; color: #4a5568; margin-right: 14px; }
.r-badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; margin-right: 16px; }
.r-badge.font-apt { background: #e0f2fe; color: #0369a1; }
.r-badge.font-store { background: #fef3c7; color: #b45309; }
.r-badge.font-school { background: #dcfce7; color: #15803d; }
.r-text { color: var(--text-main); font-weight: 500; flex: 1; text-align: left; }
.r-time { color: var(--text-muted); font-size: 13.5px; }

/* 7. SERVICES SECTION */
.section-services { background: #ffffff; }
.modern-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-grid-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 36px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); transition: all 0.3s ease; text-align: left; }
.service-grid-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 79, 176, 0.08); border-color: rgba(0, 79, 176, 0.2); }
.card-inline-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.inline-icon-box { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.inline-icon-box i { font-size: 18px; }
.icon-blue { background: #eff6ff; color: #004fb0; }
.icon-green { background: #f0fdf4; color: #23862b; }
.icon-orange { background: #fff7ed; color: #ff6f22; }
.card-inline-header h3 { font-size: 19.5px; font-weight: 800; color: #0b132a; margin: 0; letter-spacing: -0.5px; }
.card-desc-text { font-size: 15px; color: #64748b; margin: 0; line-height: 1.65; word-break: keep-all; }

/* 7-B. CASE STUDIES SECTION (★ 가독성 확보를 위해 연한 그레이 BG 명확히 지정 및 내부 카드 흰색 대비효과 적용) */
.section-cases { background: var(--bg-light); border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.modern-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.case-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.02); transition: all 0.3s ease; text-align: left; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(0, 79, 176, 0.2); }
.case-img-box { background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); height: 160px; display: flex; align-items: center; justify-content: center; position: relative; }
.case-img-box i { font-size: 44px; color: var(--text-muted); opacity: 0.4; }
.case-tag { position: absolute; top: 16px; left: 16px; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 20px; color: #ffffff; }
.tag-fire { background: var(--accent-orange); } .tag-parking { background: var(--primary-color); } .tag-playground { background: var(--secondary-color); } .tag-office { background: var(--dark-blue); }
.case-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case-location { font-size: 13.5px; color: var(--text-muted); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.case-content h4 { font-size: 17.5px; font-weight: 800; color: var(--dark-blue); margin: 0 0 12px 0; line-height: 1.4; word-break: keep-all; }
.case-content p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin: 0; word-break: keep-all; }

/* 8. COMBINED SECTION (왜 Fix & Safe가 안전의 기준이 될까요? - 배경 흰색으로 대비 분리 완료) */
.section-combined { background: #ffffff; }
.combined-flex-wrap { display: flex; gap: 70px; align-items: flex-start; }
.combined-col { flex: 1; min-width: 0; text-align: left; }
.col-main-title { font-size: 34px; font-weight: 800; color: var(--dark-blue); line-height: 1.35; margin: 0 0 45px 0; }
.modern-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mini-item { background: var(--bg-light); padding: 30px 24px; border-radius: var(--radius-lg); border: 1px solid #e2e8f0; text-align: center; }
.mini-icon { width: 50px; height: 50px; background: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px auto; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.mini-icon i { font-size: 22px; color: var(--primary-color); }
.mini-item:nth-child(even) .mini-icon i { color: var(--secondary-color); }
.mini-item h4 { font-size: 18px; font-weight: 800; color: var(--dark-blue); margin: 0 0 10px 0; }
.mini-item p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin: 0; word-break: keep-all; }
.modern-timeline { display: flex; flex-direction: column; gap: 24px; position: relative; }
.timeline-step { display: flex; align-items: center; gap: 24px; background: #004fb0; color: #ffffff; padding: 26px 32px; border-radius: 40px; box-shadow: var(--shadow-subtle); transition: transform 0.3s ease; }
.timeline-step:hover { transform: scale(1.02); }
.step-circle-icon { width: 54px; height: 54px; background: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-circle-icon i { font-size: 20px; color: var(--primary-color); }
.step-content { text-align: left; }
.step-content h3 { font-size: 19px; font-weight: 800; color: #ffffff; margin: 0 0 6px 0; }
.step-content p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.5; margin: 0; word-break: keep-all; }

/* 9. TECHNOLOGY CERT SECTION (특허인증 필드) */
.section-tech-cert { background: #ffffff; border-top: 1px solid #f1f5f9; padding: 100px 0; }
.tech-content-wrap { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.tech-info-left { flex: 1.2; text-align: left; }
.tech-info-left .modern-title { line-height: 1.35; margin-bottom: 22px; }
.tech-desc { font-size: 16.5px; color: var(--text-muted); line-height: 1.75; margin: 0; word-break: keep-all; }
.tech-desc strong { color: var(--dark-blue); font-weight: 700; }
.tech-values-right { flex: 1; display: flex; justify-content: space-between; gap: 20px; }
.tech-value-item { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: 1; }
.tech-icon-circle { width: 76px; height: 76px; background: var(--bg-light); border: 1px solid #e2e8f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.tech-icon-circle i { font-size: 26px; color: #4a5568; }
.tech-value-item span { font-size: 15px; font-weight: 700; color: var(--dark-blue); }
.tech-value-item:hover .tech-icon-circle { transform: translateY(-4px); border-color: var(--secondary-color); background: #f2fbf3; }
.tech-value-item:hover .tech-icon-circle i { color: var(--secondary-color); }

/* 10. FOOTER AREA (오렌지 포인트 테마 액션 바) */
.section-footer-cta { position: relative; padding: 65px 0; background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8642 100%); color: #ffffff; text-align: left; }
.cta-flex-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-text-left h2 { font-size: 32px; font-weight: 800; margin: 0 0 10px 0; letter-spacing: -0.5px; }
.cta-text-left p { font-size: 18px; margin: 0; opacity: 0.9; font-weight: 500; }
.btn-cta-dark { background: var(--dark-blue); color: #ffffff; box-shadow: 0 8px 24px rgba(11, 19, 42, 0.25); border: none; }
.btn-cta-dark:hover { background: #1a2649; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(11, 19, 42, 0.4); }
.site-footer { background: #0b132a; color: #a0aec0; padding: 65px 0 55px 0; font-size: 15px; text-align: left; }
.footer-top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-brand .logo-bold { font-size: 28px; font-weight: 800; color: #ffffff; }
.footer-brand .logo-light { font-size: 28px; font-weight: 800; color: var(--secondary-color); margin-left: 2px; }
.brand-slogan { margin: 8px 0 0 0; font-size: 14px; color: #718096; }
.footer-links-group { display: flex; gap: 28px; }
.footer-links-group a { color: #cbd5e1; text-decoration: none; font-weight: 600; transition: color 0.2s; font-size: 15.5px; }
.footer-links-group a:hover { color: var(--secondary-color); }
.footer-links-group a.text-important { color: #ffffff; }
.footer-divider { border: 0; height: 1px; background: rgba(255,255,255,0.08); margin: 35px 0; }
.footer-bottom-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.company-info-block { display: flex; flex-direction: column; gap: 10px; }
.info-text-line { margin: 0; display: flex; flex-wrap: wrap; gap: 0 18px; color: #718096; font-size: 14px; line-height: 1.6; }
.copyright-text { margin: 18px 0 0 0; font-size: 13px; color: #4a5568; }
.footer-sns-wrap { display: flex; gap: 14px; }
.footer-sns-wrap a { width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #cbd5e1; font-size: 20px; text-decoration: none; transition: all 0.2s; }
.footer-sns-wrap a:hover { background: var(--secondary-color); color: #ffffff; }

/* ==========================================================================
   service.php (PC & Common)
   ========================================================================== */

/* 1. 서비스 상단 히어로 (여백 버그 패치 반영) */
.service-page-main { margin-top: 0 !important; padding-top: 0 !important; }
.service-hero { background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); padding: 60px 0 60px 0; text-align: center; clear: both; }
.sv-hero-wrap { max-width: 840px; margin: 0 auto; }
.sv-badge { display: inline-block; background: rgba(0, 79, 176, 0.06); color: var(--primary-color); padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 800; margin-bottom: 20px; letter-spacing: 0.5px; text-transform: uppercase; }
.sv-hero-wrap h1 { font-size: 44px; font-weight: 800; color: var(--dark-blue); line-height: 1.35; margin: 0 0 20px 0; letter-spacing: -1.5px; }
.sv-hero-wrap p { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin: 0; word-break: keep-all; }

/* 2. 통계 미터 그리드 */
.service-counters { padding: 20px 0 60px 0; background: #ffffff; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); box-shadow: var(--shadow-subtle); padding: 40px 20px; }
.counter-item { text-align: center; position: relative; }
.counter-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; width: 1px; height: 60%; background-color: #e2e8f0; }
.count-num { display: block; font-size: 42px; font-weight: 800; color: var(--primary-color); line-height: 1.1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.counter-item:nth-child(2) .count-num { color: var(--secondary-color); }
.counter-item:nth-child(3) .count-num { color: #0f172a; }
.counter-item:nth-child(4) .count-num { color: var(--accent-orange); }
.count-unit { font-size: 24px; font-weight: 700; margin-left: 2px; vertical-align: super; }
.count-lbl { font-size: 15px; color: var(--text-muted); font-weight: 600; }

/* 3. 스토리 레이아웃 (6대 영역 확장) */
.service-values-story { padding: 100px 0; background: #ffffff; }
.story-section-header { text-align: center; margin-bottom: 90px; }
.story-section-header h2 { font-size: 36px; font-weight: 500; color: var(--dark-blue); line-height: 1.4; margin: 0; letter-spacing: -1px; }
.story-section-header h2 strong { font-weight: 800; background: linear-gradient(to right, #004fb0, #23862b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.story-row { display: flex; align-items: center; gap: 80px; margin-bottom: 110px; }
.story-row:last-child { margin-bottom: 0; }
.story-row.row-reverse { flex-direction: row-reverse; }
.story-text-col { flex: 1.1; text-align: left; }
.story-visual-col { flex: 0.9; display: flex; justify-content: center; }

/* 3-1. 스토리 인덱스 루프 컬러 시스템 */
.story-row:nth-child(3n+2) .story-num { color: var(--primary-color); }
.story-row:nth-child(3n+3) .story-num { color: var(--secondary-color); }
.story-row:nth-child(3n+4) .story-num { color: var(--accent-orange); }
.story-num { font-size: 22px; font-weight: 800; display: block; margin-bottom: 12px; font-family: monospace, sans-serif; }
.story-text-col h3 { font-size: 32px; font-weight: 800; color: var(--dark-blue); line-height: 1.35; margin: 0 0 22px 0; letter-spacing: -0.8px; }
.highlight-blue { color: var(--primary-color); }
.highlight-green { color: var(--secondary-color); }
.highlight-orange { color: var(--accent-orange); }
.story-desc { font-size: 16px; color: var(--text-main); line-height: 1.75; margin: 0 0 30px 0; word-break: keep-all; }

/* 3-2. 내역 특징 리스트 아이콘 자동 컬러 연산 */
.story-feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.story-feature-list li { font-size: 15.5px; font-weight: 600; color: #4a5568; display: flex; align-items: center; gap: 10px; }
.story-row:nth-child(3n+2) .story-feature-list li i { color: var(--primary-color); font-size: 14px; }
.story-row:nth-child(3n+3) .story-feature-list li i { color: var(--secondary-color); font-size: 14px; }
.story-row:nth-child(3n+4) .story-feature-list li i { color: var(--accent-orange); font-size: 14px; }

/* 3-3. 입체 비주얼 일러스트 그래픽 카드 */
.visual-box-mockup { width: 100%; max-width: 440px; height: 320px; border-radius: 24px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-subtle); transition: transform 0.4s ease; }
.visual-box-mockup:hover { transform: scale(1.03); }
.visual-box-mockup i { font-size: 90px; }
.visual-box-mockup.color-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: var(--primary-color); }
.visual-box-mockup.color-green { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); color: var(--secondary-color); }
.visual-box-mockup.color-orange { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); color: var(--accent-orange); }

/* ==========================================================================
   portfolio.php (PC & Common)
   ========================================================================== */

/* 1. 카테고리 필터 내비게이션 탭 */
.portfolio-filter-sec { padding: 0 0 40px 0; background: #ffffff; text-align: center; }
.filter-tab-wrapper { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; background: #f8fafc; padding: 8px; border-radius: 40px; border: 1px solid #e2e8f0; }
.filter-btn { display: inline-block; background: none; border: none; padding: 10px 24px; font-size: 15px; font-weight: 700; color: var(--text-muted); border-radius: 30px; cursor: pointer; text-decoration: none; transition: all 0.3s ease; }
.filter-btn:hover { color: var(--primary-color); }
.filter-btn.active { background: var(--primary-color); color: #ffffff; box-shadow: 0 4px 12px rgba(0, 79, 176, 0.2); }

/* 2. 인기 키워드 해시태그 바 */
.portfolio-tag-sec { padding: 0 0 50px 0; background: #ffffff; text-align: center; }
.keyword-filter-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.kw-item { display: inline-block; background: #f1f5f9; color: #475569; padding: 8px 16px; font-size: 14px; font-weight: 600; border-radius: 20px; text-decoration: none; transition: all 0.2s ease; border: 1px solid transparent; }
.kw-item:hover { background: rgba(0, 79, 176, 0.05); color: var(--primary-color); border-color: rgba(0, 79, 176, 0.15); }

/* 3. 포트폴리오 갤러리 그리드 레이아웃 */
.portfolio-grid-sec { padding: 0 0 100px 0; background: #ffffff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.portfolio-card { background: #ffffff; border-radius: 20px; overflow: hidden; border: 1px solid #e2e8f0; box-shadow: var(--shadow-subtle); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0, 15, 50, 0.08); }
.pf-card-link { display: block; text-decoration: none; color: inherit; }

/* 3-1. 카드 썸네일 & 카테고리 뱃지 */
.pf-thumb-box { position: relative; width: 100%; height: 240px; overflow: hidden; background: #f1f5f9; }
.pf-img-wrap { width: 100%; height: 100%; }
.pf-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover .pf-img-wrap img { transform: scale(1.06); }
.pf-badge-cate { position: absolute; left: 20px; bottom: 20px; padding: 6px 14px; font-size: 13px; font-weight: 800; border-radius: 30px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.pf-badge-cate.color-blue { background: #ffffff; color: var(--primary-color); }
.pf-badge-cate.color-green { background: #ffffff; color: var(--secondary-color); }
.pf-badge-cate.color-orange { background: #ffffff; color: var(--accent-orange); }

/* 3-2. 카드 상세 내용 정보 및 메타 하단 영역 */
.pf-info-box { padding: 25px; text-align: left; }
.pf-title { font-size: 19px; font-weight: 800; color: var(--dark-blue); line-height: 1.4; margin: 0 0 12px 0; letter-spacing: -0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-desc { font-size: 14.5px; color: var(--text-main); line-height: 1.6; margin: 0 0 20px 0; height: 4.8em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: keep-all; }
.pf-meta-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 15px; margin-top: 5px; }
.pf-views { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.pf-views i { margin-right: 3px; }
.pf-date { font-size: 13px; color: #a0aec0; font-weight: 500; }

/* 4. 데이터 공백 시 빈 예외 처리 박스 (No Data 상태 연출) */
.portfolio-empty-state { grid-column: 1 / -1; text-align: center; padding: 100px 20px; background: #f8fafc; border-radius: 20px; border: 2px dashed #e2e8f0; }
.portfolio-empty-state i { font-size: 54px; color: #cbd5e1; margin-bottom: 20px; display: block; }
.portfolio-empty-state p { font-size: 16px; color: var(--text-muted); font-weight: 600; margin: 0; word-break: keep-all; }

/* 5. 하단 페이징/더보기 액션 버튼 인프라 */
.list-more-action { text-align: center; margin-top: 60px; }
.btn-work-more { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; color: var(--dark-blue); border: 1px solid #cbd5e1; padding: 14px 35px; border-radius: 30px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; box-shadow: var(--shadow-subtle); cursor: pointer; }
.btn-work-more:hover { border-color: var(--primary-color); color: var(--primary-color); background: rgba(0, 79, 176, 0.02); transform: translateY(-2px); }

/* ==========================================================================
   portfolio_view.php (PC & Common)
   ========================================================================== */

/* 1. 상세페이지 상단 헤더 */
.portfolio-view-header { background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); padding: 60px 0 40px 0; text-align: center; border-bottom: 1px solid #f1f5f9; }
.pf-view-route { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-muted); margin-bottom: 15px; }
.pf-view-route i { font-size: 11px; color: #cbd5e1; }
.pf-view-route .active-route { color: var(--primary-color); }
.pf-view-title { font-size: 34px; font-weight: 800; color: var(--dark-blue); line-height: 1.4; margin: 0 0 20px 0; letter-spacing: -1px; }
.pf-view-meta { display: flex; align-items: center; justify-content: center; gap: 14px; }
.meta-item { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.meta-item i { margin-right: 4px; color: #94a3b8; }
.meta-split { width: 1px; height: 12px; background: #e2e8f0; }

/* 2. 본문 컨테이너 및 인포 카드 레이아웃 */
.portfolio-view-body { padding: 60px 0 100px 0; background: #ffffff; }
.pf-view-layout-grid { max-width: 860px; margin: 0 auto; }
.pf-summary-spec-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 30px; margin-bottom: 50px; box-shadow: var(--shadow-subtle); }
.spec-card-title { font-size: 16.5px; font-weight: 800; color: var(--dark-blue); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.spec-card-title i { color: var(--primary-color); }
.spec-grid { display: flex; flex-direction: column; gap: 14px; }
.spec-row { display: flex; border-bottom: 1px dashed #e2e8f0; padding-bottom: 12px; }
.spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.spec-lbl { width: 120px; font-size: 14.5px; font-weight: 800; color: #475569; }
.spec-val { flex: 1; font-size: 14.5px; color: var(--text-main); font-weight: 500; }

/* 3. 시공 본문 콘텐츠 및 이미지 뷰어 */
.pf-main-content-area { width: 100%; margin-bottom: 60px; }
.pf-content-img-box { width: 100%; margin-bottom: 35px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-subtle); }
.pf-content-img-box img { width: 100%; display: block; height: auto; }
.pf-img-caption { background: #0f172a; color: #cbd5e1; font-size: 14px; padding: 12px 20px; margin: 0; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.pf-img-caption i { color: #38bdf8; }
.pf-html-text-box { font-size: 16.5px; color: var(--text-main); line-height: 1.8; margin-top: 40px; word-break: break-all; text-align: left; }
.pf-html-text-box p { margin-bottom: 20px; }

/* 4. 하단 상세 해시태그 바 */
.pf-view-tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 50px; padding-top: 25px; border-top: 1px solid #f1f5f9; }
.pf-tag-item { display: inline-block; background: rgba(0, 79, 176, 0.04); color: var(--primary-color); padding: 6px 14px; font-size: 13.5px; font-weight: 700; border-radius: 30px; border: 1px solid rgba(0, 79, 176, 0.08); }

/* 5. 액션 제어 하단 버튼 모음 */
.pf-view-action-footer { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 60px; border-top: 1px solid #e2e8f0; padding-top: 40px; }
.btn-back-list { background: #ffffff; color: #475569; border: 1px solid #cbd5e1; padding: 15px 30px; font-size: 15px; font-weight: 700; border-radius: 30px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s ease; }
.btn-back-list:hover { background: #f8fafc; color: var(--dark-blue); border-color: #94a3b8; }
.btn-go-estimate { background: var(--primary-color); color: #ffffff; padding: 15px 35px; font-size: 15px; font-weight: 700; border-radius: 30px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 79, 176, 0.15); }
.btn-go-estimate:hover { background: #003d8a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 79, 176, 0.25); }

/* ==========================================================================
   guide.php (PC & Common)
   ========================================================================== */

/* 1. 메인 가이드 전용 카테고리 뱃지 */
.gd-main-cate-badge { display: inline-block; background: #f1f5f9; color: #475569; font-size: 12.5px; padding: 4px 10px; border-radius: 6px; font-weight: 700; }

/* 2. 페이징 레이아웃 전체 오버라이딩 정리 */
.portfolio-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 60px; }
.page-num, .page-arrow { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #e2e8f0; color: var(--text-main); font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.2s ease; }
.page-num:hover, .page-arrow:hover { border-color: var(--primary-color); color: var(--primary-color); background: rgba(0, 79, 176, 0.02); }
.page-num.active { background: var(--primary-color); color: #ffffff; border-color: var(--primary-color); box-shadow: 0 4px 10px rgba(0, 79, 176, 0.15); }

/* ==========================================================================
   guide_view.php (PC & Common)
   ========================================================================== */

/* G1. 상단 인라인 메타 컴포넌트 확장 */
.gd-badge-inline { font-weight: 700; color: var(--primary-color) !important; }

/* G2. 프리미엄 법규 고지 요약 박스 */
.law-notice-box { display: flex; gap: 20px; background: rgba(220, 38, 38, 0.03); border: 1px solid rgba(220, 38, 38, 0.15); border-radius: 16px; padding: 25px; margin-bottom: 40px; box-shadow: var(--shadow-subtle); align-items: flex-start; }
.law-notice-box .box-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(220, 38, 38, 0.08); border-radius: 50%; color: #dc2626; font-size: 18px; flex-shrink: 0; }
.law-notice-box .box-text { flex: 1; text-align: left; }
.law-notice-box .box-text strong { display: block; font-size: 16px; color: #1e293b; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.3px; }
.law-notice-box .box-text p { font-size: 14.5px; color: #475569; line-height: 1.6; margin: 0; font-weight: 500; word-break: keep-all; }

/* G3. 하단 이전 가이드 / 다음 가이드 이동 보드 */
.guide-nav-board { border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; margin: 60px 0 40px 0; padding: 10px 0; }
.gd-nav-row { display: flex; align-items: center; padding: 14px 20px; border-bottom: 1px dashed #f1f5f9; text-align: left; }
.gd-nav-row:last-child { border-bottom: none; }
.gd-nav-lbl { min-width: 130px; font-size: 14px; font-weight: 800; color: #94a3b8; display: inline-flex; align-items: center; gap: 6px; }
.gd-nav-lbl i { font-size: 12px; }
.gd-nav-subject { flex: 1; font-size: 14.5px; color: var(--text-main); font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s ease; }
.gd-nav-row:hover .gd-nav-subject { color: var(--primary-color); }

/* ==========================================================================
   notice.php (PC & Common Board)
   ========================================================================== */

/* 1. 검색 상자 섹션 정밀화 */
.board-list-sec { padding: 0 0 100px 0; background: #ffffff; }
.board-search-bar-wrap { max-width: 600px; margin: 0 auto 40px auto; }
.bd-search-form { display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 30px; padding: 4px 6px 4px 20px; background: #ffffff; box-shadow: var(--shadow-subtle); }
.bd-search-select { border: none; font-size: 14.5px; font-weight: 700; color: var(--dark-blue); outline: none; background: none; padding-right: 15px; cursor: pointer; }
.bd-search-input-box { flex: 1; display: flex; align-items: center; border-left: 1px solid #e2e8f0; padding-left: 15px; }
.bd-search-input-box input { width: 100%; border: none; outline: none; font-size: 14.5px; color: var(--text-main); font-weight: 500; }
.btn-bd-search { background: var(--primary-color); border: none; width: 42px; height: 42px; border-radius: 50%; color: #ffffff; cursor: pointer; transition: background 0.2s ease; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.btn-bd-search:hover { background: #003d8a; }

/* 2. 현대적 라인 테이블 스타일 */
.notice-table-container { width: 100%; border-top: 2px solid var(--dark-blue); margin-bottom: 40px; }
.notice-modern-table { width: 100%; border-collapse: collapse; }
.notice-modern-table th { background: #f8fafc; padding: 18px 10px; font-size: 15px; font-weight: 800; color: #475569; border-bottom: 1px solid #e2e8f0; }
.notice-modern-table td { padding: 20px 10px; font-size: 15px; color: #475569; border-bottom: 1px solid #f1f5f9; text-align: center; }
.th-num { width: 90px; } .th-date { width: 140px; } .th-hit { width: 100px; }
.td-title { text-align: left !important; padding-left: 20px !important; }
.notice-link-title { color: var(--dark-blue); font-weight: 600; text-decoration: none; transition: color 0.2s ease; }
.notice-link-title:hover { color: var(--primary-color); }

/* 3. 배지 및 예외처리 데이터 공백 처리 */
.tr-pinned { background: rgba(0, 79, 176, 0.01); }
.tr-pinned .notice-link-title { font-weight: 800; color: #000000; }
.badge-pin-notice { display: inline-block; background: rgba(220, 38, 38, 0.08); color: #dc2626; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 4px; }
.td-empty-board { padding: 80px 0 !important; color: var(--text-muted); }
.td-empty-board i { font-size: 40px; color: #cbd5e1; margin-bottom: 15px; display: block; }
.td-empty-board p { font-size: 15px; font-weight: 600; margin: 0; }
.font-mb-icon { display: none; }

/* ==========================================================================
   faq.php (PC & Common Accordion) - 최종 수정본
   ========================================================================== */

/* 1. 카테고리 칩 캡슐 내비게이션 */
.faq-filter-chips-wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.faq-chip-btn { display: inline-block; padding: 10px 24px; font-size: 14.5px; font-weight: 700; color: #64748b; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 25px; text-decoration: none; transition: all 0.2s ease; }
.faq-chip-btn:hover { background: #f1f5f9; color: var(--primary-color); border-color: #cbd5e1; }
.faq-chip-btn.active { background: var(--primary-color); color: #ffffff; border-color: var(--primary-color); box-shadow: 0 4px 12px rgba(0, 79, 176, 0.15); }

/* 2. 현대적인 입체형 아코디언 리스트 */
.faq-modern-accordion { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-subtle); }
.faq-question { display: flex; align-items: center; padding: 22px 28px; cursor: pointer; background: #ffffff; user-select: none; gap: 18px; position: relative; }
.faq-question:hover { background: #f8fafc; }
.q-badge-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: rgba(0, 79, 176, 0.08); color: var(--primary-color); font-weight: 900; font-size: 15px; border-radius: 6px; flex-shrink: 0; }
.q-title-text { flex: 1; font-size: 16px; color: var(--dark-blue); font-weight: 700; line-height: 1.4; letter-spacing: -0.3px; }
.arrow-icon-wrap { color: #94a3b8; font-size: 14px; transition: transform 0.25s ease; flex-shrink: 0; }

/* 3. 활성화(Active) 시 답변 영역 펼침 연출 */
.faq-item.active { border-color: var(--primary-color); box-shadow: 0 6px 20px rgba(0, 79, 176, 0.06); }
.faq-item.active .faq-question { background: rgba(0, 79, 176, 0.01); border-bottom: 1px dashed #e2e8f0; }
.faq-item.active .arrow-icon-wrap { transform: rotate(180deg); color: var(--primary-color); }
.faq-answer { display: none; background: #fcfdfe; }
.faq-item.active .faq-answer { display: block; }

/* [정렬 보정 핵심] 부모 축을 중앙으로 고정하고 내부 패딩 최적화 */
.a-body-box { padding: 24px 28px; display: flex; gap: 18px; border-top: none; align-items: flex-start !important; }
/* [정렬 보정 핵심] 배지 자체의 margin-top 오차를 0으로 리셋 */
.a-badge-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #475569; color: #ffffff; font-weight: 900; font-size: 14px; border-radius: 6px; flex-shrink: 0; margin-top: 0 !important; }
/* [정렬 보정 핵심] 에디터 원본 형태에 상관없이 글자 높이와 마진을 강제 통일 */
.a-html-content { flex: 1; font-size: 15px; color: #475569; line-height: 1.5 !important; position: relative; margin-top: -2px !important; }
.a-html-content p { margin: 0 !important; padding: 0 !important; line-height: 1.5 !important; }

/* 4. 예외처리 뷰 및 하단 안내 배너 */
.faq-empty-state { text-align: center; padding: 70px 0; color: var(--text-muted); }
.faq-empty-state i { font-size: 42px; color: #cbd5e1; margin-bottom: 15px; display: block; }
.faq-empty-state p { font-size: 15px; font-weight: 600; }
.faq-footer-info-banner { max-width: 900px; margin: 50px auto 0 auto; display: flex; align-items: center; gap: 20px; background: #f1f5f9; padding: 20px 30px; border-radius: 12px; text-align: left; }
.info-banner-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: #ffffff; border-radius: 50%; color: var(--primary-color); font-size: 18px; box-shadow: var(--shadow-subtle); flex-shrink: 0; }
.faq-footer-info-banner p { font-size: 14.5px; color: #475569; margin: 0; font-weight: 500; }
.faq-footer-info-banner p strong { color: var(--dark-blue); font-weight: 800; }

/* ==========================================================================
   login.php (PC & Common Auth Box Style)
   ========================================================================== */

/* 1. 배경 구역 및 입체형 프리미엄 카드 모듈화 */
.auth-page-main.site-main-content { padding-top: 0 !important; }
.section-modern-login { padding: 40px 0 80px 0 !important; background: #f8fafc; min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; }
.login-narrow-wrap { width: 100%; max-width: 480px; padding: 0 20px; }
.login-premium-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 50px 40px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); text-align: center; }

/* 2. 카드 상단 헤더 컴포넌트 */
.login-header { margin-bottom: 35px; }
.login-top-badge { display: inline-block; font-size: 11px; font-weight: 800; color: var(--primary-color); background: rgba(0, 79, 176, 0.06); padding: 4px 12px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.login-header h2 { font-size: 28px; font-weight: 800; color: var(--dark-blue); margin: 0 0 10px 0; letter-spacing: -0.5px; }
.login-header p { font-size: 14.5px; color: #64748b; margin: 0; font-weight: 500; }

/* 3. 인풋 상자 및 내부 배치 아이콘 정렬 트릭 */
.login-form-skin { text-align: left; }
.login-group-box { margin-bottom: 20px; text-align: left; }
.input-modern-label { display: block; font-size: 13.5px; font-weight: 700; color: #475569; margin-bottom: 8px; padding-left: 2px; }
.input-with-icon-wrap { position: relative; display: flex; align-items: center; }
.inner-field-icon { position: absolute; left: 16px; color: #94a3b8; font-size: 15px; display: inline-flex; align-items: center; pointer-events: none; }
.form-control-modern { width: 100%; height: 50px; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 16px 0 46px; font-size: 14.5px; color: var(--text-main); font-weight: 500; outline: none; transition: all 0.2s ease; }
.form-control-modern:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 79, 176, 0.08); background: #fcfdfe; }

/* 4. 체크박스 및 링크 내비게이션 바 조율 */
.login-utility-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; padding: 0 2px; }
.remember-me-toggle { display: inline-flex; align-items: center; cursor: pointer; user-select: none; }
.remember-me-toggle input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary-color); cursor: pointer; margin: 0 8px 0 0; }
.custom-check-text { font-size: 13.5px; color: #475569; font-weight: 600; }
.sub-utility-link { font-size: 13.5px; color: #64748b; text-decoration: none; font-weight: 600; transition: color 0.2s ease; }
.sub-utility-link:hover { color: var(--primary-color); }

/* 5. 주 메인 버튼 스킨 */
.btn-login-submit-primary { width: 100%; height: 52px; background: var(--primary-color); border: none; color: #ffffff; font-size: 16px; font-weight: 700; border-radius: 10px; cursor: pointer; transition: background 0.2s ease; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 79, 176, 0.15); }
.btn-login-submit-primary:hover { background: #003d8a; }
.login-signup-guide-banner { text-align: center; margin-top: 20px; }
.login-signup-guide-banner p { font-size: 14px; color: #64748b; margin: 0; font-weight: 500; }
.guide-accent-link { color: var(--primary-color); font-weight: 700; text-decoration: none; margin-left: 6px; border-bottom: 1px solid var(--primary-color); }

/* 6. 디바이더 및 보조 그룹 (소셜 주석 해제 대비 구조 완비) */
.social-modern-divider { display: flex; align-items: center; margin: 35px 0 25px 0; text-align: center; }
.social-modern-divider::before, .social-modern-divider::after { content: ""; flex: 1; border-bottom: 1px dashed #e2e8f0; }
.divider-text { padding: 0 15px; font-size: 12.5px; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.login-action-sub-group { display: flex; flex-direction: column; gap: 12px; }
.btn-social-modern { width: 100%; height: 48px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 14.5px; font-weight: 700; text-decoration: none; gap: 10px; transition: opacity 0.2s ease; }
.btn-social-modern:hover { opacity: 0.9; }
.btn-social-modern.kakao { background: #fee500; color: #191919; }
.btn-social-modern.naver { background: #03c75a; color: #ffffff; }
.naver-n-logo { font-weight: 900; font-size: 17px; }

/* 7. 비회원 견적 조회 전용 정형 버튼 */
.btn-guest-check-modern { width: 100%; height: 48px; background: #ffffff; border: 1px solid #cbd5e1; color: #475569; font-size: 14.5px; font-weight: 700; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; transition: all 0.2s ease; }
.btn-guest-check-modern:hover { background: #f8fafc; color: var(--dark-blue); border-color: #94a3b8; }

/* 8. 세션 연동 알림창 오버라이딩 */
.alert-box { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-size: 14px; text-align: left; font-weight: 600; line-height: 1.4; }
.alert-error { background: #fef2f2; border: 1px solid #fee2e2; color: #dc2626; }
.alert-success { background: #f0fdf4; border: 1px solid #dcfce7; color: #16a34a; }

/* ==========================================================================
   terms.php (PC Premium Split Layout System)
   ========================================================================== */

/* 1. 배경 구역 및 기본 바디 레이아웃 셋업 */
.terms-page-main { background: #f8fafc; min-height: 100vh; padding-top: 0 !important; }
.section-terms-page { padding: 80px 0 100px 0; }
.container-modern { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* 2. 상단 중앙 텍스트 헤더 컴포넌트 */
.page-header-center { text-align: center; margin-bottom: 55px; }
.terms-top-tag { display: inline-block; font-size: 11px; font-weight: 800; color: var(--primary-color, #004fb0); background: rgba(0, 79, 176, 0.06); padding: 4px 14px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.page-header-center h2 { font-size: 32px; font-weight: 800; color: var(--dark-blue, #0f172a); margin: 0 0 14px 0; letter-spacing: -0.5px; }
.page-header-center p { font-size: 15.5px; color: #64748b; max-width: 620px; margin: 0 auto; line-height: 1.6; font-weight: 500; }

/* 3. 스플릿 레이아웃 그리드 인프라 */
.terms-split-container { display: flex; gap: 40px; align-items: flex-start; }

/* 4. 좌측 사이드바 고정 내비게이션 카드 */
.terms-aside-sticky { flex: 0 0 280px; position: sticky; top: 100px; z-index: 10; }
.terms-nav-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04); overflow: hidden; }
.nav-card-header { background: #f8fafc; padding: 18px 24px; border-bottom: 1px solid #e2e8f0; }
.nav-card-header h5 { font-size: 14px; font-weight: 800; color: #0f172a; margin: 0; letter-spacing: -0.3px; }
.terms-nav-links { max-height: calc(100vh - 260px); overflow-y: auto; padding: 12px 0; }
.terms-nav-links ul { list-style: none; padding: 0; margin: 0; }
.terms-nav-links li a { display: flex; align-items: center; gap: 10px; padding: 11px 24px; font-size: 13.5px; color: #64748b; font-weight: 600; text-decoration: none; transition: all 0.2s ease; }
.terms-nav-links li a i { font-size: 9px; opacity: 0.4; transition: transform 0.2s ease; }
.terms-nav-links li a:hover { background-color: #f1f5f9; color: var(--primary-color, #004fb0); }
.terms-nav-links li a:hover i { transform: translateX(3px); opacity: 1; color: var(--primary-color, #004fb0); }

/* 5. 우측 메인 콘텐츠 페이퍼 스킨 */
.terms-content-area { flex: 1; min-width: 0; }
.terms-premium-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 50px; box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04); }
.terms-main-title { font-size: 22px; font-weight: 800; color: #0f172a; border-bottom: 2px solid #0f172a; padding-bottom: 20px; margin: 0 0 40px 0; letter-spacing: -0.5px; }

/* 6. 각 조항 블록 및 타이포그래피 */
.term-section-block { margin-bottom: 40px; scroll-margin-top: 120px; }
.term-section-block h4 { font-size: 15.5px; font-weight: 800; color: #0f172a; margin: 0 0 14px 0; letter-spacing: -0.3px; line-height: 1.4; }
.term-paragraph p { font-size: 14.5px; line-height: 1.75; color: #334155; margin: 0 0 10px 0; font-weight: 400; }

/* 7. 중첩 구조화 리스트 인프라 */
.term-sub-nested-list { list-style: none; padding: 0; margin: 12px 0 16px 0; }
.term-sub-nested-list li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; font-size: 14px; line-height: 1.7; color: #475569; }
.term-sub-nested-list .bullet-num { font-weight: 700; color: var(--primary-color, #004fb0); flex-shrink: 0; min-width: 20px; }
.term-sub-nested-list .bullet-txt { flex: 1; }

/* 8. 책임자 카드 및 부칙 스킨 */
.privacy-manager-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; margin-top: 18px; }
.terms-premium-addendum { margin-top: 55px; background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 28px; }
.terms-premium-addendum h5 { font-size: 14.5px; font-weight: 800; color: #0f172a; margin: 0 0 10px 0; display: flex; align-items: center; gap: 8px; }
.terms-premium-addendum p { font-size: 14px; color: #475569; margin: 0; line-height: 1.6; }

/* ==========================================================================
   estimate.php
   ========================================================================== */

/* 1. 히어로 영역 정렬 및 자연스러운 하단 연결 */
.sub-estimate-hero { padding: 100px 0 60px 0 !important; background-color: transparent !important; }
.hero-center-content { text-align: center; max-width: 800px; margin: 0 auto 50px auto; }
.text-center-badge { margin: 0 auto 16px auto !important; display: inline-flex; }
.center-title { font-size: 42px !important; line-height: 1.3; margin-bottom: 20px; }
.center-desc { font-size: 16px !important; color: #475569 !important; margin: 0 auto; }

/* 2. 중앙 배치 및 폼 박스 가로 깨짐 방지 레이아웃 컨테이너 */
.estimate-form-container { max-width: 840px !important; margin: 0 auto; padding: 0 10px; box-sizing: border-box; }
.estimate-form-block-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 36px; margin-bottom: 24px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.02); text-align: left !important; box-sizing: border-box; }
.estimate-block-card-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f1f5f9; padding-bottom: 16px; margin-bottom: 24px; }
.estimate-block-card-header h3 { font-size: 18px; font-weight: 700; color: #1e293b; margin: 0; display: flex; align-items: center; gap: 10px; }
.estimate-block-card-header h3 i { color: #2563eb; }
.estimate-badge-auto-fill { font-size: 12px; background-color: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; padding: 4px 10px; border-radius: 6px; font-weight: 600; }

/* 3. 탭 버튼 교정 레이아웃 (빨간 박스 깨짐 완전 수정 본) */
.estimate-navigation-guide { width: 100%; margin-bottom: 24px; }
.estimate-btn-group-flex { display: flex; align-items: center; justify-content: center; background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 30px; padding: 6px; margin-bottom: 16px; box-sizing: border-box; width: 100%; }
.estimate-tab-btn { flex: 1; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; text-decoration: none !important; color: #64748b; border: none; border-radius: 24px; transition: all 0.2s ease-in-out; background: transparent; cursor: pointer; text-align: center; }
.estimate-tab-btn.active-tab { background-color: #2563eb !important; color: #ffffff !important; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15); }
.estimate-notice-card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px 22px; text-align: left; }
.estimate-notice-card p { font-size: 13.5px; color: #64748b; line-height: 1.6; margin-bottom: 8px; }
.estimate-notice-card p:last-child { margin-bottom: 0; }
.estimate-notice-card p i { color: #2563eb; margin-right: 4px; }

/* 4. 인풋 제어 시스템 및 그리드 가로 깨짐 방지 */
.estimate-grid-row-col2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; box-sizing: border-box; }
.estimate-input-field-group { display: flex; flex-direction: column; align-items: flex-start; width: 100%; box-sizing: border-box; }
.estimate-field-label { font-size: 14px; font-weight: 600; color: #334155; margin-bottom: 8px; display: block; text-align: left; }
.estimate-field-label .asterisk { color: #ef4444; margin-left: 3px; }
.estimate-form-control { width: 100% !important; max-width: 100% !important; height: 48px; padding: 0 16px; font-size: 14.5px; color: #334155; border: 1px solid #cbd5e1; border-radius: 8px !important; box-sizing: border-box; background-color: #ffffff; outline: none; transition: all 0.2s ease-in-out; }
.estimate-form-control:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.estimate-form-control[readonly] { background-color: #f8fafc; color: #64748b; border-color: #e2e8f0; }
.estimate-form-control.textarea-input { height: auto !important; padding: 14px; line-height: 1.6; resize: vertical; }
.estimate-field-caption { font-size: 12px; color: #64748b; margin-top: 6px; display: block; text-align: left; }
.estimate-select-chevron-wrapper { position: relative; width: 100%; }
.estimate-form-control.select-box { appearance: none; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 16px center / 16px; padding-right: 44px; }
.estimate-form-control.textarea-input { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif !important; font-size: 14.5px; color: #334155; line-height: 1.6; }
.estimate-form-control.textarea-input::placeholder { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif !important; font-size: 14px; color: #94a3b8; }
.estimate-form-control.textarea-input:-ms-input-placeholder { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif !important; font-size: 14px; color: #94a3b8; }
.estimate-form-control.textarea-input::-webkit-input-placeholder { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif !important; font-size: 14px; color: #94a3b8; }
.estimate-edit-action-group { display: flex; gap: 12px; justify-content: center; width: 100%; max-width: 480px; margin: 40px auto 0 auto; box-sizing: border-box; }
.estimate-edit-btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; font-size: 15px; font-weight: 600; border-radius: 10px; text-decoration: none; box-sizing: border-box; transition: background-color 0.2s ease, opacity 0.2s ease; border: none; cursor: pointer; }
.estimate-edit-btn.btn-cancel { width: 40%; background-color: #64748b; color: #ffffff; }
.estimate-edit-btn.btn-cancel:hover { background-color: #475569; }
.estimate-edit-btn.btn-submit { width: 60%; gap: 8px; background-color: var(--primary-color, #2563eb); color: #ffffff; }
.estimate-edit-btn.btn-submit:hover { opacity: 0.9; }

/* 5. 주소 검색 로우 및 필(Pill) 라디오 컴포넌트 */
.estimate-address-search-row { display: flex; gap: 10px; width: 100%; max-width: 360px; }
.estimate-address-search-row .zipcode-input { flex: 1; text-align: center; }
.estimate-btn-address-search { height: 48px; padding: 0 20px; font-size: 14px; font-weight: 600; background-color: #334155; color: #ffffff; border: none; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: background-color 0.2s; }
.estimate-btn-address-search:hover { background-color: #1e293b; }
.estimate-modern-pill-container { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.estimate-pill-item { cursor: pointer; margin: 0 !important; }
.estimate-pill-item input { display: none !important; }
.estimate-pill-item .pill-ui-box { display: inline-block; padding: 10px 20px; background-color: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 30px; font-size: 14px; color: #475569; font-weight: 500; transition: all 0.15s ease; }
.estimate-pill-item input:checked + .pill-ui-box { background-color: #eff6ff; border-color: #2563eb; color: #2563eb; font-weight: 600; box-shadow: 0 1px 2px rgba(37, 99, 235, 0.05); }

/* 6. 사진 업로드 박스 및 하단 전송 영역 */
.estimate-modern-upload-box { background-color: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 20px; margin-top: 18px; text-align: left; }
.estimate-modern-upload-box .upload-title { font-size: 13.5px; font-weight: 600; color: #334155; display: block; margin-bottom: 12px; }
.estimate-upload-row-flex { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.estimate-upload-square-trigger { display: inline-block; }
.estimate-upload-square-trigger .square-clickable { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; background-color: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; cursor: pointer; margin: 0; transition: all 0.2s ease; }
.estimate-upload-square-trigger .square-clickable:hover { background-color: #f1f5f9; border-color: #94a3b8; }
.estimate-upload-square-trigger .square-clickable i { font-size: 20px; color: #94a3b8; }
.estimate-preview-inline-wrap { display: flex; flex-wrap: wrap; }
.estimate-upload-status-text { font-size: 12.5px; color: #2563eb; font-weight: 600; margin-top: 8px; margin-bottom: 0; }
.estimate-policy-agree-card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px 24px; margin-bottom: 32px; text-align: left; }
.estimate-policy-checkbox-wrapper { display: flex; align-items: center; gap: 12px; cursor: pointer; margin: 0 !important; }
.estimate-policy-checkbox-wrapper input[type="checkbox"] { width: 18px; height: 18px; accent-color: #2563eb; cursor: pointer; margin: 0; }
.estimate-policy-checkbox-wrapper .checkbox-custom-text { font-size: 14px; font-weight: 500; color: #334155; }
.estimate-policy-link { color: #2563eb; font-weight: 600; text-decoration: underline !important; margin-left: 4px; }
.estimate-submit-action-row { text-align: center; }
.estimate-full-submit-btn { width: 100%; max-width: 360px; height: 56px; font-size: 16px; font-weight: 700; background-color: #2563eb; color: #ffffff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 8px !important; transition: background-color 0.2s; }
.estimate-full-submit-btn:hover { background-color: #1d4ed8; }
.mt-24 { margin-top: 24px; }
.mt-8 { margin-top: 8px; }

/* ==========================================================================
   estimate_success.php
   ========================================================================== */
.estimate-success-card-block { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 56px 40px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.02); text-align: center !important; box-sizing: border-box; }
.estimate-success-icon-circle-anim { display: flex; align-items: center; justify-content: center; margin: 0 auto 24px auto; }
.estimate-success-icon-circle-anim i { font-size: 72px; color: #2563eb; background: linear-gradient(135deg, #2563eb, #1d4ed8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.estimate-success-main-title { font-size: 24px; font-weight: 700; color: #1e293b; margin: 0 0 14px 0; line-height: 1.3; }
.estimate-success-desc-text { font-size: 15.5px; color: #475569; line-height: 1.65; margin: 0 0 36px 0; }
.estimate-success-desc-text strong { color: #1e293b; font-weight: 700; }
.estimate-success-receipt-box { background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px 24px; max-width: 480px; margin: 0 auto 32px auto; box-sizing: border-box; }
.receipt-row-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed #e2e8f0; }
.receipt-row-item:last-child { border-bottom: none; padding-bottom: 0; }
.receipt-row-item:first-child { padding-top: 0; }
.receipt-label-title { font-size: 14px; color: #64748b; font-weight: 600; white-space: nowrap; }
.receipt-value-text { font-size: 14.5px; color: #1e293b; font-weight: 700; text-align: right; }
.estimate-no-monospace-badge { font-family: 'Pretendard', monospace; font-size: 16px; color: #2563eb; letter-spacing: 0.2px; }
.status-pill-badge-requested { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; background-color: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.estimate-success-notice-card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px 22px; text-align: left; max-width: 560px; margin: 0 auto 40px auto; }
.estimate-success-notice-card p { font-size: 13.5px; color: #64748b; line-height: 1.6; margin-bottom: 8px; }
.estimate-success-notice-card p:last-child { margin-bottom: 0; }
.estimate-success-notice-card p i { color: #2563eb; margin-right: 4px; }
.estimate-success-action-group-flex { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 480px; margin: 0 auto; }
.success-action-btn { flex: 1; height: 52px; font-size: 15px; font-weight: 600; text-decoration: none !important; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px !important; transition: all 0.2s ease-in-out; box-sizing: border-box; }
.success-action-btn.btn-secondary-gray { background-color: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.success-action-btn.btn-secondary-gray:hover { background-color: #e2e8f0; color: #334155; }
.success-action-btn.btn-primary-blue { background-color: #2563eb; color: #ffffff; border: none; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15); }
.success-action-btn.btn-primary-blue:hover { background-color: #1d4ed8; }

/* ==========================================================================
   Fix & Safe 통합 의뢰 확인 페이지 전용 서브 스타일 (공통/PC)
   ========================================================================== */
.check-page-find-links { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; border-top: 1px solid #f1f5f9; padding-top: 20px; width: 100%; }
.check-page-find-links a { font-size: 13.5px; text-decoration: none !important; transition: color 0.2s; }
.check-page-find-links a:hover { color: #1d4ed8; }

/* ==========================================================================
   signup.php
   ========================================================================== */
.signup-flex-row-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; width: 100%; box-sizing: border-box; }
.grid-column-item { flex: 1; min-width: 0; }
.signup-agreement-container-card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; box-sizing: border-box; }
.agreement-header-all { background-color: #f8fafc; padding: 16px 20px; border-bottom: 1px solid #e2e8f0; }
.agreement-body-list { padding: 12px 20px; }
.agreement-row-item-flex { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.agreement-row-item-flex:last-child { border-bottom: none; }
.btn-policy-preview { font-size: 12.5px; color: #94a3b8; text-decoration: none !important; transition: color 0.2s; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.btn-policy-preview:hover { color: #2563eb; }

/* ==========================================================================
   my_estimate.php
   ========================================================================== */

.my-estimate-header-flex { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: none !important; padding-bottom: 8px; margin-bottom: 12px; }
.my-estimate-header-flex h3 { font-size: 21px; font-weight: 700; color: #0b132a; }
.btn-new-request-action { background: linear-gradient(135deg, #004fb0 0%, #006bf6 100%); color: #ffffff !important; font-size: 14.5px; font-weight: 700; padding: 11px 20px; border-radius: 8px; text-decoration: none !important; box-shadow: 0 4px 12px rgba(0,79,176,0.1); transition: all 0.2s; }
.btn-new-request-action:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,79,176,0.18); }

.my-estimate-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.summary-count-card { display: flex; flex-direction: column; background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 22px 16px; text-decoration: none !important; text-align: center; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.summary-count-card:hover { transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); }
.summary-count-card.active { border-color: #2563eb; background-color: #f8fafc; box-shadow: inset 0 0 0 1px #2563eb; }
.summary-label { font-size: 15px; font-weight: 600; color: #475569; }
.summary-count-num { font-size: 32px !important; font-weight: 800; margin-top: 6px; line-height: 1.2; }

.recent-list-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px !important; margin-bottom: 8px !important; }
.recent-list-filter-bar .filter-headline { font-size: 18px; font-weight: 700; color: #1e293b; line-height: 1.2; }
.recent-list-filter-bar .all-list-view-link { font-size: 14.5px; text-decoration: none !important; color: #64748b; display: inline-flex; align-items: center; gap: 4px; line-height: 1.2; }

.my-estimate-item-premium-card { display: flex; justify-content: space-between; align-items: center; gap: 32px; background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px 32px; margin-bottom: 18px; box-shadow: 0 4px 16px rgba(160,174,192,0.06); transition: border-color 0.2s, box-shadow 0.2s; }
.my-estimate-item-premium-card:hover { border-color: #cbd5e1; box-shadow: 0 6px 18px rgba(0,0,0,0.04); }

.estimate-badge-pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 6px; }
.estimate-card-date { font-size: 14px; color: #94a3b8; margin-left: 8px; }
.estimate-card-subject { font-size: 19px !important; font-weight: 800; color: #0b132a; margin: 10px 0 14px 0; line-height: 1.4; }

.estimate-card-metadata-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.meta-item-tag { display: inline-flex; align-items: center; gap: 6px; background-color: #f1f5f9; color: #475569; font-size: 13.5px; font-weight: 500; padding: 5px 12px; border-radius: 6px; }
.meta-item-tag i { color: #94a3b8; font-size: 12.5px; }
.meta-item-tag.text-blue-tag { background-color: #eff6ff; color: #1d4ed8; }
.meta-item-tag.text-blue-tag i { color: #3b82f6; }
.meta-item-tag.text-green-tag { background-color: #f0fdf4; color: #15803d; }
.meta-item-tag.text-green-tag i { color: #22c55e; }

.estimate-card-action-column { border-left: none !important; padding-left: 0 !important; min-width: 170px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; }
.btn-card-action-accent, .btn-card-action-secondary, .btn-card-action-dark { font-size: 13.5px !important; font-weight: 700; text-align: center; padding: 11px 15px; border-radius: 8px; width: 100%; text-decoration: none !important; display: block; box-sizing: border-box; }
.btn-card-action-accent { background-color: #ff6f22; color: #ffffff !important; }
.btn-card-action-accent:hover { background-color: #e0560a; }
.btn-card-action-secondary { background-color: #004fb0; color: #ffffff !important; }
.btn-card-action-secondary:hover { background-color: #003a82; }
.btn-card-action-dark { background-color: #334155; color: #ffffff !important; }
.btn-card-action-dark:hover { background-color: #1e293b; }

.action-btn-group-dual { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.btn-card-action-outline { border: 1px solid #cbd5e1; background-color: #ffffff; color: #475569 !important; font-size: 13.5px; font-weight: 600; text-align: center; padding: 10px 15px; border-radius: 8px; width: 100%; text-decoration: none !important; display: block; box-sizing: border-box; transition: all 0.2s; }
.btn-card-action-outline:hover { background-color: #f8fafc; border-color: #94a3b8; }

.action-caption-notice { font-size: 12.5px !important; font-weight: 600; color: #64748b; margin: 12px 0 0 0 !important; border-top: none !important; padding-top: 0 !important; text-align: center; white-space: nowrap; }
.action-caption-notice.alert-red { color: #dc2626; }
.action-caption-notice.text-slate { color: #475569; }

/* ==========================================================================
   my_estimate_detail
   ========================================================================== */
.section-estimate-detail { padding: 48px 0 80px 0; background-color: #f8fafc; }
.detail-outer-container { max-width: 1160px !important; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }

/* 플래시 알림 메시지 */
.alert-toast-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; padding: 14px 20px; border-radius: 8px; margin-bottom: 24px; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.alert-toast-danger { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 14px 20px; border-radius: 8px; margin-bottom: 24px; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* 상단 유틸 바 */
.detail-top-util { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.detail-top-util .btn-back { color: #64748b; font-size: 14.5px; font-weight: 600; text-decoration: none !important; display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.detail-top-util .btn-back:hover { color: #1e293b; }
.detail-top-util .btn-util-edit-item { background-color: #ffffff; border: 1px solid #cbd5e1; color: #475569 !important; font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 6px; text-decoration: none !important; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; }
.detail-top-util .btn-util-edit-item:hover { background-color: #f8fafc; border-color: #94a3b8; }

/* [카드 1] 의뢰 요약 정보 카드 */
.info-summary-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 4px 16px rgba(160,174,192,0.06); overflow: hidden; }
.info-card-header { display: flex; justify-content: space-between; align-items: center; background: #f8fafc; padding: 24px 32px; border-bottom: 1px solid #e2e8f0; }
.info-card-header h2 { font-size: 20px; font-weight: 800; color: #0b132a; margin-bottom: 4px; }
.info-card-header .estimate-serial-num { font-size: 13.5px; color: #64748b; font-weight: 500; }
.info-card-header .status-area { display: flex; align-items: center; gap: 16px; }
.info-card-header .status-badge-lg { font-size: 14.5px; font-weight: 700; padding: 6px 14px; border-radius: 6px; letter-spacing: -0.2px; }
.info-card-header .status-review { background-color: #fef3c7; color: #d97706; }
.info-card-header .status-quoted { background-color: #ecfdf5; color: #059669; }
.info-card-header .status-approved { background-color: #eff6ff; color: #1d4ed8; }
.info-card-header .status-done { background-color: #f1f5f9; color: #475569; }
.info-card-header .reg-date-text { font-size: 14px; color: #94a3b8; }

.info-card-body { padding: 32px; }
.info-meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.info-meta-grid .meta-row { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.info-meta-grid .meta-row .label { color: #64748b; font-weight: 600; width: 100px; min-width: 100px; }
.info-meta-grid .meta-row .value { color: #1e293b; font-weight: 500; }
.info-meta-grid .meta-row .value.block-text { white-space: pre-line; line-height: 1.6; color: #334155; }
.info-meta-grid .meta-row.span-full { grid-column: 1 / -1; border-top: 1px dashed #e2e8f0; padding-top: 16px; margin-top: 8px; }

/* 현장 첨부 사진 */
.photo-gallery-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.photo-gallery-section .section-small-title { font-size: 13.5px; font-weight: 700; color: #64748b; margin-bottom: 10px; }
.photo-thumb-row { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-thumb-wrapper { width: 80px; height: 80px; border-radius: 8px; border: 1px solid #e2e8f0; overflow: hidden; cursor: pointer; transition: transform 0.2s, border-color 0.2s; }
.photo-thumb-wrapper:hover { transform: translateY(-2px); border-color: #3b82f6; }
.photo-thumb-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* [카드 2] 정식 규격 견적서 카드 */
.formal-quotation-container { background: #ffffff; border: 2px solid #0b132a; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.06); padding: 48px; margin-top: 28px; position: relative; }
.formal-quote-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #0b132a; padding-bottom: 24px; margin-bottom: 32px; }
.formal-title-box h1 { font-size: 32px; font-weight: 900; letter-spacing: 6px; color: #0b132a; margin: 0 0 4px 0; }
.formal-title-box .sub-title-eng { font-size: 12px; color: #94a3b8; letter-spacing: 1px; font-weight: 600; }
.formal-author-box { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; text-align: right; }
.formal-author-box .meta-pair { display: flex; justify-content: flex-end; gap: 12px; }
.formal-author-box .meta-pair .label { color: #64748b; }
.formal-author-box .meta-pair strong { color: #0b132a; font-weight: 700; }

.formal-quote-client-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; background-color: #f8fafc; border-radius: 10px; padding: 20px 24px; margin-bottom: 32px; }
.client-info-item { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.client-info-item .label { color: #64748b; font-weight: 600; width: 80px; }
.client-info-item .value { color: #1e293b; font-weight: 500; }
.client-info-item .value.highlight-client { font-size: 16px; font-weight: 700; color: #004fb0; }

/* 세부 품목 테이블 */
.formal-quote-table-wrap { overflow-x: auto; margin-bottom: 32px; }
.formal-quote-table { width: 100%; border-collapse: collapse; }
.formal-quote-table th { background-color: #f1f5f9; color: #475569; font-size: 14px; font-weight: 700; padding: 14px 16px; border-bottom: 2px solid #cbd5e1; text-align: center !important; }
.formal-quote-table td { padding: 16px 16px; border-bottom: 1px solid #e2e8f0; font-size: 14.5px; color: #334155; text-align: center !important; }
.formal-quote-table td.font-numeric { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 500; }
.formal-quote-table td.font-bold-amount { font-weight: 700; color: #0b132a; }

/* 합계 금액 배너 */
.formal-total-sum-banner { background-color: #0b132a; color: #ffffff; border-radius: 12px; padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.formal-total-sum-banner .tax-type-label { font-size: 14px; color: #94a3b8; font-weight: 600; }
.formal-total-sum-banner .total-price-result { display: flex; align-items: center; gap: 16px; }
.formal-total-sum-banner .total-price-result .desc { font-size: 16px; color: #ffffff; font-weight: 700; }
.formal-total-sum-banner .total-price-result .price-text { font-size: 26px; font-weight: 800; color: #38bdf8; }
.formal-total-sum-banner .total-price-result .price-text .currency { font-size: 18px; color: #ffffff; font-weight: 600; }

/* 특이사항 박스 */
.formal-quote-note-box { background: #fffbeb; border: 1px solid #fef3c7; border-radius: 10px; padding: 20px 24px; }
.formal-quote-note-box .note-box-title { display: block; font-size: 13.5px; font-weight: 700; color: #b45309; margin-bottom: 8px; }
.formal-quote-note-box .note-desc { font-size: 14px; color: #78350f; line-height: 1.7; white-space: pre-line; margin: 0; }

/* 하단 액션 결정 패널 */
.bottom-choice-action-panel { background: none !important; border: none !important; box-shadow: none !important; padding: 16px 0 !important; margin-top: 24px; text-align: center; }
.panel-guide-text { justify-content: center !important; font-size: 15px; font-weight: 700; color: #0b132a; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.panel-btn-row { display: flex; align-items: center; justify-content: center !important; gap: 10px; width: 100%; }
.panel-btn-row.left-align { justify-content: center !important; }
.btn-action-cancel-gray { background-color: #f1f5f9 !important; color: #475569 !important; font-size: 14.5px; font-weight: 700; padding: 12px 24px; border-radius: 8px; text-decoration: none !important; transition: background-color 0.2s; display: inline-flex; align-items: center; justify-content: center; }
.btn-action-cancel-gray:hover { background-color: #e2e8f0 !important; }

/* 재견적 요청 토글 폼 */
.requote-toggle-panel { margin-top: 24px; border-top: 1px dashed #cbd5e1; padding-top: 20px; transition: all 0.3s ease; }
.panel-hidden { display: none !important; }
.form-group-textarea .input-title { display: block; font-size: 14px; font-weight: 700; color: #475569; margin-bottom: 8px; }
.form-group-textarea .custom-textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 14px; font-size: 14px; box-sizing: border-box; font-family: inherit; line-height: 1.5; outline: none; transition: border-color 0.2s; }
.form-group-textarea .custom-textarea:focus { border-color: #2563eb; }
.textarea-btn-align { display: flex; justify-content: flex-end; margin-top: 12px; }
.btn-submit-requote-form { background-color: #334155; color: #ffffff; border: none; padding: 10px 20px; font-size: 13.5px; font-weight: 700; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; }
.btn-submit-requote-form:hover { background-color: #1e293b; }

/* 빈 견적서 대체 카드 */
.formal-quote-empty-container { background: #ffffff; border: 1px dashed #cbd5e1; border-radius: 16px; padding: 64px 32px; text-align: center; }
.formal-quote-empty-container .empty-vector-icon { font-size: 44px; color: #cbd5e1; margin-bottom: 16px; }
.formal-quote-empty-container h3 { font-size: 18px; font-weight: 700; color: #475569; margin-bottom: 8px; }
.formal-quote-empty-container p { font-size: 14.5px; color: #64748b; line-height: 1.6; margin-bottom: 24px; }

/* 라이트박스 팝업 오버레이 */
#lbOverlay { position: fixed; inset: 0; z-index: 9999; background: rgba(11, 19, 42, 0.95); align-items: center; justify-content: center; backdrop-filter: blur(8px); transition: opacity 0.25s ease; }
.lightbox-overlay-hidden { display: none !important; opacity: 0; }
.lightbox-overlay-show { display: flex !important; opacity: 1; }
.lightbox-close-btn { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #ffffff; font-size: 36px; cursor: pointer; transition: transform 0.2s; outline: none; }
.lightbox-close-btn:hover { transform: scale(1.1); }
.lightbox-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; width: 52px; height: 52px; font-size: 28px; color: #ffffff; cursor: pointer; transition: all 0.2s; }
.lightbox-nav-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-nav-btn.btn-prev { left: 20px; }
.lightbox-nav-btn.btn-next { right: 20px; }
.lightbox-content-box { max-width: calc(100vw - 160px); max-height: calc(100vh - 120px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox-image { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.lightbox-caption { color: #e2e8f0; font-size: 14px; font-weight: 500; letter-spacing: -0.2px; }

/* ==========================================================================
   my_estimate_edit
   ========================================================================== */

.section-estimate-form { padding: 48px 0 80px 0; background-color: #f8fafc; }
.estimate-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
.form-item-group { display: flex; flex-direction: column; gap: 8px; }
.form-item-group.span-2 { grid-column: 1 / -1; }
.input-form-label { font-size: 14.5px; font-weight: 700; color: #334155; }
.input-form-label .required-dot { color: #ef4444; margin-left: 2px; }
.input-form-control { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px 16px; font-size: 14.5px; box-sizing: border-box; transition: all 0.2s; outline: none; }
.input-form-control:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.select-form-control { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px 16px; font-size: 14.5px; box-sizing: border-box; background-color: #ffffff; outline: none; }
.select-form-control:focus { border-color: #2563eb; }
.address-zip-row { display: flex; gap: 8px; }
.zip-code-input { width: 140px !important; text-align: center; background-color: #f1f5f9; cursor: not-allowed; }
.btn-zip-search { background-color: #0b132a; color: #ffffff; border: none; border-radius: 8px; padding: 0 20px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color 0.2s; white-space: nowrap; }
.btn-zip-search:hover { background-color: #1e293b; }
.margin-top-sm { margin-top: 8px; }
.margin-top-md { margin-top: 16px; }
.file-upload-box { display: flex; align-items: center; gap: 16px; }
.file-hidden-input { display: none !important; }
.btn-file-trigger { display: inline-flex; align-items: center; gap: 8px; background-color: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: #475569; cursor: pointer; transition: all 0.2s; }
.btn-file-trigger:hover { background-color: #f8fafc; border-color: #94a3b8; }
.file-status-text { font-size: 13.5px; color: #94a3b8; font-weight: 500; }
.existing-photo-manager { border: 1px dashed #cbd5e1; border-radius: 10px; padding: 16px; background-color: #f8fafc; }
.existing-photo-manager .small-guide-text { font-size: 13px; color: #64748b; font-weight: 600; margin-bottom: 12px; }
.existing-photo-item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 80px; }
.existing-photo-item .img-wrapper { width: 80px; height: 80px; border-radius: 6px; border: 1px solid #e2e8f0; overflow: hidden; }
.existing-photo-item .img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.delete-checkbox-label { font-size: 12px; font-weight: 700; color: #ef4444; cursor: pointer; display: flex; align-items: center; gap: 4px; }

/* ==========================================================================
   my_qna
   ========================================================================== */

.qna-list-container { width: 100%; max-width: 1200px; margin: 0 auto; box-sizing: border-box; }
.qna-success-toast { display: flex; align-items: center; gap: 8px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; padding: 14px 20px; border-radius: 12px; margin-bottom: 24px; font-size: 16px; font-weight: 500; }
.qna-header-action-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 16px; margin-bottom: 8px; }
.qna-notice-text p { font-size: 16px; color: #475569; margin: 0; font-weight: 500; }
.qna-btn-write { display: inline-flex; align-items: center; gap: 8px; background-color: var(--primary-color, #2563eb); color: #ffffff; border: none; padding: 12px 24px; font-size: 16px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: opacity 0.2s; white-space: nowrap; }
.qna-btn-write:hover { opacity: 0.9; }
.qna-filter-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; width: 100%; gap: 16px; }
.qna-filter-chips { display: flex; gap: 8px; }
.qna-filter-chip { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 20px; font-size: 16px; font-weight: 500; text-decoration: none; background-color: #f1f5f9; color: #64748b; transition: all 0.2s; }
.qna-filter-chip.active { background-color: var(--primary-color, #2563eb); color: #ffffff; font-weight: 600; }
.qna-total-counter { font-size: 16px; color: #64748b; white-space: nowrap; }
.qna-total-counter strong { color: #1e293b; font-weight: 700; }
.qna-table-responsive { width: 100%; overflow-x: auto; background: #ffffff; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.qna-table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; }
.qna-table th { background-color: #f8fafc; color: #475569; font-weight: 600; font-size: 16px; padding: 18px 20px; border-bottom: 1px solid #e2e8f0; text-align: center; }
.qna-table th.col-title { text-align: left; }
.qna-table .col-num { width: 80px; }
.qna-table .col-status { width: 130px; }
.qna-table .col-title { width: auto; }
.qna-table .col-date { width: 140px; }
.qna-row-item { border-bottom: 1px solid #f1f5f9; transition: background-color 0.2s; }
.qna-row-item:hover { background-color: #f8fafc; }
.qna-row-item td { padding: 20px; font-size: 17px; color: #334155; vertical-align: middle; }
.qna-row-item .num { text-align: center; color: #94a3b8; }
.qna-row-item .status { text-align: center; }
.qna-row-item .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qna-row-item .title a { text-decoration: none; color: #1e293b; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.qna-row-item .title a:hover .subject-text { text-decoration: underline; }
.qna-row-item .title .category-prefix { color: #2563eb; font-weight: 600; font-size: 15px; }
.qna-row-item .date { text-align: center; color: #64748b; }
.qna-badge { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 14px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.qna-badge.status-waiting { background-color: #fff7ed; color: #ea580c; border: 1px solid #ffedd5; }
.qna-badge.status-answered { background-color: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.mobile-meta-info { display: none; }
.qna-empty-row { text-align: center; padding: 100px 20px !important; color: #94a3b8; }
.qna-empty-row i { font-size: 36px; color: #cbd5e1; margin-bottom: 16px; display: block; }
.qna-empty-row p { margin: 0; font-size: 17px; }
.qna-pagination-wrap { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; width: 100%; }
.qna-pagination-wrap .pag-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; color: #64748b; text-decoration: none; transition: all 0.2s; }
.qna-pagination-wrap .pag-btn:hover { background: #f1f5f9; color: #1e293b; }
.qna-pagination-wrap .pag-numbers { display: flex; gap: 6px; }
.qna-pagination-wrap .pag-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; text-decoration: none; color: #475569; font-size: 16px; font-weight: 500; transition: all 0.2s; }
.qna-pagination-wrap .pag-num:hover { background: #f1f5f9; }
.qna-pagination-wrap .pag-num.active { background: var(--primary-color, #2563eb); color: #fff; font-weight: 600; }