
/* =====================================================================
   cert_print.html
   ===================================================================== */
  .cert_w {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --orange-500: #f26b1e;
    --orange-600: #e85d14;
    --green-500: #10b981;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.08);
    --shadow-lg: 0 12px 30px rgba(15,30,60,0.12);
    --container: 1280px;
  }

  html, body { margin: 0; padding: 0; }

  /* Reset (페이지 루트로 한정) */
  .cert_w, .cert_w *, .cert_w *::before, .cert_w *::after { box-sizing: border-box; }
  .cert_w {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  .cert_w a { color: inherit; text-decoration: none; }
  .cert_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; padding: 0; }
  .cert_w ul { list-style: none; padding: 0; margin: 0; }
  .cert_w h1, .cert_w h2, .cert_w h3, .cert_w h4 { margin: 0; }

  .cert_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }


  .cert_w {
    padding: 60px 0 100px;
  }
  .cert_w .cert_layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
  }

  /* ============================
     Sidebar 
     ============================ */
  .cert_w .profile_side_w {
    position: sticky;
    top: 24px;
    align-self: start;
      min-width: 0;
    }
  .cert_w .profile_card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
  }
  .cert_w .profile_img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    margin: 0 auto 14px;
    overflow: hidden;
  }
  .cert_w .profile_img img {
  width: 100%;       
  height: 100%;
  object-fit: cover; 
  display: block;  
  }
  .cert_w .profile_name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
  }

  .cert_w .profile_menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }
  .cert_w .profile_item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    transition: background .2s, color .2s;
  }
  .cert_w .profile_item a:hover {
    background: var(--gray-100);
    color: var(--navy-700);
  }
  .cert_w .profile_item.on a {
    background: var(--white);
    color: var(--navy-700);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
  }
  .cert_w .profile_item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    color: var(--navy-700);
  }

  .cert_w .profile_logout {
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
  }
  .cert_w .profile_logout a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    transition: color .2s;
  }
  .cert_w .profile_logout a:hover { color: var(--navy-700); }
  .cert_w .profile_logout i { font-size: 16px; width: 18px; text-align: center; }

  /* ============================
     Main area
     ============================ */
  .cert_w .cert_main_w {
    min-width: 0;
  }

  /* 상단: 타이틀 + 검색/연도 */
  .cert_w .cert_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
  }
  .cert_w .cert_top_text {
    flex: 1 1 auto;
    min-width: 260px;
  }
  .cert_w .cert_title {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin: 0 0 10px;
  }
  .cert_w .cert_desc {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.65;
    max-width: 480px;
  }
  .cert_w .cert_top_actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }

  /* 검색바 */
  .cert_w .cert_search_w {
    position: relative;
    display: flex;
    align-items: center;
  }
  .cert_w .cert_search_w input {
    width: 260px;
    height: 44px;
    padding: 0 16px 0 40px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 13px;
    font-family: inherit;
    color: var(--gray-800);
    outline: none;
    transition: border-color .2s;
  }
  .cert_w .cert_search_w input::placeholder { color: var(--gray-500); }
  .cert_w .cert_search_w input:focus { border-color: var(--navy-700); }
  .cert_w .cert_search_w > i {
    position: absolute;
    left: 14px;
    color: var(--gray-500);
    font-size: 13px;
    pointer-events: none;
  }

  /* 연도 select */
  .cert_w .cert_year_w {
    position: relative;
    display: flex;
    align-items: center;
  }
  .cert_w .cert_year_select {
    appearance: none;
    -webkit-appearance: none;
    height: 44px;
    padding: 0 38px 0 16px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--gray-800);
    cursor: pointer;
    min-width: 110px;
    outline: none;
  }
  .cert_w .cert_year_w > i {
    position: absolute;
    right: 14px;
    color: var(--gray-500);
    font-size: 11px;
    pointer-events: none;
  }

  /* ============================
     통계 카드 (좌측 색상 강조선)
     ============================ */
  .cert_w .stat_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
  }
  .cert_w .stat_card {
    background: var(--white);
    border-radius: 12px;
    padding: 22px 26px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
  }
  .cert_w .stat_card::before {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
  }
  .cert_w .stat_card.stat_navy::before { background: var(--navy-700); }
  .cert_w .stat_card.stat_green::before { background: var(--green-500); }

  .cert_w .stat_label {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
    font-weight: 500;
  }
  .cert_w .stat_value {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .cert_w .stat_num {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
  }
  .cert_w .stat_num.stat_date {
    font-size: 26px;
    color: var(--navy-700);
  }
  .cert_w .stat_unit {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 600;
  }

  /* ============================
     수료증 카드 리스트
     ============================ */
  .cert_w .cert_list_w {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
  }
  .cert_w .cert_card {
    background: var(--white);
    border-radius: 16px;
    padding: 26px 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: transform .25s, box-shadow .25s;
  }
  .cert_w .cert_card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }
  .cert_w .cert_card_info {
    flex: 1;
    min-width: 0;
  }
  .cert_w .cert_status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--orange-500);
    color: var(--white);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
  }
  .cert_w .cert_status i { font-size: 11px; }

  .cert_w .cert_card_title {
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin: 0 0 14px;
  }
  .cert_w .cert_card_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
  }
  .cert_w .cert_meta_item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-600);
    font-variant-numeric: tabular-nums;
  }
  .cert_w .cert_meta_item i {
    font-size: 12px;
    color: var(--gray-500);
  }

  /* 카드 액션 버튼 */
  .cert_w .cert_card_actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }
  .cert_w .btn_cert_print,
  .cert_w .btn_cert_pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s;
    white-space: nowrap;
  }
  .cert_w .btn_cert_print {
    background: var(--navy-700);
    color: var(--white);
  }
  .cert_w .btn_cert_print:hover { background: var(--navy-900); }
  .cert_w .btn_cert_pdf {
    background: var(--gray-100);
    color: var(--gray-700);
  }
  .cert_w .btn_cert_pdf:hover { background: var(--gray-200); }

  /* ============================
     페이지네이션
     ============================ */
  .cert_w .pagination_w {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
  }
  .cert_w .pagination_btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-100);
    transition: background .2s, color .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .cert_w .pagination_btn:hover { background: var(--gray-200); }
  .cert_w .pagination_btn.on {
    background: var(--navy-700);
    color: var(--white);
  }
  .cert_w .pagination_btn.on:hover { background: var(--navy-900); }
  .cert_w .pagination_arrow {
    background: transparent;
    color: var(--gray-500);
  }
  .cert_w .pagination_arrow:hover {
    background: var(--gray-100);
    color: var(--navy-700);
  }
  .cert_w .pagination_arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  /* ============================
     반응형
     ============================ */
  /* 1280px 이하 */
  @media (max-width: 1280px) {
    .cert_w .cert_layout {
      grid-template-columns: 220px 1fr;
      gap: 40px;
    }
  }

  /* 1024px 이하 (태블릿): 사이드바 → 상단 가로 탭 */
  @media (max-width: 1024px) {
    .cert_w { padding: 40px 0 80px; }
    .cert_w .cert_layout {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .cert_w .profile_side_w { position: static;
      min-width: 0;
    }
    .cert_w .profile_card {
      display: flex;
      align-items: center;
      gap: 16px;
      text-align: left;
      padding: 14px 18px;
      margin-bottom: 12px;
    }
    .cert_w .profile_img { width: 48px; height: 48px; margin: 0; }
    .cert_w .profile_menu {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;  /* 가로 스크롤 대신 줄바꿈 */
      
      gap: 4px;
      background: var(--gray-100);
      border-radius: 12px;
      padding: 6px;
      margin: 0 0 12px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      min-width: 0; max-width: 100%;
    }
    .cert_w .profile_menu::-webkit-scrollbar { display: none; }
    .cert_w .profile_item { flex-shrink: 0; }
    .cert_w .profile_item a {
      white-space: nowrap;
      padding: 10px 18px;
      font-size: 13px;
      border-radius: 100px;
      background: transparent;
    }
    .cert_w .profile_item.on a { background: var(--white); }
    .cert_w .profile_item i { display: none; }
    .cert_w .profile_logout { border-top: none; padding-top: 0; }
    .cert_w .profile_logout a { padding: 8px 16px; font-size: 13px; }
  }

  /* 768px 이하 (모바일): 통계 1열, 카드 세로 레이아웃 */
  @media (max-width: 768px) {
    /* 상단 영역: 검색/연도가 아래로 떨어지면 풀폭 */
    .cert_w .cert_top {
      flex-direction: column;
      align-items: stretch;
      margin-bottom: 28px;
    }
    .cert_w .cert_top_actions {
      width: 100%;
    }
    .cert_w .cert_search_w { flex: 1; }
    .cert_w .cert_search_w input { width: 100%; }

    /* 통계 카드 1열 */
    .cert_w .stat_grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .cert_w .stat_card {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 22px;
    }
    .cert_w .stat_label { margin-bottom: 0; }
    .cert_w .stat_num { font-size: 26px; }
    .cert_w .stat_num.stat_date { font-size: 20px; }

    /* 수료증 카드 세로 레이아웃 */
    .cert_w .cert_card {
      flex-direction: column;
      align-items: stretch;
      padding: 22px 24px;
      gap: 18px;
    }
    .cert_w .cert_card_title { font-size: 16px; }
    .cert_w .cert_card_actions {
      gap: 8px;
    }
    .cert_w .btn_cert_print,
    .cert_w .btn_cert_pdf {
      flex: 1;
      padding: 11px 18px;
      font-size: 12px;
    }
  }

  /* 600px 이하 */
  @media (max-width: 600px) {
    .cert_w .container { padding: 0 16px; }
    .cert_w { padding: 28px 0 60px; }
    .cert_w .cert_layout { gap: 24px; }

    .cert_w .profile_item a { padding: 9px 14px; font-size: 12px; }
    .cert_w .profile_card { padding: 12px 16px; }
    .cert_w .profile_name { font-size: 13px; }

    /* 검색 + 연도 - 가로 유지하되 검색이 더 차지 */
    .cert_w .cert_top_actions { gap: 6px; }
    .cert_w .cert_year_select { min-width: 90px; font-size: 12px; }

    /* 통계 카드 */
    .cert_w .stat_card { padding: 16px 20px; }
    .cert_w .stat_label { font-size: 12px; }
    .cert_w .stat_num { font-size: 22px; }
    .cert_w .stat_num.stat_date { font-size: 17px; }

    /* 수료증 카드 메타 영역 세로 정렬 */
    .cert_w .cert_card { padding: 20px; }
    .cert_w .cert_card_meta {
      flex-direction: column;
      gap: 6px;
    }
    .cert_w .cert_status {
      font-size: 10px;
      padding: 4px 12px;
      margin-bottom: 10px;
    }
    .cert_w .cert_card_title {
      font-size: 15px;
      margin-bottom: 12px;
    }
    .cert_w .cert_meta_item { font-size: 12px; }

    /* 페이지네이션 */
    .cert_w .pagination_w {
      justify-content: center;
    }
    .cert_w .pagination_btn {
      min-width: 32px;
      height: 32px;
      font-size: 12px;
    }
  }

  /* 420px 이하 (매우 작은 화면) */
  @media (max-width: 420px) {
    /* 검색 위, 연도 아래로 분리 */
    .cert_w .cert_top_actions {
      flex-direction: column;
    }
    .cert_w .cert_year_select { width: 100%; }
  }

  /* 터치 디바이스: hover 효과 제거 */
  @media (hover: none) {
    .cert_w .cert_card:hover { transform: none; box-shadow: var(--shadow-sm); }
    .cert_w .btn_cert_print:hover { background: var(--navy-700); }
    .cert_w .btn_cert_pdf:hover { background: var(--gray-100); }
    .cert_w .profile_item a:hover { background: transparent; color: var(--gray-600); }
    .cert_w .pagination_btn:hover { background: var(--gray-100); }
  }

  .cert_w table.cert_dt,
  .cert_w table.cert_dt tbody,
  .cert_w table.cert_dt tr,
  .cert_w table.cert_dt td { display: block; width: 100%; }
  .cert_w table.cert_dt { border-collapse: collapse; }
  .cert_w table.cert_dt thead { display: none; }     /* 리스트 외형 유지 */
  .cert_w table.cert_dt tr { margin-bottom: 16px; }
  .cert_w table.cert_dt tr:last-child { margin-bottom: 0; }

  .cert_w table.cert_dt { border: 0 !important; }
  .cert_w table.cert_dt td { padding: 0; border: 0 !important; }

  /* DataTables 기본 검색/길이/info 숨김 (검색은 기존 .cert_search_w 사용) */
  .cert_w .dt-search,
  .cert_w .dt-length,
  .cert_w .dt-info { display: none !important; }
  .cert_w .dt-layout-row { margin: 0 !important; }
  .cert_w div.dt-container .dt-paging {
    display: flex; justify-content: flex-end; align-items: center;
    gap: 4px; margin-top: 32px;
  }
  /* DataTables 페이저 → 기존 .pagination_btn 룩 그대로 매칭 */
  .cert_w .dt-paging .dt-paging-button {
    min-width: 36px; height: 36px; padding: 0 12px;
    border: none !important; border-radius: 8px !important;
    font-size: 13px; font-weight: 600;
    color: var(--gray-700) !important;
    background: var(--gray-100) !important;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: inherit; cursor: pointer;
    transition: background .2s, color .2s;
  }
  .cert_w .dt-paging .dt-paging-button:hover:not(.disabled):not(.current) {
    background: var(--gray-200) !important;
  }
  .cert_w div.dt-container .dt-paging .dt-paging-button.current,
  .cert_w div.dt-container .dt-paging .dt-paging-button.current:hover,
  .cert_w div.dt-container .dt-paging .dt-paging-button.current:active,
  .cert_w div.dt-container .dt-paging .dt-paging-button.current * {
    background: var(--navy-700) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: var(--navy-700) !important;
  }
  .cert_w .dt-paging .dt-paging-button.first,
  .cert_w .dt-paging .dt-paging-button.last { display: none; }   /* « » 숨김 */
  .cert_w .dt-paging .dt-paging-button.previous,
  .cert_w .dt-paging .dt-paging-button.next {
    background: transparent !important;
    color: var(--gray-500) !important;
  }
  .cert_w .dt-paging .dt-paging-button.previous:hover:not(.disabled),
  .cert_w .dt-paging .dt-paging-button.next:hover:not(.disabled) {
    background: var(--gray-100) !important;
    color: var(--navy-700) !important;
  }
  .cert_w .dt-paging .dt-paging-button.disabled { opacity: .4; cursor: default; }
  .cert_w .cert_empty_row td {
    text-align: center; color: var(--gray-500);
    font-size: 14px; padding: 40px 0 !important;
  }


/* =====================================================================
   course_history.html
   ===================================================================== */
  :root {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --orange-500: #f26b1e;
    --orange-600: #e85d14;
    --green-500: #10b981;
    --red-500: #ef4444;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.08);
    --shadow-lg: 0 12px 30px rgba(15,30,60,0.12);
    --container: 1280px;
  }

  /* Reset */
  *,*::before,*::after { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: transparent; padding: 0; }
  ul { list-style: none; padding: 0; margin: 0; }
  h1, h2, h3, h4 { margin: 0; }

  .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ============================
     Page wrapper
     ============================ */
  .history_w {
    padding: 60px 0 100px;
  }
  .history_w .history_layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
  }

  /* ============================
     Sidebar
     ============================ */
  .history_w .profile_side_w {
    position: sticky;
    top: 24px;
    align-self: start;
      min-width: 0;
    }
  .history_w .profile_card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
  }
  .history_w .profile_img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    margin: 0 auto 14px;
    overflow: hidden;
  }
  .history_w .profile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .history_w .profile_name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
  }

  .history_w .profile_menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }
  .history_w .profile_item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    transition: background .2s, color .2s;
  }
  .history_w .profile_item a:hover {
    background: var(--gray-100);
    color: var(--navy-700);
  }
  .history_w .profile_item.on a {
    background: var(--white);
    color: var(--navy-700);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
  }
  .history_w .profile_item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    color: var(--navy-700);
  }

  .history_w .profile_logout {
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
  }
  .history_w .profile_logout a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    transition: color .2s;
  }
  .history_w .profile_logout a:hover { color: var(--navy-700); }
  .history_w .profile_logout i { font-size: 16px; width: 18px; text-align: center; }

  /* ============================
     Main area
     ============================ */
  .history_w .history_main_w {
    min-width: 0;
  }

  /* 상단 타이틀 */
  .history_w .history_top {
    margin-bottom: 28px;
  }
  .history_w .history_title {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin: 0 0 8px;
  }
  .history_w .history_desc {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
  }

  /* ============================
     통계 카드 (Status / Success / Rewards)
     ============================ */
  .history_w .stat_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
  }
  .history_w .stat_card {
    background: var(--gray-100);
    border-radius: 14px;
    padding: 22px 24px;
  }
  .history_w .stat_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
  }
  .history_w .stat_icon {
    width: 38px;
    height: 38px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-700);
    font-size: 15px;
  }
  .history_w .stat_label {
    font-size: 11px;
    letter-spacing: 0.18em;
    font-weight: 800;
    color: var(--gray-500);
  }
  .history_w .stat_text {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 6px;
  }
  .history_w .stat_num {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
  }

  /* ============================
     필터 탭 (슬라이딩 인디케이터)
     ============================ */
  .history_w .history_filter {
    position: relative;
    display: inline-flex;
    gap: 0;
    background: var(--gray-200);
    border-radius: 100px;
    padding: 5px;
    margin-bottom: 28px;
    flex-wrap: nowrap;
  }
  .history_w .history_filter_btn {
    position: relative;
    z-index: 1;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    background: transparent;
    transition: color 0.25s;
    white-space: nowrap;
  }
  .history_w .history_filter_btn:hover {
    color: var(--navy-700);
  }
  .history_w .history_filter_btn.on {
    color: var(--white);
    font-weight: 700;
  }
  .history_w .history_filter_btn.on:hover {
    color: var(--white);
  }

  /* 슬라이딩 인디케이터 (활성 탭 위치로 부드럽게 이동) */
  .history_w .filter_indicator {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: 0;
    background: var(--orange-500);
    border-radius: 100px;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, width;
  }
  /* 초기 렌더링 깜빡임 방지 - JS가 위치 설정한 뒤 .ready로 표시 */
  .history_w .filter_indicator:not(.ready) {
    transition: none;
    opacity: 0;
  }
  .history_w .filter_indicator.ready {
    opacity: 1;
  }

  /* ============================
     섹션 공통 (학습 중 / 수강 완료)
     ============================ */
  .history_w .lec_section {
    margin-bottom: 56px;
  }
  .history_w .lec_section_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
  }
  .history_w .lec_section_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
  }
  .history_w .lec_section_title_icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-700);
    font-size: 14px;
  }
  .history_w .view_all {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 600;
    transition: color .2s;
    flex-shrink: 0;
  }
  .history_w .view_all:hover { color: var(--navy-700); }

  /* ============================
     학습 중인 강의 카드
     ============================ */
  .history_w .lec_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .history_w .lec_item {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: transform .25s, box-shadow .25s;
  }
  .history_w .lec_item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  .history_w .lec_img {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: var(--navy-700);
    overflow: hidden;
  }
  .history_w .lec_img.bg_a { background: linear-gradient(135deg, #fff1e6, #ffe0cc); }
  .history_w .lec_img.bg_b { background: linear-gradient(135deg, #e8f0fe, #d4e2fc); }

  .history_w .lec_body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .history_w .lec_status_w {
    margin-bottom: 6px;
    min-height: 18px;
  }
  .history_w .lec_live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--red-500);
  }
  .history_w .lec_live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red-500);
    animation: pulse 1.5s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  .history_w .lec_recent {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0 0 6px;
  }
  .history_w .lec_subject {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.45;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
  }

  /* 진도율 */
  .history_w .lec_progress_w {
    margin-bottom: 14px;
  }
  .history_w .lec_progress_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  .history_w .lec_progress_label {
    font-size: 12px;
    font-weight: 700;
    color: var(--green-500);
  }
  .history_w .lec_progress_count {
    font-size: 12px;
    color: var(--gray-500);
    font-variant-numeric: tabular-nums;
  }
  .history_w .lec_progress_bar {
    width: 100%;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
  }
  .history_w .lec_progress_fill {
    height: 100%;
    background: var(--green-500);
    border-radius: 2px;
    transition: width .3s;
  }

  /* 카드 버튼 */
  .history_w .btn_zoom, .btn_continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s;
    margin-top: auto;
  }
  .history_w .btn_zoom {
    border: 1px solid var(--navy-700);
    color: var(--navy-700);
    background: transparent;
  }
  .history_w .btn_zoom:hover { background: var(--navy-700); color: var(--white); }
  .history_w .btn_continue {
    background: var(--navy-900);
    color: var(--white);
  }
  .history_w .btn_continue:hover { background: var(--navy-700); }

  
  /* ============================
     수강 완료 테이블
     ============================ */
  .history_w .complete_list_w {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  .history_w .complete_table {
    width: 100%;
    border-collapse: collapse;
  }
  .history_w .complete_table thead {
    background: var(--gray-100);
  }
  .history_w .complete_table th {
    padding: 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-600);
    text-align: center;
    letter-spacing: -0.01em;
  }
  .history_w .complete_table th:first-child {
    text-align: left;
    padding-left: 28px;
  }
  .history_w .complete_table td {
    padding: 22px 16px;
    font-size: 14px;
    color: var(--gray-800);
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
    font-variant-numeric: tabular-nums;
  }
  .history_w .complete_table td:first-child {
    text-align: left;
    padding-left: 28px;
    font-weight: 600;
    color: var(--gray-900);
  }
  .history_w .complete_table tbody tr:last-child td {
    border-bottom: none;
  }
  .history_w .btn_cert {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 1px solid var(--navy-700);
    color: var(--navy-700);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    transition: all .2s;
  }
  .history_w .btn_cert:hover {
    background: var(--navy-700);
    color: var(--white);
  }

  /* ============================
     반응형
     ============================ */
  /* 1280px 이하: 사이드바 축소 */
  @media (max-width: 1280px) {
    .history_w .history_layout {
      grid-template-columns: 220px 1fr;
      gap: 40px;
    }
  }

  /* 1024px 이하 (태블릿): 사이드바를 상단 가로 탭으로 */
  @media (max-width: 1024px) {
    .history_w { padding: 40px 0 80px; }
    .history_w .history_layout {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .history_w .profile_side_w {
      position: static;
      min-width: 0;
    }
    /* 프로필 카드를 가로 레이아웃으로 */
    .history_w .profile_card {
      display: flex;
      align-items: center;
      gap: 16px;
      text-align: left;
      padding: 14px 18px;
      margin-bottom: 12px;
    }
    .history_w .profile_img {
      width: 48px;
      height: 48px;
      margin: 0;
    }
    /* 메뉴를 가로 스크롤 탭으로 */
    .history_w .profile_menu {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;  /* 가로 스크롤 대신 줄바꿈 */
      
      gap: 4px;
      background: var(--gray-100);
      border-radius: 12px;
      padding: 6px;
      margin: 0 0 12px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      min-width: 0; max-width: 100%;
    }
    .history_w .profile_menu::-webkit-scrollbar { display: none; }
    .history_w .profile_item { flex-shrink: 0; }
    .history_w .profile_item a {
      white-space: nowrap;
      padding: 10px 18px;
      font-size: 13px;
      border-radius: 100px;
      background: transparent;
    }
    .history_w .profile_item.on a { background: var(--white); }
    .history_w .profile_item i { display: none; }
    /* Logout */
    .history_w .profile_logout {
      border-top: none;
      padding-top: 0;
    }
    .history_w .profile_logout a {
      padding: 8px 16px;
      font-size: 13px;
    }
  }

  /* 768px 이하 (모바일 큰 화면): 통계 카드 1열, 학습 카드 1열, 테이블→카드 */
  @media (max-width: 768px) {
    /* 통계 카드 가로 레이아웃 */
    .history_w .stat_grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .history_w .stat_card {
      display: grid;
      grid-template-columns: auto 1fr auto;
      grid-template-areas:
        "icon text num"
        "icon label num";
      gap: 0 16px;
      align-items: center;
      padding: 18px 22px;
    }
    .history_w .stat_top {
      display: contents;
    }
    .history_w .stat_icon { grid-area: icon; }
    .history_w .stat_label {
      grid-area: label;
      align-self: start;
    }
    .history_w .stat_text {
      grid-area: text;
      margin: 0;
      align-self: end;
    }
    .history_w .stat_num {
      grid-area: num;
      font-size: 28px;
      align-self: center;
    }

    /* 학습중 카드 1열 */
    .history_w .lec_grid {
      grid-template-columns: 1fr;
    }

    /* 필터: 슬라이딩 인디케이터 유지 (3개 탭이므로 wrap 없이 한 줄) */
    .history_w .history_filter {
      max-width: 100%;
    }
    .history_w .history_filter_btn {
      white-space: nowrap;
      flex-shrink: 0;
      padding: 9px 16px;
      font-size: 12px;
    }

    /* 수강 완료 테이블 → 카드 리스트로 변환 */
    .history_w .complete_list_w {
      background: transparent;
      box-shadow: none;
      border-radius: 0;
      overflow: visible;
    }
    .history_w .complete_table thead { display: none; }
    .history_w .complete_table tbody tr {
      display: block;
      background: var(--white);
      border-radius: 12px;
      padding: 16px 20px;
      margin-bottom: 12px;
      box-shadow: var(--shadow-sm);
    }
    .history_w .complete_table tbody td {
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: right;
      padding: 8px 0;
      border: none;
      gap: 12px;
    }
    .history_w .complete_table tbody td::before {
      content: attr(data-label);
      font-size: 12px;
      font-weight: 600;
      color: var(--gray-500);
      text-align: left;
      flex-shrink: 0;
    }
    .history_w .complete_table tbody td:first-child {
      padding: 0 0 12px;
      margin-bottom: 8px;
      border-bottom: 1px solid var(--gray-100);
      font-size: 14px;
      justify-content: flex-start;
      text-align: left;
    }
    .history_w .complete_table tbody td:first-child::before { display: none; }
  }

  /* 600px 이하 (모바일): 패딩 축소, 카드 컴팩트 */
  @media (max-width: 600px) {
    .container { padding: 0 16px; }
    .history_w { padding: 28px 0 60px; }
    .history_w .history_layout { gap: 24px; }

    .history_w .history_filter_btn { padding: 9px 14px; font-size: 12px; }
    .history_w .filter_indicator { top: 4px; left: 4px; height: calc(100% - 8px); }
    .history_w .history_filter { padding: 4px; }

    .history_w .profile_item a { padding: 9px 14px; font-size: 12px; }
    .history_w .profile_card { padding: 12px 16px; }
    .history_w .profile_name { font-size: 13px; }

    /* 통계 카드 */
    .history_w .stat_card {
      padding: 16px 18px;
      gap: 0 12px;
    }
    .history_w .stat_icon { width: 34px; height: 34px; font-size: 13px; }
    .history_w .stat_label { font-size: 10px; }
    .history_w .stat_text { font-size: 12px; }
    .history_w .stat_num { font-size: 24px; }

    /* 학습 카드 */
    .history_w .lec_section { margin-bottom: 40px; }
    .history_w .lec_section_title { font-size: 16px; }
    .history_w .lec_item { padding: 16px; gap: 14px; }
    .history_w .lec_img {
      width: 88px;
      height: 88px;
      font-size: 30px;
      border-radius: 10px;
    }
    .history_w .lec_subject { font-size: 13px; margin-bottom: 12px; }
    .history_w .btn_zoom, .btn_continue {
      padding: 10px 16px;
      font-size: 12px;
    }
  }

  /* 420px 이하 (매우 작은 화면): 학습 카드 세로 레이아웃 */
  @media (max-width: 420px) {
    .history_w .lec_item {
      flex-direction: column;
      gap: 12px;
    }
    .history_w .lec_img {
      width: 100%;
      height: 110px;
      font-size: 36px;
    }
    .history_w .btn_zoom, .btn_continue { width: 100%; }
  }

  /* 터치 디바이스: hover 효과 제거 */
  @media (hover: none) {
    .history_w .lec_item:hover { transform: none; box-shadow: var(--shadow-md); }
    .history_w .btn_zoom:hover { background: transparent; color: var(--navy-700); }
    .history_w .btn_cert:hover { background: transparent; color: var(--navy-700); }
    .history_w .profile_item a:hover { background: transparent; color: var(--gray-600); }
    .history_w .history_filter_btn:hover { background: var(--gray-200); }
  }


/* =====================================================================
   course_request.html
   ===================================================================== */
  .request_w {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --navy-600: #1e3a5f;
    --orange-500: #f26b1e;
    --orange-600: #e85d14;
    --orange-100: #fff1e6;
    --blue-500: #3b82f6;
    --green-500: #10b981;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.08);
    --shadow-lg: 0 12px 30px rgba(15,30,60,0.12);
    --container: 1280px;
  }

  .request_w, .request_w *, .request_w *::before, .request_w *::after { box-sizing: border-box; }
  .request_w {
    margin: 0;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  .request_w a { color: inherit; text-decoration: none; }
  .request_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; padding: 0; }
  .request_w ul { list-style: none; padding: 0; margin: 0; }
  .request_w h1, .request_w h2, .request_w h3 { margin: 0; }

  .request_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ============================
     Page wrapper
     ============================ */
  .request_w {
    padding: 60px 0 100px;
  }
  .request_w .request_layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
  }

  /* ============================
     Sidebar
     ============================ */
  .request_w .side_w {
    position: sticky;
    top: 24px;
    align-self: start;
  }
  .request_w .side_menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .request_w .side_item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    transition: background .2s, color .2s;
  }
  .request_w .side_item a:hover {
    background: var(--gray-100);
    color: var(--navy-700);
  }
  .request_w .side_item.on a {
    background: var(--white);
    color: var(--navy-700);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
  }
  .request_w .side_item i {
    font-size: 15px;
    color: var(--navy-700);
    width: 18px;
    text-align: center;
  }

  /* ============================
     Main area
     ============================ */
  .request_w .request_main_w {
    min-width: 0; /* grid에서 overflow 방지 */
  }

  /* 상단 타이틀 */
  .request_w .request_top {
    margin-bottom: 28px;
  }
  .request_w .request_title {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    line-height: 1.3;
  }
  .request_w .request_desc {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
  }

  .bg_user_m .request_desc{
    position: relative;
    width: 100%;
    height: 100%;
    top: 10px ;
    right: 10px ;
    font-size: 10px;
    color: #10b981;
    height: 100px;
    background-color: #14306a;
    font-family: 'Courier New', Courier, monospace;

  }


  /* ============================
     추천 배너 (Featured)
     ============================ */
  .request_w .featured_w {
    background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 70%, #1e4a7a 100%);
    border-radius: 16px;
    padding: 40px 44px;
    color: var(--white);
    margin-bottom: 56px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
  }
  .request_w .featured_w::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(59,130,246,0.15);
    filter: blur(40px);
  }
  .request_w .featured_title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.4;
    position: relative;
  }
  .request_w .featured_desc {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 720px;
    position: relative;
  }
  .request_w .featured_btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--white);
    color: var(--navy-700);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s, transform .15s;
    position: relative;
  }
  .request_w .featured_btn:hover { background: var(--gray-100); }
  .request_w .featured_btn:active { transform: scale(.98); }

  /* ============================
     Lectures section
     ============================ */
  .request_w .lec_section {
    margin-bottom: 56px;
  }
  .request_w .lec_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }
  .request_w .lec_title {
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin: 0 0 6px;
  }
  .request_w .lec_sub {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
  }
  .request_w .lec_filter {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .request_w .filter_btn {
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all .2s;
  }
  .request_w .filter_btn:hover {
    border-color: var(--gray-400);
  }
  .request_w .filter_btn.on {
    background: var(--orange-500);
    color: var(--white);
    border-color: var(--orange-500);
    font-weight: 700;
  }

  /* 카드 그리드 */
  .request_w .lec_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .request_w .lec_item {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
  }
  .request_w .lec_item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  .request_w .lec_card_inner {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    padding: 20px;
  }
  .request_w .lec_img {
    width: 130px;
    height: 130px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 42px;
    color: var(--navy-700);
  }
  .request_w .lec_img.bg_a { background: linear-gradient(135deg, #fff1e6, #ffe0cc); }
  .request_w .lec_img.bg_b { background: linear-gradient(135deg, #fff8e1, #ffeebc); }
  .request_w .lec_img.bg_c { background: linear-gradient(135deg, #e8f0fe, #d4e2fc); }
  .request_w .lec_img.bg_d { background: linear-gradient(135deg, #e8f8f0, #c7eed8); }
  .request_w .lec_body {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .request_w .lec_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 8px;
  }
  .request_w .lec_status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .request_w .lec_status.status_active {
    background: var(--orange-500);
    color: var(--white);
  }
  .request_w .lec_status.status_ready {
    background: var(--gray-200);
    color: var(--gray-700);
  }
  .request_w .lec_price {
    font-size: 16px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
  }
  .request_w .lec_subject {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.45;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .request_w .lec_date {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .request_w .lec_date i { font-size: 11px; }
  .request_w .lec_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--navy-700);
    color: var(--navy-700);
    background: transparent;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    transition: all .2s;
    align-self: flex-start;
    margin-top: auto;
  }
  .request_w .lec_btn:hover {
    background: var(--navy-700);
    color: var(--white);
  }
  .request_w .lec_btn_disabled, .request_w .lec_btn:disabled {
    border-color: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
  }
  .request_w .lec_btn_disabled:hover {
    background: transparent;
    color: var(--gray-500);
  }

  /* ============================
     Calendar section
     ============================ */
  .request_w .cal_section {
    background: var(--gray-100);
    border-radius: 20px;
    padding: 40px;
  }
  .request_w .cal_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
  }
  .request_w .cal_title {
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin: 0 0 6px;
  }
  .request_w .cal_desc {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
  }
  .request_w .cal_nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--white);
    border-radius: 100px;
    padding: 6px 8px;
    box-shadow: var(--shadow-sm);
  }
  .request_w .cal_nav button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 11px;
    transition: background .15s, color .15s;
  }
  .request_w .cal_nav button:hover {
    background: var(--gray-100);
    color: var(--navy-700);
  }
  .request_w .cal_nav_label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-800);
    padding: 0 16px;
    min-width: 100px;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }

  /* FullCalendar 커스텀 */
  .request_w .calendar01_w {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
  }
  .request_w .calendar01_w .fc {
    font-family: inherit;
  }
  .request_w .calendar01_w .fc-theme-standard td, .request_w .calendar01_w .fc-theme-standard th, .request_w .calendar01_w .fc-theme-standard .fc-scrollgrid {
    border-color: var(--gray-200);
  }
  .request_w .calendar01_w .fc-col-header-cell {
    background: transparent;
    padding: 8px 0 12px;
    border: none !important;
  }
  .request_w .calendar01_w .fc-col-header-cell-cushion {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .request_w .calendar01_w .fc-daygrid-day {
    padding: 4px;
    background: var(--white);
  }
  .request_w .calendar01_w .fc-daygrid-day.fc-day-other {
    background: var(--gray-50);
  }
  .request_w .calendar01_w .fc-daygrid-day.fc-day-other .fc-daygrid-day-number {
    color: var(--gray-300);
  }
  .request_w .calendar01_w .fc-daygrid-day-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    padding: 8px 10px;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
  }
  .request_w .calendar01_w .fc-daygrid-day-frame {
    min-height: 100px;
  }
  .request_w .calendar01_w .fc-day-today {
    background: var(--orange-100) !important;
  }
  .request_w .calendar01_w .fc-day-today .fc-daygrid-day-number {
    color: var(--orange-600);
    font-weight: 800;
  }
  .request_w .calendar01_w .fc-event {
    border: none !important;
    border-radius: 4px !important;
    padding: 3px 6px !important;
    font-size: 11px !important;
    font-weight: 600;
    margin: 2px 4px !important;
    cursor: pointer;
  }
  .request_w .calendar01_w .fc-event-title {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .request_w .calendar01_w .fc-scrollgrid {
    border: none !important;
  }

  /* ============================
     반응형
     ============================ */
  /* 1280px 이하 (작은 데스크탑): 사이드바 좁힘 */
  @media (max-width: 1280px) {

    .request_w .request_layout {
      grid-template-columns: 200px 1fr;
      gap: 40px;
    }
  
}

  /* 1024px 이하 (태블릿): 사이드바를 상단 가로 탭으로 변환 */
  @media (max-width: 1024px) {

    .request_w { padding: 40px 0 80px; }
    .request_w .request_layout {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .request_w .side_w {
      position: static;
      background: var(--gray-100);
      border-radius: 12px;
      padding: 6px;
    }
    .request_w .side_menu {
      display: flex;
      flex-direction: row;
      overflow-x: auto;
      gap: 4px;
      padding: 0;
      margin: 0;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .request_w .side_menu::-webkit-scrollbar { display: none; }
    .request_w .side_item { flex-shrink: 0; }
    .request_w .side_item a {
      white-space: nowrap;
      padding: 10px 18px;
      font-size: 13px;
      border-radius: 100px;
      background: transparent;
    }
    .request_w .side_item a:hover { background: var(--white); }
    .request_w .side_item.on a { background: var(--white); }
    .request_w .side_item i { display: none; }

    .request_w .featured_w { padding: 32px 28px; margin-bottom: 40px; }
    .request_w .featured_title { font-size: 20px; line-height: 1.4; }
    .request_w .featured_desc { font-size: 13px; line-height: 1.65; }
    .request_w .cal_section { padding: 28px; }
  
}

  /* 768px 이하 (모바일 큰 화면): 카드 1열, 필터/캘린더 헤더 세로 */
  @media (max-width: 768px) {

    .request_w .lec_grid {
      grid-template-columns: 1fr;
    }
    .request_w .lec_top {
      flex-direction: column;
      align-items: stretch;
    }
    .request_w .lec_section { margin-bottom: 48px; }
    .request_w .lec_title { font-size: 18px; }

    /* 필터 가로 스크롤 - container 패딩 너머로 확장 */
    .request_w .lec_filter {
      overflow-x: auto;
      flex-wrap: nowrap;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      margin: 0 -24px;
      padding: 0 24px 4px;
    }
    .request_w .lec_filter::-webkit-scrollbar { display: none; }
    .request_w .filter_btn { white-space: nowrap; flex-shrink: 0; }

    /* 캘린더 헤더 세로 정렬 */
    .request_w .cal_top {
      flex-direction: column;
      align-items: stretch;
      gap: 16px;
    }
    .request_w .cal_nav { align-self: flex-start; }
    .request_w .cal_title { font-size: 18px; }

    /* 캘린더 셀 축소 */
    .request_w .calendar01_w { padding: 14px; }
    .request_w .calendar01_w .fc-daygrid-day-frame { min-height: 80px; }
    .request_w .calendar01_w .fc-event {
      font-size: 10px !important;
      padding: 2px 4px !important;
    }
  
}

  /* 600px 이하 (모바일): 패딩 축소, 카드 컴팩트 */
  @media (max-width: 600px) {

    .request_w .container { padding: 0 16px; }
    .request_w { padding: 28px 0 60px; }
    .request_w .request_layout { gap: 24px; }

    /* 필터 마진도 16px 패딩 기준으로 재조정 */
    .request_w .lec_filter { margin: 0 -16px; padding: 0 16px 4px; }

    /* 사이드바 더 컴팩트 */
    .request_w .side_item a {
      padding: 9px 14px;
      font-size: 12px;
    }

    /* 추천 배너 */
    .request_w .featured_w {
      padding: 26px 22px;
      border-radius: 14px;
      margin-bottom: 32px;
    }
    .request_w .featured_title {
      font-size: 17px;
      line-height: 1.4;
      margin-bottom: 12px;
    }
    .request_w .featured_desc {
      font-size: 12px;
      line-height: 1.65;
      margin-bottom: 22px;
    }
    .request_w .featured_btn {
      padding: 11px 24px;
      font-size: 12px;
    }

    /* 카드 컴팩트 */
    .request_w .lec_card_inner {
      grid-template-columns: 88px 1fr;
      gap: 14px;
      padding: 16px;
    }
    .request_w .lec_img {
      width: 88px;
      height: 88px;
      font-size: 30px;
      border-radius: 10px;
    }
    .request_w .lec_meta {
      flex-direction: row;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 8px;
    }
    .request_w .lec_status {
      font-size: 10px;
      padding: 3px 10px;
    }
    .request_w .lec_price { font-size: 15px; }
    .request_w .lec_subject {
      font-size: 13px;
      margin-bottom: 8px;
      -webkit-line-clamp: 2;
    }
    .request_w .lec_date {
      font-size: 11px;
      margin-bottom: 12px;
    }
    .request_w .lec_btn {
      padding: 8px 16px;
      font-size: 11px;
    }

    /* 캘린더 모바일 */
    .request_w .cal_section {
      padding: 20px 16px;
      border-radius: 14px;
    }
    .request_w .cal_top { margin-bottom: 20px; }
    .request_w .calendar01_w { padding: 10px; border-radius: 10px; }
    .request_w .calendar01_w .fc-daygrid-day-frame { min-height: 60px; }
    .request_w .calendar01_w .fc-daygrid-day-number {
      font-size: 11px;
      padding: 4px 6px;
    }
    .request_w .calendar01_w .fc-col-header-cell-cushion { font-size: 10px; }
    .request_w .calendar01_w .fc-event {
      font-size: 9px !important;
      padding: 1px 4px !important;
      margin: 1px 2px !important;
    }
  
}

  /* 420px 이하 (매우 작은 화면): 카드 세로 레이아웃 + 캘린더 이벤트 점 형태 */
  @media (max-width: 420px) {

    /* 카드를 세로 레이아웃으로: 이미지 위, 본문 아래 */
    .request_w .lec_card_inner {
      grid-template-columns: 1fr;
      gap: 12px;
      padding: 14px;
    }
    .request_w .lec_img {
      width: 100%;
      height: 110px;
      font-size: 36px;
    }
    .request_w .lec_btn { width: 100%; }

    /* 캘린더 이벤트는 점으로만 표시 (텍스트 숨김) */
    .request_w .calendar01_w .fc-event {
      width: 6px;
      height: 6px;
      border-radius: 50% !important;
      margin: 1px auto !important;
      padding: 0 !important;
      display: block;
    }
    .request_w .calendar01_w .fc-event-title, .request_w .calendar01_w .fc-event-time { display: none; }
    .request_w .calendar01_w .fc-daygrid-day-frame { min-height: 50px; }
  
}

  /* 터치 디바이스: hover 효과 제거 (sticky hover 방지) */
  @media (hover: none) {

    .request_w .lec_item:hover { transform: none; }
    .request_w .filter_btn:hover { border-color: var(--gray-200); }
    .request_w .featured_btn:hover { background: var(--white); }
    .request_w .lec_btn:hover { background: transparent; color: var(--navy-700); }
    .request_w .side_item a:hover { background: transparent; color: var(--gray-600); }
  
}


/* =====================================================================
   edu_business.html
   ===================================================================== */
  .edu_w {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --navy-600: #1e3a5f;
    --orange-500: #f26b1e;
    --orange-600: #e85d14;
    --orange-100: #fff1e6;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.08);
    --shadow-lg: 0 12px 30px rgba(15,30,60,0.12);
    --container: 1280px;
  }

  .edu_w, .edu_w *, .edu_w *::before, .edu_w *::after { box-sizing: border-box; }
  .edu_w {
    margin: 0;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  .edu_w a { color: inherit; text-decoration: none; }
  .edu_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; }
  .edu_w ul { list-style: none; padding: 0; margin: 0; }

  .edu_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ===================================================================
      교육 사업 안내
     =================================================================== */
  /* ============================
     Edu page wrapper
     ============================ */
  .edu_w {
    padding: 80px 0 100px;
  }

  /* 상단 타이틀 영역 */
  .edu_w .edu_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 56px;
    flex-wrap: wrap;
  }
  .edu_w .edu_top_text { flex: 1 1 auto; }
  .edu_w .edu_eyebrow {
    font-size: 13px;
    letter-spacing: 0.22em;
    color: var(--orange-500);
    font-weight: 700;
    margin: 0 0 18px;
  }
  .edu_w .edu_title {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy-700);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 24px;
  }
  .edu_w .edu_desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.75;
    margin: 0;
  }

  /* PDF 다운로드 버튼 */
  .edu_w .btn_pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--navy-700);
    color: var(--white);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background .2s, transform .15s;
    flex-shrink: 0;
  }
  .edu_w .btn_pdf:hover { background: var(--navy-900); }
  .edu_w .btn_pdf:active { transform: scale(.98); }
  .edu_w .btn_pdf i { font-size: 14px; }

  /* ============================
     카테고리 탭
     ============================ */

.edu_w .edu_tabs {
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  background: var(--gray-100);
  border-radius: 100px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  position: relative;    
}

.edu_w .edu_tab {
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: color .2s;       
  background: transparent;
  white-space: nowrap;
  position: relative;          
  z-index: 1;                 
}
.edu_w .edu_tab:hover { color: var(--navy-700); }
.edu_w .edu_tab.on {
  color: var(--navy-700);
  font-weight: 700;
}

.edu_w .edu_tabs_indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  background: var(--white);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1),
              width     .35s cubic-bezier(.4, 0, .2, 1),
              height    .35s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  z-index: 0;
}
  /* ============================
     테이블 영역 (DataTables)
     ============================ */
  .edu_w .edu_list_w {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
  }

  /* DataTables 기본 UI 무력화 (layout으로 컨트롤 안 만들지만 안전망) */
  .edu_w .edu_list_w .dt-search, .edu_w .edu_list_w .dt-info, .edu_w .edu_list_w .dt-paging, .edu_w .edu_list_w .dt-length { display: none !important; }

  /* 테이블 */
  .edu_w #edu_table, .edu_w .edu_list_w table.dataTable {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
  }
  .edu_w .edu_list_w table.dataTable thead th {
    padding: 18px 16px !important;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-600);
    text-align: center !important;
    background: var(--gray-100) !important;
    border: none !important;
    box-shadow: none !important;
    letter-spacing: -0.01em;
  }
  .edu_w .edu_list_w table.dataTable tbody td {
    padding: 28px 16px !important;
    font-size: 14px;
    color: var(--gray-800);
    text-align: center !important;
    border: none !important;
    border-bottom: 1px solid var(--gray-100) !important;
    background: var(--white) !important;
    vertical-align: middle !important;
  }
  .edu_w .edu_list_w table.dataTable tbody tr:last-child td { border-bottom: none !important; }
  .edu_w .edu_list_w table.dataTable tbody tr:hover td { background: var(--gray-50) !important; }

  /* DataTables 정렬 화살표/strip 무력화 */
  .edu_w .edu_list_w table.dataTable thead th.dt-orderable-asc, .edu_w .edu_list_w table.dataTable thead th.dt-orderable-desc, .edu_w .edu_list_w table.dataTable thead th span.dt-column-order { display: none !important; }
  .edu_w .edu_list_w table.dataTable.stripe tbody tr.odd { background: transparent !important; }

  /* 컬럼별 스타일 */
  .edu_w .edu_month {
    font-size: 36px;
    font-weight: 800;
    color: #1a3a5f;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
  }
  .edu_w .edu_subject { text-align: left !important; }
  .edu_w .edu_subject_title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    line-height: 1.4;
  }
  .edu_w .edu_subject_sub {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
  }
  .edu_w .target_badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--orange-500);
    color: var(--white);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .edu_w .edu_schedule, .edu_w .edu_hours {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    font-variant-numeric: tabular-nums;
  }
  .edu_w .btn_apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: var(--navy-700);
    color: var(--white);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background .2s, transform .15s;
    white-space: nowrap;
  }
  .edu_w .btn_apply:hover { background: var(--navy-900); }
  .edu_w .btn_apply:active { transform: scale(.96); }

  /* ============================
     더보기 버튼
     ============================ */
  .edu_w .edu_more_w {
    text-align: center;
    margin-bottom: 80px;
  }
  .edu_w .edu_more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 600;
    transition: color .2s;
  }
  .edu_w .edu_more:hover { color: var(--navy-700); }
  .edu_w .edu_more i {
    font-size: 12px;
    transition: transform .25s;
  }
  .edu_w .edu_more.expanded i { transform: rotate(180deg); }

  
  /* ============================
     하단: 문의 카드 + 서포트 카드
     ============================ */
  .edu_w .bottom_w {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
  }

  /* 문의 카드 (네이비) */
  .edu_w .help_card {
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    color: var(--white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .edu_w .help_title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    line-height: 1.4;
  }
  .edu_w .help_desc {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin: 0 0 36px;
  }
  .edu_w .help_btn {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 14px 36px;
    background: var(--orange-500);
    color: var(--white);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s, transform .15s;
  }
  .edu_w .help_btn:hover { background: var(--orange-600); }
  .edu_w .help_btn:active { transform: scale(.98); }

  /* 서포트 카드 */
  .edu_w .support_card {
    background: var(--gray-100);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
  }
  .edu_w .support_icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-700);
    font-size: 28px;
    margin-bottom: 14px;
  }
  .edu_w .support_title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-700);
    letter-spacing: -0.02em;
    margin: 0 0 12px;
  }
  .edu_w .support_desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0 0 24px;
  }
  .edu_w .support_contact {
    font-size: 15px;
    color: var(--gray-800);
    font-weight: 700;
    line-height: 1.7;
    font-variant-numeric: tabular-nums;
    margin-top: auto;
  }
  .edu_w .support_contact .support_email {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 13px;
    display: block;
  }

  /* ============================
     반응형
     ============================ */
  @media (max-width: 900px) {

    .edu_w { padding: 60px 0 80px; }
    .edu_w .edu_top { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
    .edu_w .btn_pdf { align-self: stretch; justify-content: center; }
    .edu_w .bottom_w { grid-template-columns: 1fr; }
    .edu_w .help_card { padding: 36px 28px; }

    /* 테이블 → 카드 리스트 변환 */
    .edu_w .edu_list_w {
      background: transparent;
      box-shadow: none;
      border-radius: 0;
      overflow: visible;
      margin-bottom: 24px;
    }
    .edu_w .edu_list_w table.dataTable thead { display: none !important; }
    .edu_w .edu_list_w table.dataTable tbody tr {
      display: block;
      background: var(--white) !important;
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 14px;
      box-shadow: var(--shadow-sm);
    }
    .edu_w .edu_list_w table.dataTable tbody tr:hover {
      background: var(--white) !important;
    }
    .edu_w .edu_list_w table.dataTable tbody td {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      text-align: right !important;
      padding: 10px 0 !important;
      border: none !important;
      gap: 12px;
    }
    .edu_w .edu_list_w table.dataTable tbody td::before {
      content: attr(data-label);
      font-size: 12px;
      font-weight: 600;
      color: var(--gray-500);
      text-align: left;
      flex-shrink: 0;
    }
    /* 월 셀은 상단에 단독 표시 */
    .edu_w .edu_list_w table.dataTable tbody td.td_month {
      justify-content: flex-start !important;
      padding-bottom: 12px !important;
      margin-bottom: 8px;
      border-bottom: 1px solid var(--gray-100) !important;
    }
    .edu_w .edu_list_w table.dataTable tbody td.td_month::before { display: none; }
    /* 과목명 셀은 우측 정렬 해제 */
    .edu_w .edu_list_w table.dataTable tbody td.td_subject {
      flex-direction: column;
      align-items: flex-end;
    }
    .edu_w .edu_list_w table.dataTable tbody td.td_subject .edu_subject_title, .edu_w .edu_list_w table.dataTable tbody td.td_subject .edu_subject_sub {
      text-align: right;
    }
    .edu_w .edu_month { font-size: 28px; }
    .edu_w .btn_apply { padding: 12px 24px; }
  
}

  @media (max-width: 600px) {

    .edu_w .container { padding: 0 16px; }
    .edu_w { padding: 40px 0 60px; }
    .edu_w .edu_top { margin-bottom: 28px; }
    .edu_w .edu_tabs {
      width: 100%;
      overflow-x: auto;
      flex-wrap: nowrap;
      padding: 4px;
      -webkit-overflow-scrolling: touch;
    }
    .edu_w .edu_tabs::-webkit-scrollbar { display: none; }
    .edu_w .edu_tab {
      padding: 10px 18px;
      font-size: 13px;
      flex-shrink: 0;
    }
    .edu_w .help_card { padding: 32px 24px; border-radius: 16px; }
    .edu_w .help_title { font-size: 20px; }
    .edu_w .help_desc { margin-bottom: 28px; }
    .edu_w .support_card { padding: 28px 24px; border-radius: 16px; }
    .edu_w .edu_more_w { margin-bottom: 48px; }
  
}


/* =====================================================================
   faq.html
   ===================================================================== */
  .faq_w {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --orange-500: #f26b1e;
    --orange-600: #e85d14;
    --red-500: #d92d20;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-150: #e6e9ee;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.06);
    --shadow-lg: 0 12px 28px rgba(15,30,60,0.10);
    --container: 1280px;
  }

  /* ===================================================================
     [공통 블록 ]
     =================================================================== */

  html, body { margin: 0; padding: 0; }

  .faq_w, .faq_w *, .faq_w *::before, .faq_w *::after { box-sizing: border-box; }
  .faq_w {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding: 64px 0 100px;
  }
  .faq_w a { color: inherit; text-decoration: none; }
  .faq_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; padding: 0; }
  .faq_w input { font-family: inherit; }
  .faq_w h1, .faq_w h2, .faq_w h3 { margin: 0; }

  .faq_w .container {
    max-width: 1080px;          
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ===================================================================
   자주 묻는 질문 — 전부 
     =================================================================== */
  .faq_w .faq_top {
    text-align: center;
    margin-bottom: 36px;
  }
  .faq_w .faq_title {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
  }
  .faq_w .faq_desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
  }

  /* 검색 */
  .faq_w .faq_search {
    position: relative;
    max-width: 700px;
    margin: 0 auto 44px;
  }
  .faq_w .faq_search i {
    position: absolute;
    left: 22px; top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 16px;
  }
  .faq_w .faq_search input {
    width: 100%;
    height: 56px;
    padding: 0 22px 0 54px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    font-size: 15px;
    color: var(--gray-900);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, background .2s, box-shadow .2s;
  }
  .faq_w .faq_search input::placeholder { color: var(--gray-500); }
  .faq_w .faq_search input:focus {
    background: var(--white);
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(26,58,95,0.08);
  }

  /* 카테고리 카드 */
  .faq_w .faq_cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 48px;
    margin-top: 15px;
  }
  .faq_w .faq_cat {
    background: var(--white);
    border-radius: 14px;
    padding: 30px 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    border: 1.5px solid transparent;
  }
  .faq_w .faq_cat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  .faq_w .faq_cat.is_active {
    border-color: var(--orange-500);
    box-shadow: var(--shadow-md);
  }
  .faq_w .faq_cat_icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy-700);
    font-size: 28px;
  }
  .faq_w .faq_cat.is_active .faq_cat_icon { color: var(--orange-500); }
  .faq_w .faq_cat_label {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
  }

  /* FAQ 리스트 */
  .faq_w .faq_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .faq_w .faq_item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color .2s;
  }
  .faq_w .faq_item[open] { border-color: var(--gray-200); }
  .faq_w .faq_q {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
  }
  /* <summary> 기본 disclosure 마커 제거 */
  .faq_w .faq_q::-webkit-details-marker { display: none; }
  .faq_w .faq_q::marker { content: ''; }

  .faq_w .faq_q_mark {
    color: var(--orange-500);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    flex: 0 0 auto;
  }
  .faq_w .faq_q_text {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--gray-900);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
  }
  .faq_w .faq_q_chev {
    flex: 0 0 auto;
    color: var(--gray-500);
    font-size: 13px;
    transition: transform .25s ease;
  }
  .faq_w .faq_item[open] .faq_q_chev { transform: rotate(180deg); }

  .faq_w .faq_a {
    padding: 22px 24px 24px 60px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.75;
    border-top: 1px solid var(--gray-200);
  }

  .faq_w .faq_empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--gray-500);
    font-size: 14px;
    background: var(--white);
    border-radius: 12px;
  }

  


  /* ===================================================================
     반응형
     =================================================================== */
  @media (max-width: 1024px) {
    .faq_w .faq_title { font-size: 32px; }
    .faq_w .faq_cats { gap: 14px; }
    .faq_w .faq_cat { padding: 26px 14px; }
  }

  @media (max-width: 768px) {
    .faq_w { padding: 40px 0 80px; }
    .faq_w .faq_title { font-size: 26px; margin-bottom: 12px; }
    .faq_w .faq_desc { font-size: 14px; }
    .faq_w .faq_top { margin-bottom: 28px; }
    .faq_w .faq_search { margin-bottom: 32px; }
    .faq_w .faq_search input { height: 50px; padding-left: 48px; font-size: 14px; }
    .faq_w .faq_search i { left: 18px; font-size: 14px; }
    /* 카테고리 카드 2 x 2 */
    .faq_w .faq_cats {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-bottom: 36px;
    }
    .faq_w .faq_cat { padding: 22px 14px; gap: 10px; }
    .faq_w .faq_cat_icon { width: 40px; height: 40px; font-size: 24px; }
    .faq_w .faq_cat_label { font-size: 14px; }

    .faq_w .faq_q { padding: 18px 18px; gap: 12px; }
    .faq_w .faq_q_text { font-size: 14px; }
    .faq_w .faq_a { padding: 18px 18px 20px 44px; font-size: 13px; }
  }

  @media (max-width: 600px) {
    .faq_w .container { padding: 0 16px; }
  }

  @media (max-width: 380px) {
    .faq_w .faq_title { font-size: 22px; }
    /* 아주 좁은 폰에서도 2열 유지 (1열로 가면 카드가 너무 길어짐) */
    .faq_w .faq_cat { padding: 18px 8px; gap: 8px; }
    .faq_w .faq_cat_icon { width: 36px; height: 36px; font-size: 22px; }
    .faq_w .faq_cat_label { font-size: 13px; }
  }

  @media (hover: none) {
    .faq_w .faq_cat:hover { transform: none; box-shadow: var(--shadow-sm); }
  }


