/* =============================================
       고객센터 통합 페이지 전용 스타일
    ============================================= */

    /* 페이지 Hero */
    .cs-hero {
      background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 60%, #3B82F6 100%);
      padding: 56px 0 0;
      color: white;
      text-align: center;
    }
    .cs-hero .breadcrumb { color: rgba(255,255,255,0.7); margin-bottom: 16px; }
    .cs-hero .breadcrumb a { color: rgba(255,255,255,0.85); }
    .cs-hero h1 { font-size: 2rem; font-weight: 900; margin-bottom: 10px; color: white; }
    .cs-hero p  { font-size: 1rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; }

    /* 탭 메뉴 */
    .cs-tabs-wrap {
      display: flex;
      justify-content: center;
      gap: 0;
      border-bottom: none;
    }
    .cs-tab-btn {
      position: relative;
      padding: 14px 32px;
      font-size: 0.95rem;
      font-weight: 700;
      color: rgba(255,255,255,0.7);
      background: transparent;
      border: none;
      cursor: pointer;
      transition: color 0.2s;
      white-space: nowrap;
      border-bottom: 3px solid transparent;
      letter-spacing: -0.01em;
    }
    .cs-tab-btn:hover { color: white; }
    .cs-tab-btn.active {
      color: white;
      border-bottom-color: white;
    }
    @media (max-width: 600px) {
      .cs-tab-btn { padding: 12px 18px; font-size: 0.875rem; }
      .cs-hero h1 { font-size: 1.5rem; }
    }

    /* 탭 콘텐츠 */
    .cs-body { padding: 48px 0 80px; background: #FFFFFF; min-height: 500px; }
    .cs-panel { display: none; }
    .cs-panel.active { display: block; }

    /* ---- 공통 섹션 헤더 ---- */
    .cs-section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 24px;
      flex-wrap: wrap;
      gap: 12px;
    }
    .cs-section-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--gray-900);
    }

    /* ---- FAQ 탭 ---- */
    .faq-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
    @media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }

    .faq-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
    .faq-tag {
      padding: 6px 16px;
      border: 1.5px solid var(--gray-200);
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--gray-600);
      cursor: pointer;
      transition: all var(--transition);
      background: white;
    }
    .faq-tag:hover, .faq-tag.active {
      border-color: var(--primary);
      color: var(--primary);
      background: var(--primary-light);
    }
    .search-faq { display: flex; gap: 8px; margin-bottom: 20px; }
    .search-faq input { flex: 1; }

    .faq-category { margin-bottom: 36px; }
    .faq-category-title {
      font-size: 1rem;
      font-weight: 800;
      color: var(--gray-800);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 0;
      border-bottom: 2px solid var(--gray-100);
    }

    /* ---- 공지사항 탭 ---- */
    .notice-table {
      width: 100%;
      background: white;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid var(--gray-200);
    }
    .notice-thead {
      display: grid;
      grid-template-columns: 72px 1fr 120px;
      padding: 14px 20px;
      background: var(--gray-50);
      border-bottom: 1px solid var(--gray-200);
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--gray-500);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .notice-row {
      border-bottom: 1px solid var(--gray-100);
      cursor: pointer;
      transition: background 0.15s;
    }
    .notice-row:last-child { border-bottom: none; }
    .notice-row:hover .notice-row-head { background: var(--gray-50); }
    .notice-row-head {
      display: grid;
      grid-template-columns: 72px 1fr 120px;
      padding: 16px 20px;
      align-items: center;
      transition: background 0.15s;
    }
    .notice-num {
      font-size: 0.85rem;
      color: var(--gray-400);
      font-weight: 600;
    }
    .notice-title-cell {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .notice-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 0.7rem;
      font-weight: 700;
      white-space: nowrap;
    }
    .notice-badge.new  { background: #EFF6FF; color: #2563EB; }
    .notice-badge.imp  { background: #FEF3C7; color: #D97706; }
    .notice-badge.sys  { background: #F0FDF4; color: #16A34A; }
    .notice-title-text {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--gray-800);
    }
    .notice-date {
      font-size: 0.82rem;
      color: var(--gray-400);
      text-align: right;
    }
    .notice-detail {
      display: none;
      padding: 20px 24px 24px;
      background: #F8FAFC;
      border-top: 1px dashed var(--gray-200);
      font-size: 0.9rem;
      color: var(--gray-700);
      line-height: 1.8;
    }
    .notice-detail.open { display: block; }
    .notice-detail-title {
      font-size: 1rem;
      font-weight: 800;
      color: var(--gray-900);
      margin-bottom: 12px;
    }
    @media (max-width: 600px) {
      .notice-thead { grid-template-columns: 48px 1fr 90px; padding: 12px 14px; }
      .notice-row-head { grid-template-columns: 48px 1fr 90px; padding: 14px 14px; }
      .notice-num { font-size: 0.78rem; }
      .notice-date { font-size: 0.75rem; }
    }

    /* ---- 이용가이드 탭 ---- */
    .guide-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
    }
    @media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } }

    .guide-card {
      background: white;
      border-radius: var(--radius-lg);
      border: 1px solid var(--gray-200);
      box-shadow: var(--shadow);
      overflow: hidden;
      cursor: pointer;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
    .guide-card-head {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 20px 20px 16px;
    }
    .guide-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: var(--primary-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      flex-shrink: 0;
    }
    .guide-meta { flex: 1; }
    .guide-tag {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 0.7rem;
      font-weight: 700;
      background: var(--primary-light);
      color: var(--primary);
      margin-bottom: 6px;
    }
    .guide-title {
      font-size: 0.975rem;
      font-weight: 800;
      color: var(--gray-900);
      margin-bottom: 4px;
    }
    .guide-desc {
      font-size: 0.825rem;
      color: var(--gray-500);
      line-height: 1.5;
    }
    .guide-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 20px;
      border-top: 1px solid var(--gray-100);
      background: var(--gray-50);
    }
    .guide-date { font-size: 0.78rem; color: var(--gray-400); }
    .guide-more-btn {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--primary);
      background: var(--primary-light);
      border: none;
      border-radius: 6px;
      padding: 5px 12px;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }
    .guide-more-btn:hover { background: var(--primary); color: white; }
    /* 이용가이드 상세 내용은 data 속성으로 관리 — .guide-detail 숨김 처리 */
    .guide-detail { display: none !important; }

    /* ---- 이용가이드 모달 ---- */
    .guide-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.55);
      z-index: 9000;
      align-items: center;
      justify-content: center;
      padding: 20px;
      animation: gmFadeIn 0.18s ease;
    }
    .guide-modal-overlay.open { display: flex; }
    @keyframes gmFadeIn { from { opacity: 0; } to { opacity: 1; } }

    .guide-modal {
      background: white;
      border-radius: 16px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.2);
      width: 100%;
      max-width: 560px;
      max-height: 88vh;
      display: flex;
      flex-direction: column;
      animation: gmSlideUp 0.22s cubic-bezier(0.34,1.56,0.64,1);
      overflow: hidden;
    }
    @keyframes gmSlideUp { from { opacity:0; transform:translateY(24px) scale(0.97); } to { opacity:1; transform:translateY(0) scale(1); } }

    .guide-modal-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      padding: 22px 24px 16px;
      border-bottom: 1px solid var(--gray-100);
      gap: 12px;
      flex-shrink: 0;
    }
    .guide-modal-header-left { display: flex; align-items: center; gap: 12px; }
    .guide-modal-icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: var(--primary-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      flex-shrink: 0;
    }
    .guide-modal-tag {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 0.68rem;
      font-weight: 700;
      background: var(--primary-light);
      color: var(--primary);
      margin-bottom: 4px;
    }
    .guide-modal-title {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--gray-900);
      line-height: 1.3;
    }
    .guide-modal-close {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      border: 1px solid var(--gray-200);
      background: var(--gray-50);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      color: var(--gray-500);
      flex-shrink: 0;
      transition: background 0.15s, color 0.15s;
    }
    .guide-modal-close:hover { background: var(--gray-200); color: var(--gray-800); }

    .guide-modal-meta {
      padding: 10px 24px;
      background: var(--gray-50);
      border-bottom: 1px solid var(--gray-100);
      font-size: 0.8rem;
      color: var(--gray-500);
      flex-shrink: 0;
    }

    .guide-modal-body {
      padding: 20px 24px 24px;
      overflow-y: auto;
      font-size: 0.9rem;
      color: var(--gray-700);
      line-height: 1.85;
      flex: 1;
    }
    .guide-modal-body ol, .guide-modal-body ul { padding-left: 20px; margin: 10px 0; }
    .guide-modal-body li { margin-bottom: 8px; }
    .guide-modal-body strong { color: var(--gray-900); }
    .guide-modal-body a { color: var(--primary); font-weight: 600; }
    .guide-modal-body p { margin-bottom: 10px; }

    .guide-modal-footer {
      padding: 14px 24px;
      border-top: 1px solid var(--gray-100);
      display: flex;
      justify-content: flex-end;
      flex-shrink: 0;
    }

    @media (max-width: 600px) {
      .guide-modal { max-width: 100%; border-radius: 14px; max-height: 92vh; }
      .guide-modal-header { padding: 18px 18px 14px; }
      .guide-modal-body { padding: 16px 18px 20px; }
      .guide-modal-footer { padding: 12px 18px; }
    }

    /* ---- 사이드바 (FAQ) ---- */
    .sidebar-sticky-wrapper {
      position: sticky;
      top: calc(64px + 20px);
      align-self: start;
    }
    @media (max-width: 900px) { .sidebar-sticky-wrapper { position: static; } }
    .contact-card {
      background: white;
      border-radius: var(--radius-lg);
      border: 1px solid var(--gray-200);
      box-shadow: var(--shadow);
      padding: 22px;
      margin-bottom: 16px;
    }
    .contact-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--gray-800); margin-bottom: 14px; }
    .contact-method {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 11px 12px;
      background: var(--gray-50);
      border-radius: var(--radius);
      margin-bottom: 8px;
      text-decoration: none;
      color: var(--gray-700);
      transition: all var(--transition);
    }
    .contact-method:hover { background: var(--primary-light); color: var(--primary); }
    .contact-method .cm-icon { font-size: 1.2rem; }
    .contact-method .cm-text { font-size: 0.875rem; font-weight: 600; }
    .contact-method .cm-label { font-size: 0.75rem; color: var(--gray-500); }

    /* 빈 상태 */
    .cs-empty {
      text-align: center;
      padding: 60px 20px;
      color: var(--gray-400);
    }
    .cs-empty-icon { font-size: 3rem; margin-bottom: 12px; }
    .cs-empty p { font-size: 0.95rem; }