/* main-card 간격 최소화 */
.main-card.mb-3.card {
    margin-bottom: 0.5rem !important;
}
/* DataTables 그리드 thead 하단 라인 */
.dt-layout-cell > table > thead {
    border-bottom: 2px solid #dee2e6 !important;
}

.dt-layout-cell > table {
    border-top: 2px solid #dee2e6 !important;
}

.dt-layout-cell > table > thead > tr > th{
    text-align:center;
}

div.dt-container div.dt-layout-cell {
    padding: 0px !important;
}

/* DataTable 컬럼 width 클래스 */
.tw-30 { width: 30px !important; }
.tw-50 { width: 50px !important; }
.tw-70 { width: 70px !important; }
.tw-80 { width: 80px !important; }
.tw-90 { width: 90px !important; }
.tw-100 { width: 100px !important; }
.tw-120 { width: 120px !important; }
.tw-130 { width: 130px !important; }
.tw-140 { width: 140px !important; }
.tw-150 { width: 150px !important; }
.tw-180 { width: 180px !important; }
.tw-200 { width: 200px !important; }
.tw-250 { width: 250px !important; }

/* ========================================
   Lists 페이지 공통 스타일
   ======================================== */

/* DataTable 기본 스타일 */
#resultList th {
    font-size: 11px;
    text-align: center;
}

#resultList td {
    text-align: center;
}

#resultList tbody tr {
    cursor: pointer;
    font-size: 12px;
}

.blockUI {
    z-index: 1500 !important;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.card-header {
    display: flex !important;
    align-items: center;
}

.card-header-tab {
    justify-content: flex-start !important;
}

.table-scroll {
    max-height: 300px;
    overflow-y: scroll;
}

.swal2-cancel {
    background-color: #ff0000 !important;
    color: #fff !important;
}

/* 검색 폼 row 구분 */
#frm_srch_info .row.g-3 {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

#frm_srch_info .row.g-3:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

#frm_srch_info .row.g-3:first-of-type {
    padding-top: 0;
}

/* 검색창 공간 최소화 */
#frm_srch_info .card-body {
    padding: 15px !important;
}

#frm_srch_info .row.g-3 {
    padding: 8px 0;
    row-gap: 8px !important;
}

#frm_srch_info .form-label {
    margin-bottom: 4px !important;
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
}

#frm_srch_info .form-control,
#frm_srch_info .form-select {
    padding: 4px 8px !important;
    font-size: 0.85rem;
    border-color: #bbb !important;
}

#frm_srch_info .form-control:focus,
#frm_srch_info .form-select:focus {
    border-color: #888 !important;
}

#frm_srch_info .input-group-text {
    padding: 4px 8px !important;
    font-size: 0.85rem;
}

#frm_srch_info .alert {
    padding: 8px 12px !important;
    margin-bottom: 12px !important;
}

#frm_srch_info .btn {
    padding: 4px 12px !important;
    font-size: 0.85rem;
}

/* 툴팁 스타일 */
.info-tooltip {
    display: inline-block;
    margin-left: 5px;
    color: #17a2b8;
    cursor: help;
    font-size: 0.9rem;
}

.info-tooltip:hover {
    color: #138496;
}


.col-lg-10p {
  flex: 0 0 10%;
  max-width: 10%;
}

.photo-thumb {
  max-width: 90px !important;
  max-height: 68px !important;
  padding: 2px;
  object-fit: contain !important;
}

.photo-small {
  padding: 0.3rem !important;
}