/* =====================================================================
   inquiry.html
   ===================================================================== */
  .qna_w {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --navy-600: #1e4f8a;
    --orange-500: #f26b1e;
    --orange-600: #e85d14;
    --orange-50:  #fff3eb;
    --red-500:    #d92d20;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-150: #e6e9ee;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.06);
    --container: 1280px;
  }

  /* ===================================================================
     [공통 블록 ]
     =================================================================== */
  html, body { margin: 0; padding: 0; }

  .qna_w, .qna_w *, .qna_w *::before, .qna_w *::after { box-sizing: border-box; }
  .qna_w {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding: 64px 0 100px;
  }
  .qna_w a { color: inherit; text-decoration: none; }
  .qna_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; padding: 0; }
  .qna_w input, .qna_w select, .qna_w textarea { font-family: inherit; }
  .qna_w h1, .qna_w h2, .qna_w h3 { margin: 0; }

  .qna_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* grid/flex 셀이 input min-content 로 폭주하지 않도록 (이전 page 들에서 학습) */
  .qna_w .qna_layout > *,
  .qna_w .form_field { min-width: 0; }

  /* ===================================================================
      1:1 문의 — 전부
     =================================================================== */
  .qna_w .qna_top { margin-bottom: 36px; }
  .qna_w .qna_title {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.025em;
    margin-bottom: 10px;
  }
  .qna_w .qna_desc {
    font-size: 15px;
    color: var(--gray-600);
  }

  .qna_w .qna_layout {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 28px;
    align-items: start;
  }

  /* ============================
     좌: 새로운 문의 작성 폼
     ============================ */
  .qna_w .form_card {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 32px;
  }
  .qna_w .card_head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 28px;
  }
  .qna_w .card_head_icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy-700);
    font-size: 16px;
  }
  .qna_w .card_head_title {
    font-size: 18px; font-weight: 800;
    color: var(--gray-900);
  }

  .qna_w .form_field { margin-bottom: 22px; }
  .qna_w .form_field:last-of-type { margin-bottom: 0; }
  .qna_w .field_label {
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
  }

  /* 셀렉트 */
  .qna_w .select_w { position: relative; }
  .qna_w .select_w::after {
    content: '\f078'; /* fa-chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px; top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 12px;
    pointer-events: none;
  }
  .qna_w .field_select {
    width: 100%;
    height: 52px;
    padding: 0 44px 0 18px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    font-size: 15px;
    color: var(--gray-900);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s, box-shadow .2s;
  }
  .qna_w .field_select:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(26,58,95,0.08);
  }

  .qna_w .field_input,
  .qna_w .field_textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--gray-200); border-radius: 10px; background: var(--white); font-size: 15px; color: var(--gray-900); outline: none; transition: border-color .2s, box-shadow .2s; min-width: 0; }
  .qna_w .field_input { height: 52px; padding: 0 18px; }
  .qna_w .field_textarea {
    min-height: 200px;
    resize: vertical;
    line-height: 1.6;
  }
  .qna_w .field_input::placeholder,
  .qna_w .field_textarea::placeholder { color: var(--gray-500); }
  .qna_w .field_input:focus,
  .qna_w .field_textarea:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(26,58,95,0.08);
  }

  /* 파일 드롭존 */
  .qna_w .file_drop {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px;
    border: 1.5px dashed var(--gray-300);
    background: var(--white);
    border-radius: 12px;
    padding: 32px 18px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
  }
  .qna_w .file_drop:hover,
  .qna_w .file_drop.is_drag {
    border-color: var(--navy-700);
    background: rgba(26,58,95,0.03);
  }
  .qna_w .file_drop_icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-500); font-size: 22px;
  }
  .qna_w .file_drop_text {
    font-size: 13px; color: var(--gray-600);
  }
  .qna_w .file_list {
    margin-top: 10px;
    display: flex; flex-direction: column; gap: 6px;
  }
  .qna_w .file_item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 13px;
    color: var(--gray-700);
  }
  .qna_w .file_item i.file_ic   { color: var(--gray-500); }
  .qna_w .file_item .file_name  { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .qna_w .file_item .file_size  { color: var(--gray-500); font-size: 12px; }
  .qna_w .file_item .file_x     { color: var(--gray-500); cursor: pointer; padding: 4px; }
  .qna_w .file_item .file_x:hover { color: var(--red-500); }

  /* 제출 버튼 */
  .qna_w .submit_btn {
    margin-top: 26px;
    width: 100%;
    height: 60px;
    border-radius: 12px;
    background: var(--navy-900);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    gap: 12px;
    transition: background .2s, transform .12s;
  }
  .qna_w .submit_btn:hover { background: var(--navy-700); }
  .qna_w .submit_btn:active { transform: scale(.99); }
  .qna_w .submit_btn i { font-size: 16px; }

  /* ============================
     우: 나의 문의 내역
     ============================ */
  .qna_w .history_w { display: flex; flex-direction: column; gap: 14px; }

  .qna_w .history_head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 4px;
  }
  .qna_w .history_head_left { display: flex; align-items: center; gap: 10px; }
  .qna_w .history_head_icon { color: var(--navy-700); font-size: 16px; }
  .qna_w .history_head_title { font-size: 18px; font-weight: 800; color: var(--gray-900); }
  .qna_w .history_period {
    background: var(--orange-50);
    color: var(--orange-500);
    font-size: 12px; font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
  }

  /* 문의 카드 */
  .qna_w .inquiry_card {
    background: var(--white);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
  }
  .qna_w .ic_top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 12px;
  }
  .qna_w .ic_date {
    font-size: 13px; color: var(--gray-500);
    font-variant-numeric: tabular-nums;
  }
  .qna_w .ic_status {
    display: inline-flex; align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.02em;
  }
  .qna_w .ic_status.is_done {
    background: var(--orange-500); color: var(--white);
  }
  .qna_w .ic_status.is_wait {
    background: var(--gray-150); color: var(--gray-700);
  }
  .qna_w .ic_title {
    font-size: 15px; font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.45;
  }
  .qna_w .ic_excerpt {
    font-size: 13px; color: var(--gray-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .qna_w .ic_foot {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-150);
    display: flex; align-items: center; gap: 8px;
    font-size: 13px;
  }
  .qna_w .ic_foot i { font-size: 13px; }
  .qna_w .ic_foot.is_done { color: var(--orange-500); }
  .qna_w .ic_foot.is_wait { color: var(--gray-500); }

  /* FAQ 안내 카드 */
  .qna_w .help_card {
    background: var(--gray-100);
    border-radius: 14px;
    padding: 20px 22px;
    margin-top: 6px;
  }
  .qna_w .help_title {
    font-size: 14px; font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
  }
  .qna_w .help_desc {
    font-size: 13px; color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.6;
  }
  .qna_w .help_link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700;
    color: var(--navy-700);
  }
  .qna_w .help_link i { font-size: 11px; transition: transform .2s; }
  .qna_w .help_link:hover { color: var(--navy-900); }
  .qna_w .help_link:hover i { transform: translateX(3px); }

  /* ===================================================================
     반응형
     =================================================================== */
  @media (max-width: 1024px) {
    .qna_w .qna_layout {
      grid-template-columns: 1fr;       /* 폼 → 이력 세로 스택 */
      gap: 24px;
    }
  }

  @media (max-width: 768px) {
    .qna_w { padding: 40px 0 80px; }
    .qna_w .qna_title { font-size: 26px; }
    .qna_w .qna_top { margin-bottom: 24px; }

    .qna_w .form_card { padding: 24px 20px; border-radius: 14px; }
    .qna_w .card_head { margin-bottom: 22px; }
    .qna_w .card_head_title { font-size: 16px; }

    .qna_w .field_input, .qna_w .field_select { height: 50px; }
    .qna_w .field_textarea { min-height: 160px; }
    .qna_w .file_drop { padding: 24px 14px; }
    .qna_w .submit_btn { height: 56px; font-size: 15px; }

    .qna_w .inquiry_card { padding: 18px 18px; border-radius: 12px; }
    .qna_w .ic_title { font-size: 14px; }
    .qna_w .history_head_title { font-size: 16px; }
  }

  @media (max-width: 600px) {
    .qna_w .container { padding: 0 16px; }
    .qna_w .ic_top { gap: 8px; }
    .qna_w .ic_date { font-size: 12px; }
  }

  @media (max-width: 380px) {
    .qna_w .qna_title { font-size: 22px; }
    .qna_w .form_card { padding: 20px 16px; }
    .qna_w .ic_top { flex-wrap: wrap; }
  }

  @media (hover: none) {
    .qna_w .file_drop:hover { background: var(--white); border-color: var(--gray-300); }
  }/* =====================================================================
   material_list.html
   ===================================================================== */
  .material_w {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --orange-500: #f26b1e;
    --orange-600: #e85d14;
    --orange-100: #ffe9d6;
    --orange-50:  #fff3eb;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-150: #e6e9ee;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.06);
    --container: 1280px;
  }

  html, body { margin: 0; padding: 0; }

  .material_w, .material_w *, .material_w *::before, .material_w *::after { box-sizing: border-box; }
  .material_w {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding: 64px 0 100px;
  }
  .material_w a { color: inherit; text-decoration: none; }
  .material_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; padding: 0; }
  .material_w input { font-family: inherit; }
  .material_w h1, .material_w h2, .material_w h3 { margin: 0; }

  .material_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ===================================================================
     교육 자료실 — 전부 
     =================================================================== */
  .material_w .material_top { margin-bottom: 28px; }
  .material_w .material_title {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.025em;
    margin-bottom: 12px;
  }
  .material_w .material_desc {
    font-size: 15px;
    color: var(--gray-600);
  }

  /* 툴바 (회색 패널 안 탭 + 검색) */
  .material_w .toolbar_wrap {
    background: var(--gray-100);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  .material_w .toolbar_wrap > * { min-width: 0; }
  .material_w .material_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .material_w .material_tab {
    height: 38px;
    padding: 0 18px;
    border-radius: 8px;
    background: transparent;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
    transition: background .2s, color .2s;
    flex: 0 0 auto;
  }
  .material_w .material_tab:hover { background: var(--gray-200); color: var(--gray-700); }
  .material_w .material_tab.is_active {
    background: var(--orange-500);
    color: var(--white);
  }
  .material_w .material_tab.is_active:hover { background: var(--orange-600); }

  .material_w .material_search {
    position: relative;
    flex: 0 0 360px;
    max-width: 100%;
  }
  .material_w .material_search i {
    position: absolute;
    left: 18px; top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 14px;
  }
  .material_w .material_search input {
    width: 100%;
    height: 42px;
    padding: 0 18px 0 44px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 14px;
    color: var(--gray-900);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
  }
  .material_w .material_search input::placeholder { color: var(--gray-500); }
  .material_w .material_search input:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(26,58,95,0.08);
  }

  /* ===== DataTables: 카드 그리드 스킨 (tbody = grid) ===== */
  .material_w table.material_dt,
  .material_w table.material_dt tbody { display: block; width: 100%; }
  .material_w table.material_dt { border-collapse: collapse; }
  .material_w table.material_dt thead { display: none; }
  .material_w table.material_dt tbody {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .material_w table.material_dt tbody tr {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 14px;
    padding: 22px 22px 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
  }
  .material_w table.material_dt tbody tr:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }

  .material_w table.material_dt { border: 0 !important; }
  .material_w table.material_dt tbody td {
    display: block;
    padding: 0;
    border: 0 !important;
  }

  /* 카드 내부 구성 */
  .material_w .mc_top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
  }
  .material_w .mc_badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 7px;
    background: var(--orange-50);
    color: var(--orange-500);
    font-size: 12px;
    font-weight: 700;
  }
  .material_w .mc_date {
    font-size: 12px;
    color: var(--gray-500);
    font-variant-numeric: tabular-nums;
  }
  .material_w .mc_title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .material_w .mc_desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .material_w .mc_btn {
    margin-top: auto;
    width: 100%;
    height: 44px;
    border-radius: 999px;
    background: var(--gray-150);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    transition: background .2s, color .2s;
  }
  .material_w .mc_btn:hover { background: var(--navy-700); color: var(--white); }
  .material_w .mc_btn i { font-size: 13px; }

  /* DataTables 기본 검색/길이/info 숨김 (외부 검색 사용) */
  .material_w .dt-search,
  .material_w .dt-length,
  .material_w .dt-info { display: none !important; }
  .material_w .dt-layout-row { margin: 0 !important; }
  .material_w .dt-empty { padding: 60px 0; text-align: center; color: var(--gray-500); }

  .material_w div.dt-container .dt-layout-cell.dt-paging,
  .material_w div.dt-container .dt-paging {
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
  }
  .material_w div.dt-container .dt-paging {
    display: flex; align-items: center;
    gap: 6px;
    margin-top: 40px;
  }
  .material_w .dt-paging .dt-paging-button {
    min-width: 40px; height: 40px;
    padding: 0 10px;
    border: none !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--gray-600) !important;
    font-size: 14px; font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s, color .15s;
  }
  .material_w .dt-paging .dt-paging-button:hover:not(.disabled):not(.current) {
    background: var(--gray-100) !important;
    color: var(--navy-700) !important;
  }
  .material_w div.dt-container .dt-paging .dt-paging-button.current,
  .material_w div.dt-container .dt-paging .dt-paging-button.current:hover,
  .material_w div.dt-container .dt-paging .dt-paging-button.current * {
    background: var(--navy-700) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .material_w .dt-paging .dt-paging-button.disabled { opacity: .35; cursor: default; }
  /* ‹ › 화살표 → FA */
  .material_w .dt-paging .dt-paging-button.previous,
  .material_w .dt-paging .dt-paging-button.next { font-size: 0 !important; }
  .material_w .dt-paging .dt-paging-button.previous::before,
  .material_w .dt-paging .dt-paging-button.next::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 13px;
    display: inline-block;
  }
  .material_w .dt-paging .dt-paging-button.previous::before { content: '\f053'; } /* fa-chevron-left */
  .material_w .dt-paging .dt-paging-button.next::before     { content: '\f054'; } /* fa-chevron-right */

  /* ===================================================================
     반응형
     =================================================================== */
  @media (max-width: 1100px) {
    .material_w table.material_dt tbody {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }

  @media (max-width: 768px) {
    .material_w { padding: 40px 0 80px; }
    .material_w .material_title { font-size: 26px; }
    .material_w .material_top { margin-bottom: 20px; }

    .material_w .toolbar_wrap {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      padding: 14px;
    }
    .material_w .material_search { flex: 1 1 auto; max-width: 100%; }
    .material_w .material_tab { height: 36px; padding: 0 14px; font-size: 13px; }

    .material_w table.material_dt tbody tr { padding: 18px 18px 16px; }
    .material_w .mc_title { font-size: 15px; }
  }

  @media (max-width: 600px) {
    .material_w .container { padding: 0 16px; }
    .material_w table.material_dt tbody {
      grid-template-columns: 1fr;
      gap: 12px;
    }
  }

  @media (max-width: 380px) {
    .material_w .material_title { font-size: 22px; }
  }

  @media (hover: none) {
    .material_w table.material_dt tbody tr:hover { transform: none; box-shadow: var(--shadow-sm); }
  }


/* =====================================================================
   notice_list.html
   ===================================================================== */
  .notice_w {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --orange-500: #f26b1e;
    --orange-600: #e85d14;
    --red-500: #d92d20;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-150: #e6e9ee;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.06);
    --container: 1280px;
  }

  html, body { margin: 0; padding: 0; }

  .notice_w, .notice_w *, .notice_w *::before, .notice_w *::after { box-sizing: border-box; }
  .notice_w {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding: 64px 0 100px;
  }
  .notice_w a { color: inherit; text-decoration: none; }
  .notice_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; padding: 0; }
  .notice_w input { font-family: inherit; }
  .notice_w h1, .notice_w h2, .notice_w h3 { margin: 0; }

  .notice_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }


  .notice_w .toolbar, .notice_w .toolbar > * { min-width: 0; }

  /* ===================================================================
      교육 공지사항
     =================================================================== */
  .notice_w .notice_top { margin-bottom: 36px; }
  .notice_w .notice_title {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.025em;
    margin-bottom: 12px;
  }
  .notice_w .notice_desc {
    font-size: 15px;
    color: var(--gray-600);
  }

  /* 툴바 (탭 + 검색) */
  .notice_w .toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
  }
  .notice_w .notice_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .notice_w .notice_tab {
    height: 42px;
    padding: 0 22px;
    border-radius: 5px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
    transition: background .2s, color .2s;
    flex: 0 0 auto;
  }
  .notice_w .notice_tab:hover { background: var(--gray-200); color: var(--gray-700); }
  .notice_w .notice_tab.is_active {
    background: var(--orange-500);
    color: var(--white);
  }
  .notice_w .notice_tab.is_active:hover { background: var(--orange-600); }

  .notice_w .notice_search {
    position: relative;
    flex: 0 0 360px;
    max-width: 100%;
  }
  .notice_w .notice_search i {
    position: absolute;
    left: 18px; top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 14px;
  }
  .notice_w .notice_search input {
    width: 100%;
    height: 46px;
    padding: 0 18px 0 44px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 14px;
    color: var(--gray-900);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s;
  }
  .notice_w .notice_search input::placeholder { color: var(--gray-500); }
  .notice_w .notice_search input:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(26,58,95,0.08);
  }

  /* 표 카드 */
  .notice_w .notice_card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 6px 0;
  }
  .notice_w table.notice_dt {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
  }
  .notice_w table.notice_dt thead th {
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 22px 18px 18px;
    border-bottom: 1px solid var(--gray-200);
    background: transparent;
  }
  .notice_w table.notice_dt thead th.th_no { width: 110px; padding-left: 32px; }
  .notice_w table.notice_dt thead th.th_type { width: 140px; }
  .notice_w table.notice_dt thead th.th_date { width: 130px; text-align: right; }
  .notice_w table.notice_dt thead th.th_views { width: 100px; padding-right: 32px; text-align: right; }

  .notice_w table.notice_dt tbody tr {
    transition: background .15s;
    cursor: pointer;
  }
  .notice_w table.notice_dt tbody tr:hover { background: var(--gray-50); }
  .notice_w table.notice_dt tbody td {
    padding: 20px 18px;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
  }
  .notice_w table.notice_dt tbody tr:last-child td { border-bottom: none; }
  .notice_w .td_no {
    width: 110px; padding-left: 32px !important;
    text-align: center;
    color: var(--gray-500);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
  .notice_w .td_type { width: 140px; }
  .notice_w .td_title {
    color: var(--gray-900);
    font-weight: 500;
  }
  .notice_w tr.is_notice .td_title { font-weight: 700; }
  .notice_w .td_date {
    width: 130px;
    text-align: right;
    color: var(--gray-500);
    font-variant-numeric: tabular-nums;
    font-size: 13px;
  }
  .notice_w .td_views {
    width: 100px;
    padding-right: 32px !important;
    text-align: right;
    color: var(--gray-500);
    font-variant-numeric: tabular-nums;
    font-size: 13px;
  }

  /* 필독 NOTICE 뱃지 + 빨강 분류 (NOTICE 행) */
  .notice_w .notice_badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--orange-500);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  .notice_w tr.is_notice .td_type { color: var(--red-500); font-weight: 700; }

  /* 일반 분류 뱃지 */
  .notice_w .type_badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--gray-150);
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 600;
  }

  /* ===== DataTables 기본 검색/길이/info 숨김 ===== */
  .notice_w .dt-search,
  .notice_w .dt-length,
  .notice_w .dt-info { display: none !important; }
  .notice_w .dt-layout-row { margin: 0 !important; }

  /* ===== 페이저 (시안 매칭: |< < 1 2 3 4 5 > >| ) ===== */
  /* DataTables 2.x layout 셀(우측 정렬 default)도 강제로 가운데로 */
  .notice_w div.dt-container .dt-layout-cell.dt-paging,
  .notice_w div.dt-container .dt-paging {
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
  }
  .notice_w div.dt-container .dt-paging {
    display: flex; align-items: center;
    gap: 6px;
    margin-top: 36px;
  }
  .notice_w .dt-paging .dt-paging-button {
    min-width: 40px; height: 40px;
    padding: 0 10px;
    border: none !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--gray-600) !important;
    font-size: 14px; font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s, color .15s;
  }
  .notice_w .dt-paging .dt-paging-button:hover:not(.disabled):not(.current) {
    background: var(--gray-100) !important;
    color: var(--navy-700) !important;
  }
  /* 활성 — cert_print 에서 확인한 강한 셀렉터 + 리터럴 #fff 로 못박음 */
  .notice_w div.dt-container .dt-paging .dt-paging-button.current,
  .notice_w div.dt-container .dt-paging .dt-paging-button.current:hover,
  .notice_w div.dt-container .dt-paging .dt-paging-button.current * {
    background: var(--navy-700) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .notice_w .dt-paging .dt-paging-button.disabled { opacity: .35; cursor: default; }

  /* 화살표 4종 → FA 아이콘으로 (DataTables 기본 텍스트는 font-size:0 으로 숨김) */
  .notice_w .dt-paging .dt-paging-button.first,
  .notice_w .dt-paging .dt-paging-button.previous,
  .notice_w .dt-paging .dt-paging-button.next,
  .notice_w .dt-paging .dt-paging-button.last { font-size: 0 !important; }
  .notice_w .dt-paging .dt-paging-button.first::before,
  .notice_w .dt-paging .dt-paging-button.previous::before,
  .notice_w .dt-paging .dt-paging-button.next::before,
  .notice_w .dt-paging .dt-paging-button.last::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 13px;
    display: inline-block;
  }
  .notice_w .dt-paging .dt-paging-button.first::before    { content: '\f100'; } /* fa-angles-left  |< */
  .notice_w .dt-paging .dt-paging-button.previous::before { content: '\f053'; } /* fa-chevron-left  <  */
  .notice_w .dt-paging .dt-paging-button.next::before     { content: '\f054'; } /* fa-chevron-right > */
  .notice_w .dt-paging .dt-paging-button.last::before     { content: '\f101'; } /* fa-angles-right >| */

  .notice_w .dt-empty { padding: 60px 0; text-align: center; color: var(--gray-500); }

  /* ===================================================================
     반응형
     =================================================================== */
  @media (max-width: 1024px) {
    .notice_w .notice_title { font-size: 30px; }
    .notice_w .notice_search { flex: 0 0 280px; }
  }

  @media (max-width: 768px) {
    .notice_w { padding: 40px 0 80px; }
    .notice_w .notice_title { font-size: 26px; }
    .notice_w .notice_top { margin-bottom: 24px; }

    /* 툴바: 탭/검색 세로 스택 (검색은 풀폭) */
    .notice_w .toolbar {
      flex-direction: column;
      align-items: stretch;
      gap: 14px;
    }
    .notice_w .notice_search { flex: 1 1 auto; max-width: 100%; }
    .notice_w .notice_tab { height: 38px; padding: 0 16px; font-size: 13px; }

    /* 표 → 카드 리스트로 reflow */
    .notice_w .notice_card { background: transparent; box-shadow: none; padding: 0; }
    .notice_w table.notice_dt,
    .notice_w table.notice_dt tbody,
    .notice_w table.notice_dt tbody tr,
    .notice_w table.notice_dt tbody td { display: block; width: 100%; }
    .notice_w table.notice_dt { border-collapse: collapse; }
    .notice_w table.notice_dt thead { display: none; }
    .notice_w table.notice_dt tbody tr {
      background: var(--white);
      border-radius: 12px;
      box-shadow: var(--shadow-sm);
      padding: 16px 18px;
      margin-bottom: 10px;
    }
    .notice_w table.notice_dt tbody tr:last-child { margin-bottom: 0; }
    .notice_w table.notice_dt tbody td {
      padding: 0;
      border: none;
      font-size: 13px;
    }
    .notice_w .td_no, .notice_w .td_type {
      display: inline-block !important;
      width: auto !important;
      padding: 0 !important;
      vertical-align: middle;
    }
    .notice_w .td_no { margin-right: 8px; }
    .notice_w .td_title {
      font-size: 15px;
      line-height: 1.4;
      margin: 10px 0 8px;
      color: var(--gray-900);
    }
    .notice_w .td_date, .notice_w .td_views {
      display: inline-block !important;
      width: auto !important;
      padding: 0 !important;
      text-align: left !important;
      font-size: 12px;
      color: var(--gray-500);
    }
    .notice_w .td_views::before {
      content: '·';
      margin: 0 8px;
      color: var(--gray-400);
    }
    .notice_w .td_views::after {
      content: ' 조회';
    }
  }

  @media (max-width: 600px) {
    .notice_w .container { padding: 0 16px; }
    .notice_w .notice_title { font-size: 22px; }
    .notice_w div.dt-container .dt-paging { gap: 3px; }
    .notice_w .dt-paging .dt-paging-button { min-width: 36px; height: 36px; padding: 0 6px; }
  }

  @media (max-width: 360px) {
    .notice_w .notice_title { font-size: 20px; }
    .notice_w .notice_tab { height: 36px; padding: 0 12px; }
  }

  @media (hover: none) {
    .notice_w table.notice_dt tbody tr:hover { background: transparent; }
  }


