/* =========================
   COMPONENTS
========================= */
.detail-content{
    margin:10px 0px;
}

.detail-content {
    white-space: pre-line;
}

/* 버튼 */
.btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid #ec4899;
  background: transparent;
  color: #ec4899;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary {
    color: #ec4899;
    font-weight: 700;
}

.btn.danger {
  border-radius: 2px;
  background: #ec4899;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}


/* 테이블 */
.table-wrap {
    margin-top: 16px;
    background: #18181b;
    border-radius: 6px;
    overflow-x: auto;
  background: #fff;
  border-radius: 10px;
  overflow-x: auto;
}
.data-table {
    width: 100%;
    font-size: 14px;
    color: #e5e7eb;
    border-collapse: collapse;
}

.data-table thead {
    background: #fbfbfb;
    color:#777777;
}
/*
.data-table th,
.data-table td {
    padding: 7px 12px;
    border-bottom: 1px solid #27272f;

}
*/
.data-table tbody tr:hover {
    background: #f9fafb;
}
.data-table tfoot td {
    color: #222 !important;
    font-weight: bold;
}
/* 배지 */
.badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 2px;
    font-weight: 700;
    display: inline-block;
}
.page-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 12px;
  font-size: 13px;
  flex-wrap: wrap;
  gap:10px;
}

/* 페이지 버튼 컨테이너 */
#pagination-box {
  display: flex;
  gap: 6px;
}

/* 페이지 버튼 */
#pagination-box .page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

#pagination-box .page-btn:hover {
  background: #f3f4f6;
}

/* 현재 페이지 */
#pagination-box .page-btn.is-active {
  background: #ec4899;
  border-color: #ec4899;
  color: #fff;
}

/* << < > >> 버튼 */
#pagination-box .page-btn:first-child,
#pagination-box .page-btn:last-child {
  font-weight: 700;
}
.rows-per-page {
    font-size: 15px;
    color: #111111;
}


.rows-per-page select {
    margin-left: 6px;
    padding: 4px 8px;
    border-radius: 2px;
    border: 1px solid #eee;
    color: #111111;
    font-size: 15px;
}

/* 테이블 */


.data-table th,
.data-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align:center;
  white-space: nowrap;
}

.data-table tbody{
color:#111111;
}
.empty-row td {
    text-align: center;
    padding: 32px 12px;
    color: #9ca3af;
}
.main-bg {
  min-height: 100vh;
  background:
    url("/static/style/2/main-bg.jpg") top center / 100% 40vh no-repeat,
    #f5f6f8;
}
.sub-bg{
    background:white;
    padding:15px 15px;
    border-radius:10px;
    min-height:80vh;
}
.detail-card{
    color:#111111;
}
.page-title{
    margin:0 0 20px 0;
}
.search-box {
    gap: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.checked-count{
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-box input {
  height: 36px;
  padding: 0 10px;
  border-radius: 2px;
  border: 1px solid #eee;
  font-size: 13px;
}
/* ========================================
   Litepicker 날짜 선택기 가독성 개선 CSS
======================================== */

/* 비활성화된 날짜 (선택 불가) - 회색 처리 */
.litepicker .container__days .day-item.is-locked {
    color: #d0d0d0 !important;
    background-color: #f8f8f8 !important;
    cursor: not-allowed !important;
    text-decoration: line-through;
    opacity: 0.4;
}

/* 선택 가능한 날짜 - 진하게 */
.litepicker .container__days .day-item:not(.is-locked) {
    color: #333 !important;
    font-weight: 500;
}

/* 선택 가능한 날짜에 호버 시 */
.litepicker .container__days .day-item:not(.is-locked):hover {
    background-color: #e3f2fd !important;
    color: #be185d!important;
    font-weight: 600;
}

/* 선택된 시작/종료 날짜 */
.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date {
    background-color: #be185d!important;
    color: white !important;
    font-weight: 700 !important;
}

/* 선택된 범위 내 날짜 */
.litepicker .container__days .day-item.is-in-range {
    background-color: #bbdefb !important;
    color: #be185d!important;
    font-weight: 600;
}

/* 오늘 날짜 강조 */
.litepicker .container__days .day-item.is-today {
    border: 2px solid #ff5722 !important;
    font-weight: 700;
}

/* 오늘 날짜가 비활성화되어 있을 때 */
.litepicker .container__days .day-item.is-today.is-locked {
    border: 2px solid #ffccbc !important;
    opacity: 0.3;
}

/* 주말 강조 (선택택 가능한 경우) */
.litepicker .container__days .day-item:not(.is-locked):nth-child(7n),
.litepicker .container__days .day-item:not(.is-locked):nth-child(7n+1) {
    color: #d32f2f;
}

/* 주말이 비활성화된 경우 */
.litepicker .container__days .day-item.is-locked:nth-child(7n),
.litepicker .container__days .day-item.is-locked:nth-child(7n+1) {
    color: #ffcdd2 !important;
}


/* ========================================
   추가 옵션: 더 강한 대비
======================================== */

/* 옵션 1: 비활성화 날짜에 배경 패턴 추가 */
.litepicker .container__days .day-item.is-locked {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        #f0f0f0 2px,
        #f0f0f0 4px
    );
}

/* 옵션 2: 선택 가능한 날짜에 테두리 추가 */
.litepicker .container__days .day-item:not(.is-locked):not(.is-start-date):not(.is-end-date):not(.is-in-range) {
    border: 1px solid #e0e0e0;
}

/* 옵션 3: 비활성화 날짜 완전히 숨기기 (원하는 경우) */
/*
.litepicker .container__days .day-item.is-locked {
    visibility: hidden;
}
*/