/* 
    Created on : 2025. 1. 28., 오후 2:36:45
    Author     : atation
*/

.font_color_white {
  color: #fff;
}

.font_color-9 {
  color: var(--color-9);
}

.bg_color-9 {
  background-color: var(--color-9);
  border-color: var(--color-9);
}

.border_color-9{
  border-color: var(--color-9);
}

ul {
  list-style-type: none; /* 기본 점을 숨깁니다 */
  padding-left: 0; /* 기본 여백도 없애기 */
}
table.dataTable {
  clear: both;
  margin-top: .75rem !important;
  margin-bottom: .75rem !important;
  max-width: none !important;
  border-collapse: separate !important;
  border-spacing: 0
}


/* datepicker */
.ui-datepicker {
  z-index:100 !important;
}
.ui-widget.ui-widget-content {
  border: 0 !important;
  border-radius: 5px !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3) !important;
  padding: 0 !important;
  overflow: hidden;
  margin-top: 5px;
  width: 220px !important;
}
.ui-datepicker .ui-datepicker-header {
  border: 0 !important;
  border-radius: 0 !important;
  background-color: #333 !important;
  padding: 8px 50px !important;
  margin: 0 !important;
}
.ui-datepicker .ui-datepicker-title {
  margin: 0 !important;
  color: #FFF;
  font-size: 14px;
}
.ui-datepicker .ui-datepicker-title > span {
  font-size: 14px;
}
.ui-datepicker table {
  margin: 5px 0 !important;
}
.ui-datepicker td a {
  text-align: center !important;
  font-weight: 500 !important;
  border: 0 !important;
  background: none !important;
  font-size: 12px !important;
  color: #333 !important;
  border-radius: 3px;
  transition: background-color 0.2s;
}
.ui-datepicker td a:hover {
  background-color: #F2F2F2 !important;
}
.ui-datepicker td span {
  text-align: center !important;
  font-weight: 500 !important;
  border: 0 !important;
  background: none !important;
  font-size: 12px !important;
  color: #CCC !important;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight {
  background-color: #F2F2F2 !important;
}
.ui-state-active, .ui-widget-content .ui-state-active {
  color: #333 !important;
  font-weight: bold !important;
  background-color: #FFCC33 !important;
}
.ui-state-active:hover, .ui-widget-content .ui-state-active:hover {
  color: #333 !important;
  font-weight: bold !important;
  background-color: #FFCC33 !important;
}
.ui-datepicker th {
  font-size: 12px !important;
}

.ui-datepicker .ui-datepicker-next, .ui-datepicker .ui-datepicker-prev {
  cursor: pointer;
  width: 35px !important;
  height: 35px !important;
  line-height: 35px !important;
  text-align: center !important;
  top: -1px !important;
}
.ui-datepicker .ui-datepicker-next {
  right: 0 !important;
}
.ui-datepicker .ui-datepicker-next::after {
  content: "\f0a9";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #FFF;
  opacity: 0.2;
  transition: opacity 0.5s;
}
.ui-datepicker .ui-datepicker-next:hover::after {
  opacity: 1;
}
.ui-datepicker .ui-datepicker-next > span {
  display: none !important;
}

.ui-datepicker .ui-datepicker-prev {
  left: 0 !important;
}
.ui-datepicker .ui-datepicker-prev::after {
  content: "\f0a8";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #FFF;
  opacity: 0.2;
  transition: opacity 0.5s;
}
.ui-datepicker .ui-datepicker-prev:hover::after {
  opacity: 1;
}
.ui-datepicker .ui-datepicker-prev > span {
  display: none !important;
}

.ui-datepicker .ui-datepicker-next-hover {
  background-color: #333 !important;
  border: 0 !important;
  top: 0 !important;
  right: 0 !important;
}
.ui-datepicker .ui-datepicker-prev-hover {
  background-color: #333 !important;
  border: 0 !important;
  top: 0 !important;
  left: 0 !important;
}

.ui-datepicker select {
  border: none !important;
  background-color: #333 !important;
  font-weight: bold;
  color: #FFF !important;
  font-size: 15px !important;
  cursor: pointer !important;
  letter-spacing: -0.5px !important;
  margin: 0 !important;
  float: left;
  width: 50% !important;
}



table.dataTable td,table.dataTable th {
  -webkit-box-sizing: content-box;
  box-sizing: content-box
}