/* =====================================================================
   payment_history.html
   ===================================================================== */
  .payment_w {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --orange-500: #f26b1e;
    --orange-600: #e85d14;
    --green-500: #10b981;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.08);
    --shadow-lg: 0 12px 30px rgba(15,30,60,0.12);
    --container: 1280px;
  }


  html, body { margin: 0; padding: 0; }

  /* Reset (페이지 루트로 한정) */
  .payment_w, .payment_w *, .payment_w *::before, .payment_w *::after { box-sizing: border-box; }
  .payment_w {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  .payment_w a { color: inherit; text-decoration: none; }
  .payment_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; padding: 0; }
  .payment_w ul { list-style: none; padding: 0; margin: 0; }
  .payment_w h1, .payment_w h2, .payment_w h3, .payment_w h4 { margin: 0; }

  .payment_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }

  .payment_w {
    padding: 60px 0 100px;
  }
  .payment_w .payment_layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
  }


  /* ============================
     Sidebar 
     ============================ */
  .payment_w .profile_side_w {
    position: sticky;
    top: 24px;
    align-self: start;
      min-width: 0;
    }
  .payment_w .profile_card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
  }
  .payment_w .profile_img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    margin: 0 auto 14px;
    overflow: hidden;
  }
  .payment_w .profile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .profile_w .profile_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
  }
  .payment_w .profile_name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
  }

  .payment_w .profile_menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }
  .payment_w .profile_item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    transition: background .2s, color .2s;
  }
  .payment_w .profile_item a:hover {
    background: var(--gray-100);
    color: var(--navy-700);
  }
  .payment_w .profile_item.on a {
    background: var(--white);
    color: var(--navy-700);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
  }
  .payment_w .profile_item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    color: var(--navy-700);
  }

  .payment_w .profile_logout {
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
  }
  .payment_w .profile_logout a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    transition: color .2s;
  }
  .payment_w .profile_logout a:hover { color: var(--navy-700); }
  .payment_w .profile_logout i { font-size: 16px; width: 18px; text-align: center; }

  /* ============================
     Main area
     ============================ */
  .payment_w .payment_main_w {
    min-width: 0;
  }

  /* 상단 타이틀 */
  .payment_w .payment_top {
    margin-bottom: 28px;
  }
  .payment_w .payment_title {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin: 0 0 10px;
  }
  .payment_w .payment_desc {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
  }

  /* ============================
     통계 카드 (오렌지 큰 숫자)
     ============================ */
  .payment_w .stat_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }
  .payment_w .stat_card {
    background: var(--white);
    border-radius: 14px;
    padding: 26px 30px;
    box-shadow: var(--shadow-sm);
  }
  .payment_w .stat_label {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 14px;
    font-weight: 500;
  }
  .payment_w .stat_value {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }
  .payment_w .stat_num {
    font-size: 30px;
    font-weight: 800;
    color: var(--orange-500);
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
  }
  .payment_w .stat_unit {
    font-size: 18px;
    font-weight: 700;
  }

  /* ============================
     결제 내역 박스
     ============================ */
  .payment_w .payment_section {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 28px;
  }

  /* 박스 상단: 제목 + 검색 + 필터 */
  .payment_w .payment_section_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }
  .payment_w .payment_section_title {
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
  }
  .payment_w .payment_section_actions {
    display: flex;
    gap: 8px;
  }

  /* 검색바 */
  .payment_w .payment_search_w {
    position: relative;
    display: flex;
    align-items: center;
  }
  .payment_w .payment_search_w input {
    width: 260px;
    height: 40px;
    padding: 0 14px 0 36px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 13px;
    font-family: inherit;
    color: var(--gray-800);
    outline: none;
    transition: border-color .2s;
  }
  .payment_w .payment_search_w input::placeholder { color: var(--gray-500); }
  .payment_w .payment_search_w input:focus { border-color: var(--navy-700); }
  .payment_w .payment_search_w > i {
    position: absolute;
    left: 12px;
    color: var(--gray-500);
    font-size: 12px;
    pointer-events: none;
  }

  /* 필터 버튼 */
  .payment_w .btn_filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    transition: border-color .2s, color .2s;
  }
  .payment_w .btn_filter:hover {
    border-color: var(--navy-700);
    color: var(--navy-700);
  }
  .payment_w .btn_filter i { font-size: 12px; }

  /* ============================
     결제 내역 테이블
     ============================ */
  .payment_w .payment_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
  }
  .payment_w .payment_table thead {
    border-bottom: 1px solid var(--gray-200);
  }
  .payment_w .payment_table thead th {
    padding: 14px 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-500);
    text-align: left;
    letter-spacing: -0.01em;
  }
  .payment_w .payment_table tbody td {
    padding: 22px 12px;
    font-size: 13px;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
  }
  .payment_w .payment_table tbody tr:last-child td {
    border-bottom: none;
  }
  .payment_w .payment_table tbody tr:hover td {
    background: rgba(255,255,255,0.5);
  }
  .payment_w .payment_table tbody td:first-child {
    color: var(--gray-700);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
  }
  .payment_w .payment_table tbody .td_subject {
    color: var(--gray-900);
    font-weight: 600;
  }
  .payment_w .payment_table tbody .td_amount {
    font-weight: 700;
    color: var(--gray-900);
    font-variant-numeric: tabular-nums;
  }

  /* 결제 수단 */
  .payment_w .pay_method {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-700);
    font-variant-numeric: tabular-nums;
  }
  .payment_w .pay_method i {
    font-size: 13px;
    color: var(--gray-500);
  }

  /* 상태 뱃지 */
  .payment_w .payment_status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .payment_w .payment_status.status_paid {
    background: var(--orange-500);
    color: var(--white);
  }
  .payment_w .payment_status.status_cancel {
    background: var(--gray-200);
    color: var(--gray-600);
  }

  /* 영수증 버튼 */
  .payment_w .btn_receipt {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background: var(--navy-700);
    color: var(--white);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s;
    white-space: nowrap;
  }
  .payment_w .btn_receipt:hover { background: var(--navy-900); }
  .payment_w .btn_receipt_disabled {
    background: var(--gray-200);
    color: var(--gray-500);
    cursor: not-allowed;
  }
  .payment_w .btn_receipt_disabled:hover { background: var(--gray-200); }

  /* ============================
     필터 드롭다운 패널
     ============================ */
  .payment_w .filter_wrap {
    position: relative;
  }
  .payment_w .btn_filter {
    position: relative;
  }
  .payment_w .filter_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--orange-500);
    color: var(--white);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 4px;
  }
  .payment_w .filter_panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15,30,60,0.15);
    border: 1px solid var(--gray-200);
    padding: 20px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .payment_w .filter_panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .payment_w .filter_section_title {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
  }
  .payment_w .filter_section_title:not(:first-child) {
    margin-top: 8px;
  }
  .payment_w .filter_options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
  }
  .payment_w .filter_options:nth-of-type(2) {
    border-bottom: none;
  }
  .payment_w .filter_option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-700);
    cursor: pointer;
    user-select: none;
  }
  .payment_w .filter_option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--navy-700);
    cursor: pointer;
  }
  .payment_w .filter_actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
  }
  .payment_w .btn_filter_reset,
  .payment_w .btn_filter_apply {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s;
  }
  .payment_w .btn_filter_reset {
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    background: var(--white);
  }
  .payment_w .btn_filter_reset:hover {
    background: var(--gray-100);
  }
  .payment_w .btn_filter_apply {
    color: var(--white);
    background: var(--navy-700);
  }
  .payment_w .btn_filter_apply:hover {
    background: var(--navy-900);
  }

  /* ============================
     DataTables 페이지네이션 
     ============================ */
  .payment_w div.dt-container {
    margin-top: 24px;
  }
  .payment_w div.dt-container .dt-paging {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    padding: 0;
  }
  .payment_w div.dt-container .dt-paging .dt-paging-button {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700) !important;
    background: var(--white);
    border: none !important;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s;
  }
  .payment_w div.dt-container .dt-paging .dt-paging-button:hover:not(.disabled) {
    background: var(--gray-200) !important;
    color: var(--gray-800) !important;
  }
  .payment_w div.dt-container .dt-paging .dt-paging-button.current,
  .payment_w div.dt-container .dt-paging .dt-paging-button.current:hover {
    background: var(--navy-700) !important;
    color: var(--white) !important;
  }
  .payment_w div.dt-container .dt-paging .dt-paging-button.previous,
  .payment_w div.dt-container .dt-paging .dt-paging-button.next {
    background: transparent;
    color: var(--gray-500) !important;
  }
  .payment_w div.dt-container .dt-paging .dt-paging-button.previous:hover,
  .payment_w div.dt-container .dt-paging .dt-paging-button.next:hover {
    background: var(--white) !important;
    color: var(--navy-700) !important;
  }
  .payment_w div.dt-container .dt-paging .dt-paging-button.disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }
  .payment_w div.dt-container .dt-paging .dt-paging-button.disabled:hover {
    background: transparent !important;
    color: var(--gray-500) !important;
  }
  /* DataTables 빈 결과 메시지 */
  .payment_w .dt-empty {
    padding: 40px 16px !important;
    text-align: center;
    color: var(--gray-500);
    font-size: 13px;
  }

  /* ============================
     페이지네이션 (기존 - DataTables 사용 안 할 때 폴백)
     ============================ */
  .payment_w .pagination_w {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    margin-top: 24px;
  }
  .payment_w .pagination_btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--white);
    transition: background .2s, color .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .payment_w .pagination_btn:hover { background: var(--gray-200); }
  .payment_w .pagination_btn.on {
    background: var(--navy-700);
    color: var(--white);
  }
  .payment_w .pagination_btn.on:hover { background: var(--navy-900); }
  .payment_w .pagination_arrow {
    background: transparent;
    color: var(--gray-500);
  }
  .payment_w .pagination_arrow:hover {
    background: var(--white);
    color: var(--navy-700);
  }

  /* ============================
     반응형
     ============================ */
  /* 1280px 이하 */
  @media (max-width: 1280px) {
    .payment_w .payment_layout {
      grid-template-columns: 220px 1fr;
      gap: 40px;
    }
  }

  /* 1024px 이하 (태블릿): 사이드바 → 상단 가로 탭 */
  @media (max-width: 1024px) {
    .payment_w { padding: 40px 0 80px; }
    .payment_w .payment_layout {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .payment_w .profile_side_w { position: static;
      min-width: 0;
    }
    .payment_w .profile_card {
      display: flex;
      align-items: center;
      gap: 16px;
      text-align: left;
      padding: 14px 18px;
      margin-bottom: 12px;
    }
    .payment_w .profile_img { width: 48px; height: 48px; margin: 0; }
    .payment_w .profile_menu {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;  /* 가로 스크롤 대신 줄바꿈 */
      
      gap: 4px;
      background: var(--gray-100);
      border-radius: 12px;
      padding: 6px;
      margin: 0 0 12px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      min-width: 0; max-width: 100%;
    }
    .payment_w .profile_menu::-webkit-scrollbar { display: none; }
    .payment_w .profile_item { flex-shrink: 0; }
    .payment_w .profile_item a {
      white-space: nowrap;
      padding: 10px 18px;
      font-size: 13px;
      border-radius: 100px;
      background: transparent;
    }
    .payment_w .profile_item.on a { background: var(--white); }
    .payment_w .profile_item i { display: none; }
    .payment_w .profile_logout { border-top: none; padding-top: 0; }
    .payment_w .profile_logout a { padding: 8px 16px; font-size: 13px; }
  }

  /* 768px 이하 (모바일): 통계 1열, 테이블 → 카드 변환 */
  @media (max-width: 768px) {
    /* 통계 카드 1열 가로 레이아웃 */
    .payment_w .stat_grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .payment_w .stat_card {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px;
    }
    .payment_w .stat_label { margin-bottom: 0; }
    .payment_w .stat_num { font-size: 24px; }
    .payment_w .stat_unit { font-size: 15px; }

    /* 섹션 상단: 제목 위, 검색/필터 아래 */
    .payment_w .payment_section {
      padding: 22px 20px;
    }
    .payment_w .payment_section_top {
      flex-direction: column;
      align-items: stretch;
    }
    .payment_w .payment_section_actions {
      width: 100%;
    }
    .payment_w .payment_search_w {
      flex: 1;
    }
    .payment_w .payment_search_w input {
      width: 100%;
    }

    /* 테이블 → 카드 리스트 변환 */
    .payment_w .payment_table thead { display: none; }
    .payment_w .payment_table tbody tr {
      display: block;
      background: var(--white);
      border-radius: 12px;
      padding: 16px 18px;
      margin-bottom: 12px;
      box-shadow: var(--shadow-sm);
    }
    .payment_w .payment_table tbody tr:hover td {
      background: transparent;
    }
    .payment_w .payment_table tbody td {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0 !important;
      border: none;
      gap: 12px;
      text-align: right;
    }
    .payment_w .payment_table tbody td::before {
      content: attr(data-label);
      font-size: 12px;
      font-weight: 600;
      color: var(--gray-500);
      text-align: left;
      flex-shrink: 0;
    }
    .payment_w .payment_table tbody .td_subject {
      padding: 0 0 12px !important;
      margin-bottom: 8px;
      border-bottom: 1px solid var(--gray-100);
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      font-size: 14px;
    }
    .payment_w .payment_table tbody .td_subject::before { display: none; }

    /* 페이지네이션 중앙 */
    .payment_w .pagination_w {
      justify-content: center;
      margin-top: 8px;
    }
  }

  /* 600px 이하 */
  @media (max-width: 600px) {
    .payment_w .container { padding: 0 16px; }
    .payment_w { padding: 28px 0 60px; }
    .payment_w .payment_layout { gap: 24px; }

    .payment_w .profile_item a { padding: 9px 14px; font-size: 12px; }
    .payment_w .profile_card { padding: 12px 16px; }
    .payment_w .profile_name { font-size: 13px; }

    /* 통계 카드 */
    .payment_w .stat_card { padding: 16px 20px; }
    .payment_w .stat_label { font-size: 12px; }
    .payment_w .stat_num { font-size: 20px; }
    .payment_w .stat_unit { font-size: 13px; }

    /* 결제 박스 */
    .payment_w .payment_section { padding: 18px 14px; border-radius: 14px; }
    .payment_w .payment_section_title { font-size: 16px; }

    /* 페이지네이션 컴팩트 */
    .payment_w .pagination_btn {
      min-width: 32px;
      height: 32px;
      font-size: 12px;
    }
  }

  /* 420px 이하 (매우 작은 화면) */
  @media (max-width: 420px) {
    /* 검색바와 필터 버튼 분리: 검색 위, 필터 아래 */
    .payment_w .payment_section_actions {
      flex-direction: column;
    }
    .payment_w .btn_filter { justify-content: center; }
  }

  /* 터치 디바이스: hover 효과 제거 */
  @media (hover: none) {
    .payment_w .payment_table tbody tr:hover td { background: transparent; }
    .payment_w .btn_receipt:hover { background: var(--navy-700); }
    .payment_w .btn_filter:hover { border-color: var(--gray-200); color: var(--gray-700); }
    .payment_w .profile_item a:hover { background: transparent; color: var(--gray-600); }
    .payment_w .pagination_btn:hover { background: var(--white); }
  }


/* =====================================================================
   profile_edit.html
   ===================================================================== */
  .profile_w {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --orange-500: #f26b1e;
    --orange-600: #e85d14;
    --red-500: #d92d20;
    --green-500: #10b981;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-150: #e6e9ee;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.08);
    --shadow-lg: 0 12px 30px rgba(15,30,60,0.12);
    --container: 1280px;
  }


  html, body { margin: 0; padding: 0; }

  .profile_w, .profile_w *, .profile_w *::before, .profile_w *::after { box-sizing: border-box; }
  .profile_w {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding: 60px 0 100px;
  }
  .profile_w a { color: inherit; text-decoration: none; }
  .profile_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; padding: 0; }
  .profile_w ul { list-style: none; padding: 0; margin: 0; }
  .profile_w h1, .profile_w h2, .profile_w h3, .profile_w h4 { margin: 0; }
  .profile_w input { font-family: inherit; }

  .profile_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }


  .profile_w .profile_layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }

  /* ============================
     공통 사이드바 
     ============================ */
  .profile_w .profile_side_w {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .profile_w .profile_card {
    background: var(--white);
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }
  .profile_w .profile_avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    margin: 0 auto 12px;
  }
  .profile_w .profile_name {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-700);
  }
  .profile_w .profile_menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }
  .profile_w .profile_item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--gray-700);
    transition: background .2s, color .2s;
    cursor: pointer;
  }
  .profile_w .profile_item i { width: 18px; text-align: center; color: var(--gray-500); }
  .profile_w .profile_item:hover { background: var(--gray-100); }
  .profile_w .profile_item.on {
    background: var(--white);
    color: var(--navy-700);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
  }
  .profile_w .profile_item.on i { color: var(--navy-700); }
  .profile_w .profile_divider {
    height: 1px; background: var(--gray-200);
    margin: 6px 14px;
  }
  .profile_w .profile_logout {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
  }
  .profile_w .profile_logout i { width: 18px; text-align: center; color: var(--gray-500); }
  .profile_w .profile_logout:hover { color: var(--navy-700); }

  /* ============================
     메인 영역
     ============================ */
  .profile_w .profile_main_w { min-width: 0; }

  .profile_w .profile_top { margin-bottom: 24px; }
  .profile_w .profile_title {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .profile_w .profile_desc {
    font-size: 15px;
    color: var(--gray-600);
  }

  /* 섹션 (좌: 라벨 / 우: 내용) */
  .profile_w .profile_section {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 20px 0 24px;
  }

  .profile_w .section_head {
      /* common.css 의 .main_hp_wrap .section_head 가 flex 가로배치라
         profile_edit 의 좁은 head 컬럼에서 wrap 되며 title↔desc 가 멀어 보임.
         여기서는 단순 세로 스택으로 override. */
      display: block;
      margin-bottom: 8px;
    }
    .profile_w .section_title {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 2px;
  }
  .profile_w .section_desc {
    font-size: 14px;
    color: var(--gray-600);
      line-height: 1.5;
  }

  /* 프로필 사진 카드 */
  .profile_w .photo_card {
    background: var(--white);
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
  }
  .profile_w .photo_avatar_w { position: relative; flex-shrink: 0; }
  .profile_w .photo_avatar {
    width: 92px; height: 92px;
    border-radius: 50%;
    background: #d6cdb3;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 46px;
    overflow: hidden;
  }
  .profile_w .photo_avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .profile_w .photo_edit_badge {
    position: absolute;
    right: 2px; bottom: 2px;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--navy-700);
    color: var(--white);
    border: 2px solid var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    cursor: pointer;
  }
  .profile_w .photo_actions {
    display: flex; flex-direction: column; gap: 8px;
    min-width: 0;
  }
  .profile_w .photo_actions_row {
    display: flex; align-items: center; gap: 18px;
    flex-wrap: wrap;
  }
  .profile_w .btn_upload {
    height: 40px;
    padding: 0 18px;
    background: var(--navy-700);
    color: var(--white);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
  }
  .profile_w .btn_upload:hover { background: var(--navy-900); }
  .profile_w .btn_delete {
    background: transparent;
    color: var(--red-500);
    font-size: 14px;
    font-weight: 600;
    padding: 0;
  }
  .profile_w .btn_delete:hover { text-decoration: underline; }
  .profile_w .photo_note {
    font-size: 13px;
    color: var(--gray-500);
  }

  /* 기본 정보 폼 */
  .profile_w .info_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
  }
  .profile_w .field { display: flex; flex-direction: column; }
  .profile_w .field--full { grid-column: 1 / -1; }
  .profile_w .field_label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
  }
  .profile_w .field_input {
    height: 52px;
    padding: 0 16px;
    background: var(--gray-100);
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    color: var(--gray-900);
    outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
  }
  .profile_w .field_input:focus {
    background: var(--white);
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(26,58,95,0.10);
  }
  .profile_w .field_input[readonly] {
    background: var(--gray-150);
    color: var(--gray-700);
    cursor: not-allowed;
  }
  .profile_w .field_input[readonly]:focus { box-shadow: none; border-color: transparent; }

  /* 액션 */
  .profile_w .profile_actions {
    margin-top: 8px;
    padding-top: 28px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
  }
  .profile_w .btn_cancel {
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 6px;
  }
  .profile_w .btn_cancel:hover { color: var(--navy-700); }
  .profile_w .btn_save {
    background: var(--navy-700);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    padding: 0 36px;
    height: 52px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(13,36,82,0.20);
    transition: background .2s, box-shadow .2s, transform .12s;
  }
  .profile_w .btn_save:hover { background: var(--navy-900); }
  .profile_w .btn_save:active { transform: scale(.99); }

  .profile_w .profile_side_w { min-width: 0; }
  .profile_w .profile_menu { min-width: 0; max-width: 100%; }

  .profile_w .section_body { min-width: 0; }
  .profile_w .info_grid { min-width: 0; }
  .profile_w .field { min-width: 0; }
  .profile_w .field_input { width: 100%; min-width: 0; }
  .profile_w .field_input.w80 { width: 80% !important;}

  .profile_w .field_lookup { display: flex; align-items: center; gap: 8px; }
  .profile_w .field_lookup .field_input { flex: 1; min-width: 0; }
  .profile_w .btn_lookup { width: 52px; height: 52px; flex: 0 0 52px; border: 0; border-radius: 10px; background: #1a3a5f; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .profile_w .btn_lookup:hover { background: #0d2452; }

  /* ===================================================================
    반응형
  =================================================================== */
  @media (max-width: 1024px) {
    .profile_w .profile_layout {
      grid-template-columns: 200px 1fr;
      gap: 28px;
    }
    .profile_w .profile_section {
      grid-template-columns: 180px 1fr;
      gap: 20px;
    }
  }

  @media (max-width: 768px) {
    .profile_w { padding: 40px 0 80px; }
    .profile_w .profile_layout {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    /* 사이드바: 모바일에선 가로 메뉴 카드 (스크롤 X → 줄바꿈) */
    .profile_w .profile_side_w { gap: 0; }
    .profile_w .profile_card { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; }
    .profile_w .profile_avatar { width: 48px; height: 48px; margin: 0; }
    .profile_w .profile_menu {
      flex-direction: row;
      flex-wrap: wrap;           /* 가로 스크롤 대신 줄바꿈 */
      gap: 6px;
      padding: 12px 4px 4px;
    }
    .profile_w .profile_item {
      flex: 0 0 auto;
      padding: 9px 12px;
      font-size: 13px;
      gap: 8px;
    }
    .profile_w .profile_item i { width: 16px; font-size: 13px; }
    .profile_w .profile_divider { display: none; }
    .profile_w .profile_logout { padding: 10px 14px; }

    .profile_w .profile_section {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 24px 0 28px;
    }
    .profile_w .profile_title { font-size: 24px; }
    .profile_w .profile_top { margin-bottom: 24px; }
  }

  @media (max-width: 600px) {
    .profile_w .container { padding: 0 16px; }
    .profile_w .photo_card { padding: 22px; gap: 20px; }
    .profile_w .photo_avatar { width: 80px; height: 80px; font-size: 38px; }
    .profile_w .info_grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .profile_w .field_input { height: 50px; }
    .profile_w .profile_actions {
      justify-content: space-between;
      gap: 12px;
    }
    .profile_w .btn_save { padding: 0 26px; height: 50px; flex: 1; max-width: 220px; }
  }

  @media (max-width: 360px) {
    .profile_w .photo_card { flex-direction: column; align-items: flex-start; }
    .profile_w .profile_title { font-size: 22px; }
  }

  @media (hover: none) {
    .profile_w .profile_item:hover { background: transparent; }
    .profile_w .profile_item.on { background: var(--white); }
  }

/* =====================================================================
   introduce_greeting.html
   ===================================================================== */
  .greet_w {
    --navy-900: #0d2452;
    --navy-700: #1a3a5f;
    --orange-500: #f26b1e;
    --orange-100: #ffe9d6;
    --orange-50:  #fff3eb;
    --purple-50: #eef1fb;
    --purple-500: #4b65d5;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-150: #e6e9ee;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.08);
    --shadow-lg: 0 12px 28px rgba(15,30,60,0.10);
    --container: 1280px;
  }

  html, body { margin: 0; padding: 0; }

  .greet_w, .greet_w *, .greet_w *::before, .greet_w *::after { box-sizing: border-box; }
  .greet_w {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;      
  }
  .greet_w a { color: inherit; text-decoration: none; }
  .greet_w h1, .greet_w h2, .greet_w h3 { margin: 0; }
  .greet_w p { margin: 0; }

  .greet_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }


  

  /* ====== Hero (페이지 헤더) ====== */
  .greet_w .greet_hero {
    padding: 80px 0 24px;
    background: var(--gray-50);
  }
  .greet_w .greet_eyebrow {
    color: var(--orange-500);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
  }
  .greet_w .greet_title {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.025em;
    margin-bottom: 16px;
  }
  .greet_w .greet_subtitle {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 620px;
  }

  /* ====== 본문 (2-col: 텍스트 + 사진) ====== */
  .greet_w .greet_main {
    padding: 48px 0 100px;
  }
  .greet_w .greet_grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  /* 좌측 — 텍스트 */
  .greet_w .greet_text { min-width: 0; }
  .greet_w .greet_badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--orange-50);
    color: var(--orange-500);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 22px;
  }
  .greet_w .greet_quote {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.5;
    letter-spacing: -0.02em;
    margin-bottom: 36px;
    word-break: keep-all;
  }
  .greet_w .greet_body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.85;
    word-break: keep-all;
  }
  .greet_w .greet_body p strong {
    color: var(--navy-700);
    font-weight: 700;
  }
  .greet_w .greet_divider {
    height: 1px;
    background: var(--gray-200);
    margin: 40px 0 24px;
    border: none;
  }
  .greet_w .greet_sign {
    text-align: right;
  }
  .greet_w .greet_sign_small {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 4px;
  }
  .greet_w .greet_sign_main {
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.01em;
  }

  /* 우측 — 사진 카드  */
  .greet_w .greet_photo {
    position: relative;
    margin-top: 56px;   
  }
  .greet_w .greet_photo_card {
    position: relative;
    z-index: 2;
    aspect-ratio: 4 / 5;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }
  .greet_w .greet_photo_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .greet_w .greet_photo_card .photo_placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-300);
    font-size: 64px;
  }

  .greet_w .greet_photo_accent {
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 62%;
    aspect-ratio: 4 / 5;
    background: var(--orange-100);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.7;
  }

  /* ====== 핵심 가치 ====== */
  .greet_w .greet_values {
    background: var(--white);
    padding: 80px 0 100px;
    border-top: 1px solid var(--gray-200);
  }
  .greet_w .values_head {
    text-align: center;
    margin-bottom: 48px;
  }
  .greet_w .values_title {
    font-size: 30px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  .greet_w .values_subtitle {
    font-size: 15px;
    color: var(--gray-600);
  }
  .greet_w .values_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .greet_w .value_card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 36px 32px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .greet_w .value_card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  .greet_w .value_icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 28px;
  }
  .greet_w .value_card.trust .value_icon { background: var(--purple-50); color: var(--navy-700); }
  .greet_w .value_card.innovation .value_icon { background: var(--orange-50); color: var(--orange-500); }
  .greet_w .value_card.collab .value_icon { background: var(--gray-200); color: var(--gray-700); }
  .greet_w .value_label {
    font-size: 19px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
  }
  .greet_w .value_label small {
    font-weight: 600;
    color: var(--gray-500);
    font-size: 14px;
    margin-left: 4px;
  }
  .greet_w .value_desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
  }

  /* ===================================================================
     반응형
     =================================================================== */
  @media (max-width: 1024px) {
    .greet_w .greet_title { font-size: 32px; }
    .greet_w .greet_grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }
    .greet_w .greet_photo {
      margin-top: 0;
      width: 100%;
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
    }
  }

  @media (max-width: 768px) {
    .greet_w .greet_hero { padding: 56px 0 16px; }
    .greet_w .greet_main { padding: 36px 0 72px; }
    .greet_w .greet_title { font-size: 26px; }
    .greet_w .greet_subtitle { font-size: 14px; }
    .greet_w .greet_quote { font-size: 19px; }
    .greet_w .greet_body { font-size: 14px; gap: 16px; }

    .greet_w .greet_photo_accent { right: -16px; bottom: -16px; }

    .greet_w .greet_values { padding: 60px 0 80px; }
    .greet_w .values_title { font-size: 24px; }
    .greet_w .values_grid {
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .greet_w .value_card { padding: 28px 24px 26px; min-height: 0; }
    .greet_w .value_icon { margin-bottom: 18px; }
  }

  @media (max-width: 600px) {
    .greet_w .container { padding: 0 16px; }
    .greet_w .greet_title { font-size: 22px; }
    .greet_w .greet_quote { font-size: 17px; }
    .greet_w .greet_sign_main { font-size: 16px; }
  }

  @media (max-width: 360px) {
    .greet_w .greet_hero { padding: 44px 0 12px; }
    .greet_w .greet_quote { font-size: 16px; }
  }

  @media (hover: none) {
    .greet_w .value_card:hover { transform: none; box-shadow: var(--shadow-sm); }
  }


/* =====================================================================
   course_play.html
   ===================================================================== */
  .play_w {
    --navy-900: #0d2452;
    --navy-800: #102c63;
    --navy-700: #1a3a5f;
    --orange-500: #f26b1e;
    --orange-400: #ff8a3d;
    --orange-100: #ffe9d6;
    --orange-50:  #fff3eb;
    --green-500: #16a37b;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-150: #e6e9ee;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.08);
    --shadow-lg: 0 12px 28px rgba(15,30,60,0.10);
    --container: 1440px;
  }

  html, body { margin: 0; padding: 0; }
  .play_w, .play_w *, .play_w *::before, .play_w *::after { box-sizing: border-box; }
  .play_w {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-100);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
  }
  .play_w a { color: inherit; text-decoration: none; }
  .play_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; }
  .play_w h1, .play_w h2, .play_w h3 { margin: 0; }
  .play_w p, .play_w ul { margin: 0; }
  .play_w ul { list-style: none; padding: 0; }
  .play_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }


  /* ====== 상단 다크 네이비 바 ====== */
  .play_w .play_top_bar {
    background: var(--navy-900);
    color: var(--white);
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .play_w .play_top_inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .play_w .play_back_btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    color: var(--white);
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
  }
  .play_w .play_back_btn:hover { background: rgba(255,255,255,0.1); }
  .play_w .play_course_title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    flex: 1; min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* ====== 본문 레이아웃 (좌측 메인 + 우측 사이드바) ====== */
  .play_w .play_layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    padding: 28px 0 60px;
    align-items: start;
  }

  /* ====== 동영상 플레이어 (틀만 — 실제 video 는 개발자가 삽입) ====== */
  .play_w .video_player {
    background: #0a0a14;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
  }
  .play_w .video_canvas {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a0a14;

  }
  .play_w .video_canvas .video_placeholder_text {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.25);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
  }


  .play_w .video_controls {
    background: #0a0a14;
    padding: 0 16px 12px;display: none;
  }
  .play_w .video_progress {
    position: relative;
    height: 4px;
    background: rgba(255,255,255,0.18);
    border-radius: 99px;
    cursor: pointer;
    margin-bottom: 10px;
  }
  .play_w .video_progress_fill {
    position: absolute; left: 0; top: 0;
    height: 100%;
    background: var(--orange-500);
    border-radius: 99px;
    width: 44%;
  }
  .play_w .video_progress_thumb {
    position: absolute;
    left: 44%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px; height: 12px;
    background: var(--orange-500);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(242,107,30,0.25);
  }
  .play_w .video_buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.85);
  }
  .play_w .video_btn {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 6px;
    transition: background .15s, color .15s;
  }
  .play_w .video_btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .play_w .video_btn.text { width: auto; padding: 0 8px; font-size: 13px; font-weight: 600; }
  .play_w .video_time {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: rgba(255,255,255,0.75);
  }
  .play_w .video_buttons_right { margin-left: auto; display: flex; gap: 4px; align-items: center; }

  /* ====== 강의 노트 / 질의응답 / 자료실 카드 ====== */
  .play_w .play_content_card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .play_w .play_tabs {
    display: flex;
    gap: 0;
    padding: 0 24px;
    border-bottom: 1px solid var(--gray-200);
  }
  .play_w .play_tab {
    padding: 18px 16px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .2s, border-color .2s;
  }
  .play_w .play_tab:hover { color: var(--gray-700); }
  .play_w .play_tab.is_active {
    color: var(--navy-900);
    border-bottom-color: var(--orange-500);
  }

  .play_w .play_panels { padding: 28px 32px 32px; }
  .play_w .play_panel { display: none; }
  .play_w .play_panel.is_active { display: block; }

  .play_w .play_panel_head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }
  .play_w .play_panel_title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.015em;
  }
  .play_w .play_pdf_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    padding: 6px 12px;
    border-radius: 8px;
    transition: background .15s, color .15s;
    white-space: nowrap;
  }
  .play_w .play_pdf_btn:hover { background: var(--gray-100); color: var(--navy-700); }
  .play_w .play_pdf_btn i { font-size: 12px; }

  .play_w .play_panel_body { font-size: 14.5px; color: var(--gray-700); line-height: 1.8; }
  .play_w .play_panel_body p { margin-bottom: 14px; }
  .play_w .play_section_title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-900);
    margin: 20px 0 10px;
  }
  .play_w .play_list { padding-left: 22px; }
  .play_w .play_list li {
    position: relative;
    padding: 4px 0;
    list-style: none;
  }
  .play_w .play_list li::before {
    content: '';
    position: absolute;
    left: -14px; top: 14px;
    width: 4px; height: 4px;
    background: var(--gray-500);
    border-radius: 50%;
  }
  .play_w .play_list strong { color: var(--navy-900); font-weight: 700; }

  /* 중요 공지 박스 */
  .play_w .play_notice {
    margin-top: 22px;
    background: var(--orange-50);
    border-left: 3px solid var(--orange-500);
    border-radius: 8px;
    padding: 16px 20px 18px;
  }
  .play_w .play_notice_head {
    display: flex; align-items: center; gap: 8px;
    color: var(--orange-500);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
  }
  .play_w .play_notice_head i { font-size: 13px; }
  .play_w .play_notice p {
    margin: 0;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.7;
  }

  /* 질의응답 빈 상태 */
  .play_w .play_empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--gray-500);
  }
  .play_w .play_empty i { font-size: 36px; color: var(--gray-300); margin-bottom: 14px; }
  .play_w .play_empty p { font-size: 14px; margin-bottom: 16px; }
  .play_w .play_qna_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--navy-900);
    color: var(--white);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s;
  }
  .play_w .play_qna_btn:hover { background: var(--navy-700); }

  /* 자료실 리스트 */
  .play_w .play_material_list { display: flex; flex-direction: column; gap: 10px; }
  .play_w .play_material_item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: border-color .2s;
  }
  .play_w .play_material_item:hover { border-color: var(--orange-400); }
  .play_w .play_material_icon {
    width: 40px; height: 40px;
    background: var(--white);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #d33333;
    font-size: 18px;
  }
  .play_w .play_material_info { flex: 1; min-width: 0; }
  .play_w .play_material_name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .play_w .play_material_meta {
    font-size: 12px;
    color: var(--gray-500);
  }
  .play_w .play_material_btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: var(--white);
    color: var(--gray-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    transition: background .15s, color .15s;
  }
  .play_w .play_material_btn:hover { background: var(--navy-900); color: var(--white); }

  /* ====== 우측 사이드바 — 커리큘럼 ====== */
  .play_w .play_sidebar { position: sticky; top: 20px; }
  .play_w .play_sidebar_card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 100px);
  }

  /* 사이드바 헤더 — 현재 챕터 + 전체 진도율 */
  .play_w .play_sidebar_head {
    padding: 22px 22px 18px;
    border-bottom: 1px solid var(--gray-200);
  }
  .play_w .play_sidebar_title {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .play_w .play_total_progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 8px;
  }
  .play_w .play_total_value {
    font-weight: 700;
    color: var(--orange-500);
  }
  .play_w .play_progress_bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 99px;
    overflow: hidden;
  }
  .play_w .play_progress_fill {
    height: 100%;
    background: var(--orange-500);
    border-radius: 99px;
    transition: width .3s;
  }

  /* 모듈 리스트 */
  .play_w .play_module_list {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
  }
  .play_w .play_module {
    border-bottom: 1px solid var(--gray-150);
  }
  .play_w .play_module:last-child { border-bottom: none; }
  .play_w .play_module_head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    text-align: left;
    transition: background .15s;
  }
  .play_w .play_module_head:hover { background: var(--gray-50); }
  .play_w .play_module.is_open .play_module_head { background: var(--gray-50); }
  .play_w .play_module_label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 0.06em;
    margin-bottom: 2px;
  }
  .play_w .play_module_title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
  }
  .play_w .play_module_progress {
    font-size: 12px;
    color: var(--gray-500);
  }
  .play_w .play_module_chev {
    color: var(--gray-500);
    font-size: 12px;
    transition: transform .2s;
  }
  .play_w .play_module:not(.is_open) .play_module_chev { transform: rotate(180deg); }

  /* 차시 리스트 (펼친 모듈 안) */
  .play_w .play_lesson_list {
    display: none;
    padding: 0 14px 14px;
    background: var(--gray-50);
  }
  .play_w .play_module.is_open .play_lesson_list { display: block; }

  .play_w .play_lesson {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s;
  }
  .play_w .play_lesson:hover { background: var(--white); }
  .play_w .play_lesson_icon {
    flex: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
  }
  .play_w .play_lesson_info { flex: 1; min-width: 0; }
  .play_w .play_lesson_title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
    line-height: 1.4;
  }
  .play_w .play_lesson_meta {
    font-size: 12px;
    color: var(--gray-500);
    display: flex; align-items: center; gap: 4px;
  }
  .play_w .play_lesson_meta i { font-size: 10px; color: var(--orange-500); }

  /* 차시 상태: 완료 */
  .play_w .play_lesson.is_completed .play_lesson_icon {
    color: var(--orange-500);
    font-size: 18px;
  }
  .play_w .play_lesson.is_completed .play_lesson_title {
    color: var(--gray-500);
    text-decoration: line-through;
  }

  /* 차시 상태: 재생 중 (현재) */
  .play_w .play_lesson.is_current {
    background: var(--white);
    border-left: 3px solid var(--navy-900);
    padding-left: 11px;
  }
  .play_w .play_lesson.is_current .play_lesson_icon {
    background: var(--navy-900);
    color: var(--white);
    font-size: 9px;
  }
  .play_w .play_lesson.is_current .play_lesson_title { color: var(--navy-900); font-weight: 700; }

  /* 차시 상태: 잠김 */
  .play_w .play_lesson.is_locked { cursor: not-allowed; }
  .play_w .play_lesson.is_locked:hover { background: transparent; }
  .play_w .play_lesson.is_locked .play_lesson_icon { color: var(--gray-400); }
  .play_w .play_lesson.is_locked .play_lesson_title { color: var(--gray-400); }
  .play_w .play_lesson.is_locked .play_lesson_meta { color: var(--gray-400); }

  /* 사이드바 footer — 다음 강의 */
  .play_w .play_sidebar_footer {
    padding: 16px 22px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
  }
  .play_w .play_next_btn {
    width: 100%;
    height: 48px;
    background: var(--orange-500);
    color: var(--white);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background .2s, transform .12s;
  }
  .play_w .play_next_btn:hover { background: var(--orange-400); }
  .play_w .play_next_btn:active { transform: scale(.99); }

  /* ===================================================================
     반응형
     =================================================================== */
  @media (max-width: 1280px) {
    .play_w .play_layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
  }

  @media (max-width: 1024px) {
    .play_w .play_layout {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .play_w .play_sidebar { position: static; }
    .play_w .play_sidebar_card { max-height: none; }
    .play_w .play_module_list { max-height: 480px; }
  }

  @media (max-width: 768px) {
    .play_w .play_top_inner { padding: 0 16px; gap: 10px; }
    .play_w .play_course_title { font-size: 15px; }
    .play_w .container { padding: 0 16px; }
    .play_w .play_layout { padding: 18px 0 40px; }

    .play_w .video_controls { padding: 0 10px 10px; }
    .play_w .video_buttons { gap: 8px; }
    /* 작은 화면에선 부가 컨트롤 숨김 (1x / CC / 설정) — 핵심 컨트롤만 노출 */
    .play_w .video_btn.optional { display: none; }

    .play_w .play_panels { padding: 22px 20px 24px; }
    .play_w .play_panel_head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .play_w .play_panel_title { font-size: 17px; }
    .play_w .play_tabs { padding: 0 16px; overflow-x: auto; }
    .play_w .play_tab { padding: 16px 12px 14px; font-size: 13px; white-space: nowrap; }

    .play_w .play_sidebar_card { border-radius: 14px; }
    .play_w .play_sidebar_head { padding: 18px 18px 16px; }
    .play_w .play_module_head { padding: 14px 18px; }
    .play_w .play_lesson_list { padding: 0 10px 12px; }
  }

  @media (max-width: 600px) {
    .play_w .video_time { font-size: 12px; }
    .play_w .play_panel_title { font-size: 16px; }
    .play_w .play_section_title { font-size: 14px; }
  }

  @media (max-width: 360px) {
    .play_w .play_course_title { font-size: 14px; }
    .play_w .play_panels { padding: 18px 16px 20px; }
  }

  @media (hover: none) {
    .play_w .play_lesson:hover,
    .play_w .play_module_head:hover,
    .play_w .play_material_item:hover { background: initial; border-color: var(--gray-200); }
  }


/* =====================================================================
   course_live.html
   ===================================================================== */
  .live_w {
    --navy-900: #0d2452;
    --navy-800: #102c63;
    --navy-700: #1a3a5f;
    --orange-500: #f26b1e;
    --orange-400: #ff8a3d;
    --orange-50:  #fff3eb;
    --blue-50:   #eaf0fa;
    --blue-700:  #2d4a7a;
    --gray-900: #1a1d29;
    --gray-800: #2c2e3a;
    --gray-700: #444441;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #c5c8d0;
    --gray-300: #e5e7eb;
    --gray-200: #eef0f4;
    --gray-150: #e6e9ee;
    --gray-100: #f5f6f9;
    --gray-50:  #fafbfc;
    --video-bg: #2e3038;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
    --shadow-md: 0 4px 14px rgba(15,30,60,0.08);
    --shadow-lg: 0 12px 28px rgba(15,30,60,0.10);
    --container: 1200px;
  }


  html, body { margin: 0; padding: 0; }
  .live_w, .live_w *, .live_w *::before, .live_w *::after { box-sizing: border-box; }
  .live_w {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding: 36px 0 80px;
  }
  .live_w a { color: inherit; text-decoration: none; }
  .live_w button { font-family: inherit; cursor: pointer; border: none; background: transparent; }
  .live_w h1, .live_w h2, .live_w h3 { margin: 0; }
  .live_w p, .live_w ul { margin: 0; }
  .live_w ul { list-style: none; padding: 0; }
  .live_w .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }


  /* ====== 상단 ====== */
  .live_w .live_back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 16px;
    transition: color .15s;
  }
  .live_w .live_back:hover { color: var(--navy-900); }
  .live_w .live_back i { font-size: 12px; }

  .live_w .live_top { margin-bottom: 28px; }
  .live_w .live_title {
    font-size: 30px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .live_w .live_desc {
    font-size: 14.5px;
    color: var(--gray-600);
  }

  /* ====== 메인 grid (좌측 비디오 + 우측 정보 카드) ====== */
  .live_w .live_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    margin-bottom: 36px;
    align-items: start;
  }

  /* ====== 좌측: 비디오 프리뷰 + 컨트롤 ====== */
  .live_w .live_left { min-width: 0; }
  .live_w .video_preview {
    background: var(--video-bg);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 14px;
  }
  .live_w .video_canvas {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--video-bg);

  }
  .live_w .video_self_label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
  }
  .live_w .video_self_label i { font-size: 11px; }

  /* 비디오 컨트롤 바 */
  .live_w .video_controls_bar {
    background: var(--white);
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .live_w .control_btns {
    display: flex;
    gap: 20px;
  }
  .live_w .control_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: opacity .15s;
  }
  .live_w .control_btn:hover { opacity: 0.75; }
  .live_w .control_icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: background .15s;
  }
  .live_w .control_btn:hover .control_icon { background: var(--gray-300); }
  .live_w .control_btn.is_off .control_icon {
    background: var(--orange-50);
    color: var(--orange-500);
  }
  .live_w .control_label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
  }
  .live_w .control_settings {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--gray-300);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    transition: border-color .15s, color .15s;
  }
  .live_w .control_settings:hover { border-color: var(--navy-700); color: var(--navy-700); }
  .live_w .control_settings i { font-size: 12px; }

  /* ====== 우측: 강의 정보 카드 ====== */
  .live_w .live_info_card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
  }
  .live_w .live_status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--blue-50);
    color: var(--blue-700);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
  }
  .live_w .live_status .status_dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--orange-500);
  }
  .live_w .live_course_title {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin-bottom: 22px;
    word-break: keep-all;
  }

  /* 메타 정보 (담당 교수 / 강의 시간) */
  .live_w .live_meta {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
  }
  .live_w .live_meta_row {
    display: flex;
    gap: 12px;
    padding: 6px 0;
  }
  .live_w .live_meta_row + .live_meta_row { padding-top: 12px; }
  .live_w .live_meta_row > i {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--gray-600);
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
  }
  .live_w .meta_label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 2px;
  }
  .live_w .meta_value {
    font-size: 14px;
    color: var(--gray-900);
    font-weight: 700;
  }
  .live_w .live_note {
    font-size: 12.5px;
    color: var(--gray-500);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 16px;
    word-break: keep-all;
  }

  /* CTA — Zoom 입장하기 */
  .live_w .live_join_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    background: var(--navy-900);
    color: var(--white);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background .2s, transform .12s;
  }
  .live_w .live_join_btn:hover { background: var(--navy-700); }
  .live_w .live_join_btn:active { transform: scale(.99); }
  .live_w .live_join_btn i { font-size: 13px; }

  /* ====== 하단: 참여 전 확인사항 ====== */
  .live_w .live_notice_card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
  }
  .live_w .notice_head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 22px;
    letter-spacing: -0.01em;
  }
  .live_w .notice_head i {
    font-size: 18px;
    color: var(--orange-500);
  }
  .live_w .notice_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .live_w .notice_subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-700);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 14px;
  }
  .live_w .notice_list { display: flex; flex-direction: column; gap: 10px; }
  .live_w .notice_list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--gray-700);
    line-height: 1.6;
  }
  .live_w .notice_list li i {
    flex: none;
    color: var(--orange-500);
    font-size: 13px;
    margin-top: 4px;
  }

  /* ===================================================================
     반응형
     =================================================================== */
  @media (max-width: 1024px) {
    .live_w .live_grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .live_w .live_info_card { max-width: 600px; }
  }

  @media (max-width: 768px) {
    .live_w { padding: 24px 0 60px; }
    .live_w .container { padding: 0 16px; }
    .live_w .live_title { font-size: 24px; }
    .live_w .live_course_title { font-size: 19px; }

    .live_w .video_controls_bar {
      padding: 14px 16px;
      flex-direction: column;
      align-items: stretch;
      gap: 14px;
    }
    .live_w .control_btns { justify-content: center; }
    .live_w .control_settings { justify-content: center; align-self: center; }

    .live_w .live_info_card { padding: 22px 20px; }
    .live_w .live_notice_card { padding: 22px 20px; }
    .live_w .notice_grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  }

  @media (max-width: 600px) {
    .live_w .live_title { font-size: 21px; }
    .live_w .live_course_title { font-size: 17px; }
    .live_w .video_self_label { left: 10px; bottom: 10px; padding: 6px 10px; font-size: 12px; }
    .live_w .control_btns { gap: 14px; }
    .live_w .control_icon { width: 44px; height: 44px; font-size: 15px; }
  }

  @media (max-width: 360px) {
    .live_w .live_title { font-size: 19px; }
    .live_w .live_course_title { font-size: 16px; }
    .live_w .live_join_btn { font-size: 14px; height: 52px; }
  }

  @media (hover: none) {
    .live_w .control_btn:hover .control_icon { background: var(--gray-200); }
    .live_w .control_btn:hover { opacity: 1; }
    .live_w .live_join_btn:hover { background: var(--navy-900); }
  }


