@charset "UTF-8";
:root {
  --brandColor: #FDE3E7;
  --brandColor2: #FF788F;
  --brandColor3: #f3f7f7;
  --tableBorder: #ccc;
  --backgroudColor: #FAFAFA;
  --borderColor: #585555;
  --menu_bg: #24292e;
  --tableColor: #EEF6FF;
  --table_padding: 10px 15px;
  --table_radious: 5px;
  --white: #fff;
  --black: #333333;
  --textColor: #252c2c;
  --red: #c13b2b;
  --btnPadding: 8px 20px;
}
svg,
img[src$=".svg"] {
  max-width: 50px;
  height: auto;
}

pre { white-space: pre-line; }
.inner { width: 100%; max-width: 1600px; }
.contents_inner { overflow-x: auto; padding: 20px 0; margin-top: 78px; }
.contents_inner main { min-width: 1500px; }
.notscroll { overflow: hidden; }
.enter_430 { display: none; }

/* 안내 문구 */
.empty { padding: 20px; text-align: center; color: #666; }
.notice { padding-top: 40px; text-align: center; color: #666; }
.no_absence { padding-top: 20px; text-align: center; font-size: 18px; color: #666; }

/* 버튼 */
.btn { position: relative; height: 35px; padding: 0 18px; color: #222; border: 1px solid #aaa; border-radius: 6px; font-size: 15px; transition: all 0.15s; line-height: 35px; }
.btn_mod { padding: 4px 10px; font-size: 14px; background: var(--menuBg); border: 1px solid #ddd; border-radius: 4px; }
.btn_all { background: #f5f5f5; border: 1px solid #ccc; }
 
.reg_btn {
  background: var(--brandColor2);
  color: #fff;
  border: 1px solid var(--brandColor2);
  font-weight: 500; 
}

/* 선택 삭제 버튼 (체크된 항목 있을 때만 활성화) */
.del_btn {
  height: 35px;
  padding: 0 18px;
  border: 1px solid var(--brandColor2);
  border-radius: 8px;
  background: #fff;
  color: var(--brandColor2);
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 500;
}

.del_btn:disabled {
  color: #bbb;
  opacity: 1;
  cursor: default;
  border: 1px solid #eee;
}
/* 셀렉트 박스 */
.select_box {
  background: url(../../img/icon-arrow_01.png) no-repeat 90% 50% / 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
}
.select_box select {
  padding: 5px 16px;
  color: #555;
}

/* 스크롤바 커스텀 */
body::-webkit-scrollbar { width: 12px; }
body::-webkit-scrollbar-thumb { background: #eee; border-radius: 10px; }

/* 자동완성 배경색 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--formColor) inset;
  box-shadow: 0 0 0 1000px var(--formColor) inset;
  -webkit-text-fill-color: #000;
}

.date_search_wrap {
  display: flex;
  align-items: center;
  padding: 25px 15px 10px 0;
  width: fit-content;
}
.date_search_wrap .date_filter {
  display: flex;
  align-items: center;
  gap: 10px;
}
.date_search_wrap .date_filter h4 {
  position: relative;
  margin-right: 8px;
  font-size: 18px;
  font-weight: 600;
}
.date_search_wrap .date_filter .date_filter_area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date_filter { width: fit-content; }
.date_filter label { font-size: 14px; font-weight: 600; white-space: nowrap; color: #333; }
.date_filter .filter_group { display: flex; align-items: center; gap: 8px; overflow: hidden; border-radius: 5px; }
.date_filter .filter_group.text input { padding-left: 8px; }
.date_filter .filter_group button { padding: 8px 10px; font-size: 14px; }
.date_filter input[type="text"] {
  width: 197px;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 6px;
  background-color: #fff;
  border: 1px solid #ccc;
}

.sc_nav { position: fixed; top: 0px; width: 260px; height: 100%; background: var(--white); }
.sc_nav .head { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 20px; }
.sc_nav .head img { margin: 0 auto; width: 100%; }
.sc_nav .head a { font-size: 25px; font-weight: 700; }

.sc_nav .menu_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
}

.sc_nav .menu_list .menu_item {
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.15s ease;
}

.sc_nav .menu_list .menu_check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--backgroudColor);
  border-radius: 6px;
  cursor: pointer;
}

.sc_nav .menu_list .menu_text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

/* 커스텀 체크박스 */
.sc_nav .menu_list .check_box {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #d9d7d2;
  flex-shrink: 0;
}

.sc_nav .menu_list .menu_check.is_checked .check_box {
  background: #333;
  border-color: #333;
}

.sc_nav .menu_list .menu_check.is_checked .check_box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 뱃지 (숫자) */
.sc_nav .menu_list .badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #333;
  color: #fff;
  font-size: 11px;
}

/* 드롭다운 화살표 */
.sc_nav .menu_list .arrow {
  position: relative;
  width: 16px;
  height: 16px;
}

/* 활성 메뉴 */
.sc_nav .menu_item.is_active .menu_text { font-weight: 500; }
.sc_nav .menu_item.is_active .menu_check { background: var(--brandColor); }

/* 서브메뉴 */
.sc_nav .menu_item .sub_list {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin: 0;
  padding: 10px 7px;
}

.sc_nav .menu_item .sub_item {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.sc_nav .menu_item .sub_item a {
  display: block;
  padding: 12px 0px 12px 33px;
  color: inherit;
}

.sc_nav .menu_item .sub_item.is_active {
  color: var(--brandColor2);
  background: #fafafa;
  border-radius: 6px;
}
/* 서브메뉴 토글 (has_sub 클릭 시 is_open) */
.sc_nav .menu_item.has_sub .sub_list { display: none; }
.sc_nav .menu_item.has_sub.is_open .sub_list { display: flex; }
.sc_nav .menu_item.has_sub .arrow img { transition: transform 0.2s; }
.sc_nav .menu_item.has_sub.is_open .arrow img { transform: rotate(180deg); }
/* ==========================================================================
   헤더
   ========================================================================== */
.group_headline { display: flex; align-items: center; justify-content: space-between; padding: 20px 30px; border-bottom: 1px solid #ddd; background: var(--backgroudColor); }
.group_headline .inner { position: relative; display: flex; justify-content: space-between; }
.group_headline .headline_box h2 { display: flex; align-items: center; gap: 0px; font-size: 25px; font-weight: 700; }
.group_headline .headline_box h2 span {color: var(--brandColor2);}
.group_headline .headline_box p { font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--brandColor2); }
.group_headline .headline_box p br { display: none; }
.group_headline .user_box { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.group_headline .user_box .name { display: flex; align-items: center; gap: 5px; padding-left: 20px; border-left: 1px solid #bbb; }
.group_headline .user_box .name b { font-weight: 600; padding-right: 5px; }
.group_headline .user_box .name .dept { margin-right: 6px; padding: 4px 10px; background: var(--brandColor3); color: var(--menu_bg); font-size: 14px; border-radius: 4px; }
.group_headline .user_box .logout { position: relative; display: flex; align-items: center; padding-right: 28px; color: #666; }
.group_headline .user_box .logout::after { content: ''; position: absolute; top: 50%; right: 0; transform: translateY(-45%); width: 24px; height: 24px; background: url(../img/exit.svg) no-repeat center/contain; }

.user_box .btn_box .btn_logout { display: flex; align-items: center; gap: 8px; }
.user_box .btn_box > * svg {
  width: 18px;
  height: 18px;
  background: #fff;
}

/* ==========================================================================
   컨텐츠 영역
   ========================================================================== */
.container { flex: 1; margin-left: 260px; }
.sc_content { position: relative; padding: 30px; }
.page_wrap {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 30px;
  background: var(--backgroudColor);
}
.section {padding: 25px; background: var(--white); border-radius: 10px;}
.title_wrap {display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;}
.section_title { font-size: 18px; font-weight: 700; }
/* ==========================================================================
   달력
   ========================================================================== */
.calender_wrap { position: relative; }
label.calender {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  min-width: auto;
  width: 13px;
  height: 13px;
  /* background: url(../../img/calendar.svg) no-repeat center/contain; cursor: pointer; */
}
.calender_wrap input,
.calender_box input {font-size: 15px; text-align: center; cursor: pointer; border: 1px solid #e0e0e0; border-radius: 6px; width: 100%; background: #fff url(../../img/calendar.svg) no-repeat center right 8px / 15px; padding: 6px 30px 6px 14px; }

.limit_select_box { display: flex; align-items: center; }
.limit_select_box p { margin-left: 5px; font-size: 14px; color: #666; }

/* datepicker / daterangepicker 공통 */
.datepicker table tr td span,
.daterangepicker table tr td span { height: 45px; line-height: 45px; }
.datepicker table tr td span.focused,
.daterangepicker table tr td span.focused { background: 0; }
.datepicker table tr td span:hover,
.daterangepicker table tr td span:hover { background: #eee; }
.datepicker table tr td span.active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active:active,
.datepicker table tr td span.active[disabled],
.datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active:hover[disabled],
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled:hover,
.daterangepicker table tr td span.active,
.daterangepicker table tr td span.active:hover,
.daterangepicker table tr td span.active:active,
.daterangepicker table tr td span.active[disabled],
.daterangepicker table tr td span.active:hover:active,
.daterangepicker table tr td span.active:hover[disabled],
.daterangepicker table tr td span.active.disabled,
.daterangepicker table tr td span.active.disabled:hover { background-image: linear-gradient(to bottom, #6d94ff, #204bbe) ; color: #fff; }

.datepicker table tr td,
.daterangepicker table tr td { border-bottom: 1px solid #eee; border-top: 1px solid #eee; }
.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active:active,
.datepicker table tr td.active[disabled],
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active:hover[disabled],
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover,
.daterangepicker table tr td.active,
.daterangepicker table tr td.active:hover,
.daterangepicker table tr td.active:active,
.daterangepicker table tr td.active[disabled],
.daterangepicker table tr td.active:hover:active,
.daterangepicker table tr td.active:hover[disabled],
.daterangepicker table tr td.active.disabled,
.daterangepicker table tr td.active.disabled:hover { background-image: linear-gradient(to bottom, #6d94ff, #204bbe); color: #fff; border-bottom: none; }
.datepicker table tr td.today,
.daterangepicker table tr td.today { border: 0; background: #adbcff !important; }

.datepicker.dropdown-menu,
.daterangepicker.dropdown-menu { padding: 10px 10px 48px; }
.datepicker.dropdown-menu td,
.daterangepicker.dropdown-menu td { font-size: 14px; padding: 5px; border-radius: 0; }

.datepicker table tr th,
.daterangepicker table tr th { font-size: 15px; }
.datepicker table tr th.dow,
.daterangepicker table tr th.dow { padding: 6px 10px; }
.datepicker table tr .datepicker-switch { font-size: 16px; padding: 10px; }
.daterangepicker table tr .month { font-size: 16px; padding: 10px; }

.datepicker table tr .clear,
.daterangepicker table tr .clear { position: absolute; margin-left: 10px; margin-top: 8px; padding: 2px 2px; font-size: 13px; width: 35px; height: auto; text-align: center; color: #444; background: #fff; border: 1px solid #ccc; border-radius: 20px; cursor: pointer; }
.datepicker table tr .clear:hover,
.daterangepicker table tr .clear:hover { color: #000; background: #fff; border: 1px solid #666; }

.datepicker td.sunday,
.datepicker td.holiday,
.daterangepicker td.sunday,
.daterangepicker td.holiday { background: #ffcccc !important; color: #d10000 !important; }
.datepicker td.saturday,
.daterangepicker td.saturday { background: #cce5ff !important; color: #0044cc !important; }

/* ==========================================================================
   테이블 래퍼 (공통) — 어느 페이지에서든 .table_wrap 으로 재사용
   ========================================================================== */
.table_wrap {
  width: 100%;
}

/* ==========================================================================
   공통 테이블 — .common_table 로 재사용 (th/td 스타일 포함)
   ========================================================================== */
.common_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.common_table thead th {
  padding: 12px 12px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
  background: var(--brandColor);
}
.common_table tbody td {
  padding: 10px 12px;
  text-align: center;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  font-weight: 500;
}

.common_table tbody tr:last-child td {
  border-bottom: none;
}
.common_table tbody tr.no_data td{
  padding: 30px 0;
}
/* 좌측 정렬 컬럼 (제목 등) */
.common_table .col_title {
  text-align: left;
  padding-left: 20px;
}
/* 체크박스 컬럼 */
.col_check {
  width: 48px;
}

.col_check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #ccc;
  border-radius: 4px;
  background: #fff;
  position: relative;
  vertical-align: middle;
  transition: all 0.15s;
}

.col_check input[type="checkbox"]:checked {
  background: var(--brandColor2);
  border-color: var(--brandColor2);
}
.col_check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}

.thumb_box {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  margin: 0 auto;
}

.thumb_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ 하단 액션바 + 페이지네이션 ============ */
.table_bottom {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   페이지네이션 (공통) — 어느 페이지에서든 .pagination 으로 재사용
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}
.pagination button {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.pagination button:hover:not(:disabled) {
  border-color: #5aa0f0;
}
.pagination button.pagination_arrow {
   border: 0;
   padding: 0 6px;
   display: flex;
   justify-content: center;
   align-items: center;
   min-width: 0px;
}
.pagination button.is_active {
  border-color: #5aa0f0;
  background: #5aa0f0;
  color: #fff;
}
.pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* 탭메뉴 */
.tab_menu ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  border-bottom: 1px solid #eee;
}

.tab_menu li a {
  display: block;
  padding: 12px 20px;
  color: #999;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab_menu li.is_active a {
  color: #333;
  font-weight: 600;
  border-bottom-color: #333;
}


/* 상단 카운트 + 검색 영역 */
.list_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.report_type {
  display: flex;
  gap: 8px;
}

.report_type .type_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  color: #806b6b;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s ease;
}

/* 아이콘: 기본은 빈 원 */
.report_type .type_btn::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.report_type .type_btn .count {
  color: inherit;
}

/* 활성 상태 */
.report_type .type_btn.is_active {
  border-color: var(--brandColor2);
  background: #ffeff3;
  color:  var(--brandColor2);
  font-weight: 600;
}

/* 활성 상태 아이콘: 체크 표시로 변경 */
.report_type .type_btn.is_active::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: var(--brandColor2);
  background:  var(--brandColor2);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.total_count {
  font-size: 16px;
  color: #333;
  margin: 0;
}

.total_count strong {
  font-weight: 600;
}

.search_area {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* 셀렉트 박스 */
.filter_select {
  min-width: 120px;
  height: 40px;
  padding: 0 32px 0 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff url('../../img/arrow_down.svg') no-repeat right 12px center;
  background-size: 12px;
  appearance: none;
  -webkit-appearance: none;
  font-size: 15px;
  color: #333;
  cursor: pointer;
}

.filter_select:focus {
  outline: none;
  border-color: #999;
}

/* 검색창 */
.search_wrap {
  position: relative;
  width: 320px;
}

.search_input {
  width: 100%;
  height: 40px;
  padding: 0 44px 0 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
}

.search_input:focus {
  outline: none;
  border-color: #999;
}

.search_btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search_btn img {
  width: 18px;
  height: 18px;
}