table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty {
  text-align: center
}

table.dataTable.nowrap th,table.dataTable.nowrap td {
  white-space: nowrap
}

div.dataTables_wrapper div.dataTables_length label {
  font-weight: normal;
  text-align: left;
  white-space: nowrap
}

div.dataTables_wrapper div.dataTables_length select {
  width: auto;
  display: inline-block
}

div.dataTables_wrapper div.dataTables_filter {
  text-align: right
}

div.dataTables_wrapper div.dataTables_filter label {
  font-weight: normal;
  white-space: nowrap;
  text-align: left
}

div.dataTables_wrapper div.dataTables_filter input {
  margin-left: 0.5em;
  display: inline-block;
  width: auto
}

div.dataTables_wrapper div.dataTables_info {
  padding-top: 0.85em;
  white-space: nowrap
}

div.dataTables_wrapper div.dataTables_paginate {
  margin: 0;
  white-space: nowrap;
  text-align: right
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  margin: 2px 0;
  white-space: nowrap;
  justify-content: flex-end
}

div.dataTables_wrapper div.dataTables_processing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  margin-top: -26px;
  text-align: center;
  padding: 1rem 0
}

table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting {
  padding-right: 30px
}

table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active {
  outline: none
}

table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled {
  cursor: pointer;
  position: relative
}

table.dataTable thead .sorting:before,table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:before,table.dataTable thead .sorting_desc_disabled:after {
  position: absolute;
  top: 50%;
  margin-top: -11px;
  display: block;
  opacity: 0.3
}

table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:before {
  right: 1.3rem;
  /*content: "\2191"*/
}

table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after {
  right: 0.5rem;
  /*content: "\2193"*/
}

table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:after {
  opacity: 1
}

table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:after {
  opacity: 0
}

div.dataTables_scrollHead table.dataTable {
  margin-bottom: 0 !important
}

div.dataTables_scrollBody table {
  border-top: none;
  margin-top: 0 !important;
  margin-bottom: 0 !important
}

div.dataTables_scrollBody table thead .sorting:before,div.dataTables_scrollBody table thead .sorting_asc:before,div.dataTables_scrollBody table thead .sorting_desc:before,div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after {
  display: none
}

div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td {
  border-top: none
}

div.dataTables_scrollFoot>.dataTables_scrollFootInner {
  box-sizing: content-box
}

div.dataTables_scrollFoot>.dataTables_scrollFootInner>table {
  margin-top: 0 !important;
  border-top: none
}

@media screen and (max-width: 767px) {
  div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate {
    text-align:left;
  }
}

table.dataTable.table-sm>thead>tr>th {
  padding-right: 20px;
  outline: none !important
}

table.dataTable.table-sm .sorting:before,table.dataTable.table-sm .sorting_asc:before,table.dataTable.table-sm .sorting_desc:before {
  top: 5px;
  right: 0.85rem
}

table.dataTable.table-sm .sorting:after,table.dataTable.table-sm .sorting_asc:after,table.dataTable.table-sm .sorting_desc:after {
  top: 5px
}

table.table-bordered.dataTable th,table.table-bordered.dataTable td {
  border-left-width: 0
}

table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child {
  border-right-width: 0
}

table.table-bordered.dataTable tbody th,table.table-bordered.dataTable tbody td {
  border-bottom-width: 0
}

div.dataTables_scrollHead table.table-bordered {
  border-bottom-width: 0
}

div.table-responsive>div.dataTables_wrapper>div.row {
  margin: 0
}

div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child {
  padding-left: 0
}

div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child {
  padding-right: 0
}

.table-lg th,.table-lg td {
  padding: 1.1rem .825rem
}

input[type="checkbox"].excel  {
  width:20px;
  height: 30px;
  border-radius: 2px;
  border: 1px;
  vertical-align: middle;
  cursor: pointer;
}

input[type="excel"] {
  font-size : 0.8rem;  
  width: 100%;
  height: 30px;
  margin :0;
  padding: 0;
  outline: 0;
  border: 1px solid var(--color-3);
  font-size: 0.9rem;
  color: var(--color-9);
  background-color: var(--color-1);
  vertical-align: middle;
}

input[type="excelResult"] {
  width: 100%;
  height: 30px;
  margin :0;
  padding: 0;
  outline: 0;
  border: 0;
  font-size: 0.9rem;
  color: var(--color-9);
  background-color: transparent;
  vertical-align: middle;
}