/* =====================================================================
   introduce_map.html  (오시는 길)
   ===================================================================== */
.location_w {
  --navy-900: #0d2452;
  --navy-700: #1a3a5f;
  --orange-500: #f26b1e;
  --orange-400: #ff8a3d;
  --orange-100: #ffe9d6;
  --orange-50:  #fff3eb;
  --gray-900: #1a1d29;
  --gray-700: #444441;
  --gray-600: #6b7280;
  --gray-500: #9ca3af;
  --gray-300: #e5e7eb;
  --gray-200: #eef0f4;
  --gray-100: #f5f6f9;
  --gray-50:  #fafbfc;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15,30,60,0.05);
  --shadow-md: 0 4px 14px rgba(15,30,60,0.08);
  --shadow-lg: 0 12px 28px rgba(15,30,60,0.10);
  --container: 1280px;
}

html, body { margin: 0; padding: 0; }

.location_w, .location_w *, .location_w *::before, .location_w *::after { box-sizing: border-box; }
.location_w {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  background: var(--gray-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding: 60px 0 100px;
}
.location_w a { color: inherit; text-decoration: none; }
.location_w h1, .location_w h2, .location_w h3 { margin: 0; }
.location_w p { margin: 0; }
.location_w ul { list-style: none; padding: 0; margin: 0; }

.location_w .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== Top ====== */
.location_w .location_top {
  text-align: center;
  margin-bottom: 36px;
}
.location_w .location_eyebrow {
  color: var(--orange-500);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.location_w .location_title {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.location_w .location_desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  word-break: keep-all;
}

/* ====== Map ====== */
.location_w .map_area {
  width: 100%;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
  background: var(--gray-200);
}
.location_w .map_area iframe {
  width: 100%; height: 100%; border: 0; display: block;
}

/* ====== Info grid (Address 2칸 + Phone + Fax) — 4-col 그리드 ====== */
.location_w .info_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.location_w .info_card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  min-width: 0;
}
.location_w .info_card_wide {
  grid-column: span 2;
}
.location_w .info_icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-50);
  color: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.location_w .info_label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.location_w .info_text {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.55;
  word-break: keep-all;
}
.location_w .info_sub {
  margin-top: 8px;
  font-size: 12px;
  color: var(--gray-500);
}

/* ====== Bottom: Email card + Hours card ====== */
.location_w .info_bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Email card (흰 카드) */
.location_w .email_card {
  position: relative;
  display: block;
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: border-color .15s, transform .12s, box-shadow .15s;
}
.location_w .email_card:hover {
  border-color: var(--orange-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.location_w .email_link {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 4px;
  word-break: break-all;
}
.location_w .email_arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background .15s, color .15s;
}
.location_w .email_card:hover .email_arrow {
  background: var(--orange-500);
  color: var(--white);
}

/* Hours card (네이비) */
.location_w .hours_card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.location_w .hours_title {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.location_w .hours_title i { color: var(--orange-500); font-size: 15px; }
.location_w .hours_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.location_w .hours_item:last-child { border-bottom: none; padding-bottom: 0; }
.location_w .hours_item:first-child { padding-top: 0; }
.location_w .hours_label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.location_w .hours_value {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .location_w .location_title { font-size: 30px; }
  .location_w .info_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .location_w .info_card_wide {
    grid-column: span 2;
  }
  .location_w .map_area { height: 400px; }
}

@media (max-width: 768px) {
  .location_w { padding: 44px 0 72px; }
  .location_w .location_title { font-size: 26px; }
  .location_w .location_desc { font-size: 14px; }
  .location_w .map_area { height: 320px; border-radius: 14px; }
  .location_w .info_grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .location_w .info_card_wide {
    grid-column: span 1;
  }
  .location_w .info_bottom {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .location_w .info_card,
  .location_w .email_card,
  .location_w .hours_card { padding: 24px 22px; }
  .location_w .email_arrow { top: 18px; right: 18px; }
}

@media (max-width: 600px) {
  .location_w .container { padding: 0 16px; }
  .location_w .location_title { font-size: 22px; }
  .location_w .map_area { height: 280px; }
  .location_w .email_link { font-size: 16px; }
}

@media (max-width: 360px) {
  .location_w .location_title { font-size: 20px; }
  .location_w .map_area { height: 240px; }
}

@media (hover: none) {
  .location_w .email_card:hover {
    border-color: var(--gray-200);
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  .location_w .email_card:hover .email_arrow {
    background: var(--gray-100);
    color: var(--gray-600);
  }
}

/* 업체 검색 팝업 */
.mfp-bg { position: fixed; inset: 0; z-index: 1042; background: rgba(13, 36, 82, 0.58); }
.mfp-wrap { position: fixed; inset: 0; z-index: 1043; outline: none; overflow-x: hidden; overflow-y: auto; -webkit-backface-visibility: hidden; }
.mfp-container { min-height: 100%; padding: 32px 20px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.mfp-content {
  position: relative; width: min(920px, calc(100vw - 40px)); margin: 0 auto; background: var(--white, #fff); border: 1px solid var(--gray-200, #eef0f4);
  border-radius: 14px; box-shadow: var(--shadow-lg, 0 12px 28px rgba(15, 30, 60, 0.10)); overflow: hidden;
}
.mfp-iframe-scaler { position: relative; width: 100%; height: min(825px, 100vh); overflow: hidden; background: var(--white, #fff); }
.mfp-iframe-scaler iframe,
.mfp-iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--white, #fff); }
.mfp-close { 
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px;
  height: 38px; border: 1px solid var(--gray-200, #eef0f4); border-radius: 50%; background: var(--white, #fff); color: var(--gray-700, #444441);
  font-size: 26px; line-height: 36px; text-align: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.mfp-close:hover { background: var(--gray-100, #f5f6f9); color: var(--navy-700, #1a3a5f); border-color: var(--gray-300, #e5e7eb);}
/* .mfp-preloader {
  position: absolute; left: 50%; top: 50%; z-index: 1044; transform: translate(-50%, -50%);
  color: var(--white, #fff); font-size: 14px; font-weight: 600; 
} */
.mfp-hide { display: none !important; }

.lms_pop_body { margin: 0; background: var(--white, #fff); font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: var(--gray-700, #444441); }
.lms_pop,
.lms_pop * { box-sizing: border-box; }
.lms_pop { padding: 32px; }
.lms_pop .pop_head { margin-bottom: 20px; }
.lms_pop .pop_title { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--navy-700, #1a3a5f);}
.lms_pop .pop_desc { margin: 0; font-size: 14px; color: var(--gray-600, #6b7280); }
.lms_pop .pop_search { display: flex; gap: 8px; margin-bottom: 18px; }
.lms_pop .pop_search input { flex: 1; height: 52px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; background: var(--gray-100, #f5f6f9); font-size: 15px; outline: none; }
.lms_pop .pop_search input:focus { background: var(--white, #fff); border-color: var(--navy-700, #1a3a5f); box-shadow: 0 0 0 3px rgba(26,58,95,0.10); }
.lms_pop .pop_search_btn {
  height: 52px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--navy-700, #1a3a5f);
  color: var(--white, #fff); font-size: 14px; font-weight: 700; cursor: pointer; 
}
.lms_pop .pop_search_btn:hover { background: var(--navy-900, #0d2452); }
.lms_pop .pop_table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--gray-200, #eef0f4); }
.lms_pop .pop_table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.lms_pop .pop_table th,
.lms_pop .pop_table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-200, #eef0f4); font-size: 14px; text-align: left; }
.lms_pop .pop_table th { background: var(--gray-50, #fafbfc); color: var(--gray-900, #1a1d29); font-weight: 700; }
.lms_pop .company_pick { border: 0; background: transparent; color: var(--navy-700, #1a3a5f); font-weight: 700; cursor: pointer; padding: 0; }
.lms_pop .company_pick:hover { text-decoration: underline; }
.lms_pop .pop_empty { padding: 40px 16px; text-align: center !important; color: var(--gray-500, #9ca3af); }

/* 업체 검색 팝업 - 페이지네이션 */
.lms_pop .paging { margin-top: 22px; padding-top: 18px; text-align: center; }
.lms_pop .paging ul {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; margin: 0;
  padding: 0; list-style: none;
}
.lms_pop .paging li { margin: 0; padding: 0; }
.lms_pop .paging a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px;
  padding: 0 10px; border: 1px solid var(--gray-200, #eef0f4); border-radius: 8px; background: var(--white, #fff); color: var(--gray-600, #6b7280);
  font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.lms_pop .paging a:hover { border-color: var(--navy-700, #1a3a5f); color: var(--navy-700, #1a3a5f); background: var(--gray-50, #fafbfc); }
.lms_pop .paging .num.active { border-color: var(--navy-700, #1a3a5f); background: var(--navy-700, #1a3a5f); color: var(--white, #fff); cursor: default;}
.lms_pop .paging .controll { width: 34px; min-width: 34px; padding: 0; font-size: 0; color: var(--gray-500, #9ca3af);}
.lms_pop .paging .controll::before { font-size: 13px; font-weight: 800; line-height: 1; }
.lms_pop .paging .controll.first::before { content: "\00AB"; }
.lms_pop .paging .controll.back::before  { content: "\2039"; }
.lms_pop .paging .controll.next::before  { content: "\203A"; }
.lms_pop .paging .controll.last::before  { content: "\00BB"; }
.lms_pop .paging .controll[href^="javascript:void"] { opacity: .35; pointer-events: none; cursor: default; }
.lms_pop .paging .blind {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 600px) {
  /* 업체 검색 팝업 */
  .lms_pop { padding: 24px 18px; }
  .lms_pop .pop_search { flex-direction: column; }
  .lms_pop .pop_search_btn { width: 100%; }
  /* 업체 검색 팝업 - 페이지네이션 */
  .lms_pop .paging { margin-top: 18px; padding-top: 14px; }
  .lms_pop .paging ul { gap: 3px; flex-wrap: wrap; }
  .lms_pop .paging a { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 7px; font-size: 12px; }
  .lms_pop .paging .controll { width: 32px; min-width: 32px; }
}