.excelGridPadding {
  padding: 1px !important;
}

  /* 페이지 전체를 덮는 오버레이와 로딩 메시지 */
  #overlay {
    position: fixed;  /* 페이지에 고정 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);  /* 반투명 배경 */
    display: flex; /* Flexbox로 자식 요소를 중앙 정렬 */
    justify-content: center; /* 수평 중앙 정렬 */
    align-items: center; /* 수직 중앙 정렬 */
    z-index: 9999; /* 가장 위에 표시 */
    display:none;
  }

  /* 로딩 메시지 */
  #loader {
    width: 100%;
    height: 100%;
    display: flex; /* Flexbox로 아이템들을 정렬 */
    flex-direction: column; /* 수직 방향으로 배치 */
    justify-content: center; /* 세로로 중앙 정렬 */
    align-items: center; /* 가로로 중앙 정렬 */
    color: white;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
  }



/*전송중일때 쓰는 애니매이션 신호등*/

.transferring {
  position: relative;
  width: 30px;
  height: 30px;
}
.transferring div {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color-9); /* 고정된 색상 */
  opacity: 0;
  animation: transferring 1.5s infinite ease-in-out;
  text-align: center;
}

.transferring div:nth-child(2) {
  animation-delay: 0.2s;
}

.transferring div:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes transferring {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  5% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.transferred {
  position: relative;
  width: 30px;
  height: 30px;
  text-align: center;
}

.transferred div {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #cc0033;
}

.success_sign div {
  background-color: #0000cc; /* 파란색 */
}
.fail_sign div {
  background-color: #cc0033; /* 고정 빨간색 */
}

.error_sign div {
  background-color: #333333; /* 고정 빨간색 */
}


.categoryTD {
  background-color: var(--color-9) !important;
  color: var(--color-1) !important;
  --bs-table-hover-bg : var(--color-9);
}


/*말줄임 및 아래에 보여주기*/
td.ellipsis{
  font-size : 0.8rem;
  position: relative;
  width: 150px;
}

div.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 120px; /*10글자까지는 보여줌*/
}

div.ellipsis-text {
  font-size : 0.8rem;
  display: none;
  position: absolute;
  white-space: normal;
  background: #fff;
  border: 1px solid #ccc;
  padding: 4px 4px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  width: max-content;
  max-width: 200px;
}

div.ellipsis:hover div.ellipsis-text {
  display: block;
  border-radius: 4px;
  top: 0;
  left: 0;
}


.SMS {
  position: relative;
  font-size : 0.9rem;
  border-radius: 4px;
  padding: 4px 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  width: max-content;
  max-width: 220px;
}

.SMS_TOOLTIP {
  font-size : 0.9rem;
  display: none;
  position: absolute;
  padding: 4px 4px;
  white-space: pre;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  width: max-content;
  max-width: 210px;
}


.SMS_TOOLTIP_SEND  {
  color : var(--color-1);
  background: var(--color-9);
  border: 1px solid var(--color-3);
}

.SMS_TOOLTIP_RECEIVE  {
  color : var(--color-9);
  background: var(--color-1);
  border: 1px solid var(--color-3);
}


.SMS:hover .SMS_TOOLTIP {
  display: block;
  border-radius: 8px;
  top: 0;
  left: 0px;
}

.SMS_RECEIVE {  
  color : var(--color-1);
  background: var(--color-9);
  border: 1px solid var(--color-9);
}

.SMS_SEND {  
  float: right;
  color : var(--color-9);
  background: var(--color-1);
  border: 1px solid var(--color-3);
}


/*coupang Inner Table*/
/*coupang Inner Table*/
/*coupang Inner Table*/
/*coupang Inner Table*/

table.coupang {
        border-collapse: collapse;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        border-radius: 8px;
        box-shadow: 4px 4px 10px var(--color-5);
        table-layout: fixed;
    }
table.coupang th, table.coupang td {
        border: 1px solid var(--color-6);
        padding: 4px 8px;
        text-align: right;
    }
table.coupang th {
    background-color: var(--color-2);
    text-align: center;
}

table.coupang .title {
    background-color: var(--color-2);
    text-align: left;
}
table.coupang  .sum-row {
    font-weight: bold;
    background-color: var(--color-2);
}
