/* css 공통화 */

/* ==================================================== */
/*                     layout                           */
/* ==================================================== */
.container {
  max-width: none !important;
  width: auto;
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: var(--color-white);
}

main {
  min-height: calc(100% - 213px);
}

/* breadcrumb가 없는 레이아웃은 세로 가운데 정렬 */
main:not(:has(.breadcrumb-wrap)) {
  align-content: center;
}

.utility-content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 720px;
  margin: 120px auto 0;
}

.content-container,
.pannel-container {
  padding: 0 120px 40px;
}

/* 팝업 내 pannel-container는 padding 0 적용 (레이아웃 무너짐 방지) */
.popup-container.pannel-container {
  padding: 0;
}

.pannel-container {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
}

.pannel-container .tree-container .table-header .btn-group {
    display: flex;
    height: 32px;
}

/* 요소간 간격 */
.widget+.widget {
    margin-top: 24px;
}

/* pagination이 있는 그리드 */
.grid-pagnation {
  display: flex;
  flex-direction: column;
}

/* ======================================================================== */


.auto-width {
  width: 100%;
}


/* ==================================================== */
/*                     header                           */
/* ==================================================== */
.header-wrapper,
nav {
  padding: 0 120px;
  border-bottom: 1px solid var(--grey-100);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-wrapper .logo-box img {
  width: 160px;
  height: 26px;
}

.header-wrapper .info-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
}

.header-wrapper .info-box label,
.header-wrapper .info-box span {
  color: var(--grey-600);
  font-size: 16px;
}

.header-wrapper .info-box>form {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-wrapper .info-box>form select.form-control {
  width: 100px;
}

.header-wrapper .info-box>a {
  text-decoration: none;
}

nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

/* 서브 메뉴 드롭다운의 뒷배경 */
.nav-dropdown {
  position: absolute;
  top: 48px;
  left: 0;
  display: none;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.nav-dropdown.show {
  display: block;
}

nav ul {
  display: flex;
}

nav ul>li {
  box-sizing: border-box;
  position: relative;
  width: 140px;
  padding: 8px 0;
  text-align: center;
}

nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-weight: 500;
  font-size: 19px;
  color: var(--text-strong);
  white-space: nowrap;
}

nav ul>li.active>a {
  color: var(--lx-primary-light-red);
}

nav ul>li:hover>a {
  color: var(--lx-primary-light-red);
}

/* 서브메뉴 스타일 */
nav ul.submenu>li {
  padding: 10px 8px;
}

nav ul.submenu>li:first-of-type {
  border-top: 1px solid var(--lx-primary-light-red);
  margin-top: -4px;
}

.submenu {
  display: none;
  position: absolute;
  top: 27px;
  left: 0;
  background-color: #fff;
  z-index: 10;
  width: 140px;
  height: auto;
  padding-top: 18px;
}

nav ul>li:hover .submenu {
  display: block;
}

nav ul>li:hover .submenu>li>a {
  font-size: 16px;
  color: var(--grey-800);
}

nav ul>li:hover .submenu>li:hover>a {
  text-decoration: solid underline var(--grey-500);
}

/* ==================================================== */
/*            header nav tab                            */
/* ==================================================== */
.nav-tabs {
  margin-bottom: 12px;
  padding: 0 0 37px 10px;
  border-bottom: 1px solid var(--table-header-border);
}

*+.nav-tabs {
  margin-top: 10px;
}

.nav-tabs>li {
  float: left;
  margin-bottom: -1px;
}

.nav-tabs>li>a {
  position: relative;
  display: block;
  padding: 10px 32px;
  margin: 0 !important;
  background: var(--grey-50);
  border-radius: 0;
  border: solid var(--table-header-border);
  border-width: 1px 1px 0 1px;
  color: var(--primary-font-light);
  text-decoration: none;
}

.nav-tabs>li.active>a {
  color: var(--lx-primary-light-red) !important;
  cursor: pointer !important;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus {
  color: var(--grey-800);
  background-color: var(--color-white);
  border: 1px solid var(--table-header-border);
  border-bottom-color: transparent;
  cursor: default;
}

.nav-tabs>li+li>a {
  border-left: none !important;
}


/* ==================================================== */
/*                     header search                    */
/* ==================================================== */
header .search-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

header #searchInput {
  width: 0;
  height: 28px;
  border-color: var(--color-white) !important;
  transition: ease-out 0.3s;
}

header #searchInput.show {
  width: 100%;
  padding-left: 8px;
  border-color: var(--input-border-strong) !important;
}

header #searchBtn {
  margin-left: 8px;
  padding: 6px;
  background-color: var(--color-white);
}

header #searchBtn::before {
  content: '';
  display: inline-block;
  background: url('/asset/image/icon/search.svg') no-repeat center center;
  width: 20px;
  height: 20px;
}


/* ==================================================== */
/*                     button                           */
/* ==================================================== */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background-color: var(--color-white);
  border: 1px solid var(--button-line-border);
  border-radius: 3px;
  color: var(--button-text);
  font-family: 'NotoSans';
  font-weight: 700;
  font-size: 14px;
  line-height: inherit;
}

.btn-large {
  gap: 4px;
  height: 42px !important;
  padding: 8px 48px !important;
  font-size: 15px;
}

.btn-primary {
  background-color: var(--button-primary-bg);
  border-color: var(--button-primary-border);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--text-light);
}

.btn-primary::before {
    filter: brightness(100);
}

.btn-secondary::before {
   /* filter: brightness(0.4);*/
}

/* todo:: 해당 css 제거하고, btn-secondary 클래스 붙여주기 */
/*
.btn-cancel,
.btn-remove,
.btn-list,
.btn-edit,
.btn-logout,
.btn-delete {
  background-color: transparent;
  border: 1px solid var(--button-dark-border);
  color: var(--text-light);
}
*/

.btn-logout {
  gap: 5px;
  font-weight: 500;
}

.btn-dark,
.search-content .btn-group .btn-search {
  background-color: var(--button-dark-bg) !important;
  border-color: var(--button-dark-border) !important;
  color: var(--color-white) !important;
}

.btn-dark img,
.btn-dark::before,
.search-content .btn-group .btn-search img,
.search-content .btn-group .btn-search::before {
  filter: brightness(10);
}

.btn-none-style {
  background-color: transparent;
  border: none;
}

.btn-add::before,
.btn-delete:before,
.btn-remove:before,
.btn-save:before,
.btn-list::before,
.btn:not(:has(img))::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: auto;
  vertical-align: -3px;
}

.btn-edit::before,
.btn-list::before {
  margin-right: 2px;
}

.btn-cancel::before,
#btn-signIn::before,
#btn-order-tracking::before,
.btn-close::before,
.btn-img-none::before {
  content: none !important;
}

.btn-search::before {
  background: url('/asset/image/icon/search.svg') no-repeat center center;
}

.btn-add::before {
  background: url('/asset/image/icon/plus-icon.svg') no-repeat center center;
}

.btn-delete::before,
.btn-remove::before {
  background: url('/asset/image/icon/trash.svg') no-repeat center center;
}

.btn-list::before {
  background: url('/asset/image/icon/list.svg') no-repeat center center;
}

.btn-create::before,
.btn-edit::before {
  background: url('/asset/image/icon/edit.svg') no-repeat center center;
}

.btn-save::before {
  background: url('/asset/image/icon/check.svg') no-repeat center center;
}

.btn-download::before {
    background: url('/asset/image/icon/download.svg') no-repeat center center;
}
.btn-upload::before {
    background: url('/asset/image/icon/upload.svg') no-repeat center center;
}

.btn-modal-close::before {
    background: url('/asset/image/icon/close.svg') no-repeat center center;
}

.btn-reset::before {
  background: url('/asset/image/icon/reset.svg') no-repeat center center;
}

.btn-del-row::before {
  background: url('/asset/image/icon/minus-icon.svg') no-repeat center center;
}

.btn.btn-large:not(:has(img))::before {
  width: 20px;
  height: 20px;
}

.btn.btn-large img {
  width: 20px;
  height: 20px;
}

/* button group */
.widget-buttons {
  width: 100%;
  height: 36px;
  margin-top: 18px;
}

.widget-buttons .btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.widget-buttons .btn-group .btn {
  height: 100%;
}

/* 버튼간 간격 */
.btn-group+.btn-group {
  padding-left: 10px;
  margin-left: 10px;
}

.btn-group .btn+.btn,
.btn-group .btn+.btn-group,
.btn-group .btn-group+.btn,
.btn-group .btn-group+.btn-group {
  margin-left: 4px;
}

/* tag */
.tag {
  display: inline-block;
  padding: 4px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
}

.tag.tag-success {
  color: var(--tag-text-success);
  border: 1px solid var(--tag-border-success);
  background-color: var(--tag-bg-success);
}

.tag.tag-error {
  color: var(--tag-text-error);
  border: 1px solid var(--tag-border-error);
  background-color: var(--tag-bg-error);
}


/* ==================================================== */
/*          input, select, area, datepicker             */
/* ==================================================== */
input,
select,
textarea {
  display: inline-block;
  height: 32px;
  padding: 8px;
  box-shadow: none;
  border-radius: 2px;
  border: 1px solid var(--input-border-strong);
  font-family: 'NotoSans';
  font-size: 14px;
  color: var(--text-strong);

  &:placeholder {
    color: var(--input-placeholder);
  }
}

select {
  max-width: 300px;
  width: 100%;
  padding: 3px 1px 4px 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

textarea {
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  padding: 8px;
  resize: vertical;
}

input:not([type="date"]) {
  width: 100%;
  max-width: 300px;
}

/* login input style */
input#userId,
input#password,
input#userIdInput {
  max-width: 100%;
  height: auto;
  padding: 16px 15px;
  border: 1px solid var(--input-border);
  outline: none !important;
}

/* datepicker style */
input[type="date"] {
  position: relative;
  padding-left: 28px;
  padding-right: 10px;
  background: url('/asset/image/icon/datepicker-icon.svg') var(--color-white) no-repeat 8px center;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

/* group datepicker style */
.date-group {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 300px;
}

.date-group input[type="date"] {
  width: 100%;
}

/* ===================================================================== */
/*     input, select, textarea, input, select readonly, dsiabled style   */
/* ===================================================================== */
input[readonly],
input[disabled],
input[type="date"][readonly],
input[type="date"][disabled],
textarea[readonly],
textarea[disabled],
select[readonly],
select[disabled] {
  background-color: var(--grey-50);
  color: var(--text-strong);
}

input[disabled],
input[type="date"][disabled],
textarea[disabled],
select[disabled] {
  color: var(--text-basic);
}

/* radio, checkbox disabled style */
input[type="radio"][disabled]~label,
input[type="checkbox"][disabled]~label,
input[type="checkbox"][disabled]:checked+label,
input[type="radio"][disabled]:checked+label {
  opacity: 0.6;
}

/* readonly cursor style */
input[type="date"][readonly],
input[type="radio"][readonly]~label,
input[type="checkbox"][readonly]~label,
input[type="checkbox"][readonly]:checked+label,
input[type="radio"][readonly]:checked+label {
  pointer-events: none;
}

/* disabled cursor style */
input[type="date"][disabled],
input[disabled]:checked+label,
input[disabled]:checked+label,
input[disabled]~label,
input[disabled]~label,
textarea[disabled],
select[disabled] {
  cursor: not-allowed;
}

.avoid-search-icon {
    padding-right: 27px !important;
}

.txt-center {
  text-align: center !important;
}

.txt-left {
  text-align: left !important;
}

.txt-right {
  text-align: right !important;
}

/* ===================================================================== */
/*      form-inline -> input과 button이 한 td에 존재할 경우 적용       */
/* ===================================================================== */
.form-inline>label {
  position: relative;
  width: 100%;
  max-width: 300px;
}

/* input 내부 버튼 */
.form-inline>label>button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: transparent;
  padding: 0;
}

.form-inline>label>button::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('/asset/image/icon/search.svg') no-repeat center center;
  background-size: contain;
}


/* ==================================================== */
/*                 checkbox + label                     */
/* ==================================================== */
.chk-wrap {
  display: flex;
  align-items: center;
  padding: 2px 0;
}

th .chk-wrap,
td .chk-wrap {
  justify-content: center;
}

.input-chk {
  display: none;
}

.input-chk+label:first-of-type {
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid var(--input-border-strong);
  border-radius: 2px;
  background: var(--color-white);
}

.input-chk:checked+label {
  background: url('/asset/image/icon/login-check.svg') var(--color-white) no-repeat center center;
}

.input-chk.grid-chk+label:first-of-type {
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--grey-400);
  border-radius: 2px;
  background: var(--color-white);
}

.input-chk.grid-chk:checked+label {
  border: none;
  background: url('/asset/image/icon/grid-check.svg') no-repeat center center;
}

.input-chk~label {
  color: var(--text-strong);
  font-size: 13px;
  font-family: NotoSans;
  font-weight: 400;
  cursor: pointer;
}

.input-chk~label+label {
  margin-left: 8px;
}

/* radio style */
.input-chk[type='radio']+label {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--input-border-strong);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
}

/* radio checked style */
.input-chk[type='radio']:checked+label {
  background: none;
  background-color: var(--color-white);
  border: 3px solid var(--lx-primary-light-red);
}

/* group radio, check style */
.double-check-wrap {
  display: flex;
}

.double-check-wrap .chk-wrap+.chk-wrap {
  margin-left: 10px;
}

/*텍스트 Input fovus, disabled, readonly 스타일 추가*/
input:focus,
select.form-control:focus {
  border: 1px solid var(--lg-primary-grey) !important;
  box-shadow: none !important;
}

/* ==================================================== */
/*                     breadcrumb                       */
/* ==================================================== */
.breadcrumb-wrap {
  display: flex;
  justify-content: space-between;
  margin: 0 120px 12px;
  padding: 14px 0 6px;
  border-bottom: 1px solid var(--grey-100);
}

.breadcrumb-wrap .breadcrumb-title {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-strong);
}

.breadcrumb-wrap .breadcrumb-list {
  display: flex;
}

.breadcrumb-wrap.accordion {
  align-items: center;
  margin-top: 9px;
}

/* breadcrumb list */
.breadcrumb-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.breadcrumb-list li a {
  text-decoration: none;
  color: var(--gnb-sub-text);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb-list li:first-of-type a {
  content: '';
  display: inline-block;
  background: url('/asset/image/icon/breadcrumb-home.svg') no-repeat center center;
  width: 17px;
  height: 19px;
  margin: 0 8px;
}

.breadcrumb-list li:last-of-type a {
  color: var(--gnb-text-longinfo);
}

.breadcrumb-list li+li::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 2px;
  height: 2px;
  margin: 0 8px;
  border-radius: 50%;
  background-color: var(--gnb-sub-text);
}

/* ==================================================== */
/*                 search area                          */
/* ==================================================== */
.search-content {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 16px;
  margin-bottom: 12px;
  border: 1px solid var(--table-header-border);
  border-radius: 8px;
  background-color: var(--grey-50);
}

.search-content table {
  border-spacing: 8px;
}

.search-content table tbody th {
  text-align: right;
  font-weight: 700;
  font-size: 14px;
}

.search-content table tbody th,
.search-content table tbody td {
  height: 34px;
  vertical-align: middle;
}

.search-content .btn-group {
  display: flex;
  padding-bottom: 9px;
}

.search-content .btn-group .btn {
  height: 32px;
}



/* ==================================================== */
/*                   table reset                        */
/* ==================================================== */
.detailTable>table,
.headerTable>table,
.search table,
.table {
  width: 100%;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
  padding: 4px 8px;
  vertical-align: middle;
  border-bottom: 1px solid var(--table-cell-border);
  color: var(--table-cell-text);
  font-size: 14px;
}

.table>tbody>tr:first-of-type>td,
.table>tbody>tr:first-of-type>th,
.table>tfoot>tr:first-of-type>td,
.table>tfoot>tr:first-of-type>th,
.table>thead>tr:first-of-type>td,
.table>thead>tr:first-of-type>th {
  border-top: 1px solid var(--table-cell-border);
}

.table>tbody>tr>th {
  height: 37px;
  color: var(--table-header-text);
}


/* ==================================================== */
/*     listT (rui grid와 동일한 디자인을 가진 테이블)     */
/* ==================================================== */
.listT {
  width: 100%;
}

.listT th,
.listT td {
  font-size: 14px;
}

.listT~.btn-group {
  margin-top: 4px;
}

.listT tr {
  cursor: pointer;
}

.listT tr:hover {
  background-color: var(--table-hover);
}

.listT tr:has(.editable-td) td {
  height: 36px;
  padding: 0;
}

.listT th {
  height: 36px;
  padding: 8px 6px;
  vertical-align: middle;
  border-top: 1px solid var(--table-header-border);
  border-right: 1px solid var(--table-header-border);
  background-color: var(--table-header-bg);
  text-align: center;
  color: var(--table-header-text);
}

.listT th:last-of-type {
  border-right: none;
}

.listT td {
  overflow: hidden;
  height: 28px;
  padding: 4px 6px;
  vertical-align: middle;
  border: 1px solid var(--table-cell-border);
  border-width: 1px 1px 0 0;
  word-break: break-all;
  text-overflow: ellipsis;
  text-align: center;
  white-space: nowrap;
  color: var(--table-cell-text);
}

.listT tr:last-of-type td {
  border-width: 1px 1px 1px 0;
}

.listT td:last-of-type {
  border-right: none !important;
}


/* td에 link text가 있을 경우 */
.listT td>a {
  text-decoration: underline;
  color: var(--table-cell-text);
}

/* td에 filedownload가 있을 경우 */
.listT td>a.file-download {
  display: inline-block;
  width: 16px;
  height: 15px;
}

.listT td>a.file-download::before {
  content: '';
  display: inline-block;
  width: 100%;
  height: 100%;
  background: url('/asset/image/icon/file-icon.svg') no-repeat center center;
}

/* td에 check box가 있을 경우 (마지막 줄에 체크박스는 border-bottom 없애서 정렬 맞추기) */
.listT td:not(:last-of-type):has(.input-chk) {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: none !important;
}

.listT tr:last-of-type:has(.input-chk) {
  border-bottom: 1px solid var(--table-cell-border) !important;
}


/* ==================================================== */
/*       detailTable (상세조회/입력을 위한 테이블)        */
/* ==================================================== */
.detailTable th {
  text-align: right;
  background: var(--table-header-bg);
  font-weight: bold;
}

.detailTable td {
  background: var(--color-white);
}

.detailTable td.text-red {
  color: var(--lx-primary-light-red);
}

.headerTable th {
  text-align: center;
  background: var(--table-header-bg);
  font-weight: bold;
}

.editable-td {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
  padding: 0;
}

.txt-left .editable-td {
  justify-content: flex-start;
}

.txt-right .editable-td {
  justify-content: flex-end;
}

/* table header */
.table-header {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  padding: 2px 0;
}

.table-header select {
  width: 120px;
}

.table-header .table-title span:not(.table-length) {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-strong);
}

.table-header .table-title span+span {
  margin-left: 8px;
}

.table-header .table-title .table-length {
  font-weight: 400;
  font-size: 14px;
}

.table-header:has(.btn-group) {
  justify-content: space-between;
  margin-top: 12px;
}

.pannel-container .table-header:has(.btn-group) {
  margin: 0 0 4px 0 !important;
}

.table-header .btn-group:has(.chk-wrap) {
  display: flex;
}

.table-header .btn-group .chk-wrap {
  margin-right: 12px;
}

.table-length {
  color: var(--text-strong);
  font-weight: 700;
}

.table-length>em {
  color: var(--lx-primary-light-red);
  margin-left: 4px;
}

/* ==================================================== */
/*                    required 표시                     */
/* ==================================================== */
.form-asterisk {
  color: var(--lx-primary-light-red);
  margin-right: 4px;
}

/* ==================================================== */
/*                    말줄임표처리                      */
/* ==================================================== */
.txtLine {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================================================== */
/*          td에 들어가는 하늘색 배경 텍스트 박스          */
/* ==================================================== */
.widget-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  height: auto;
  margin-top: 8px;
  padding: 16px;
  border-radius: 3px;
  background-color: #F1FBFC;
}

.widget-info .info-icon {
  width: auto;
  height: auto;
}

.widget-info .info-icon::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('/asset/image/icon/grey-info-icon.svg') no-repeat center center;
  background-size: contain;
}

.widget-info .info-text {
  font-size: 13px;
  color: var(--text-strong);
  line-height: 20px;
}

/* ==================================================== */
/*                 file attach                          */
/* ==================================================== */
.fileAttach {
  height: 80px!important;
  text-align: center;
  background: url('/asset/image/icon/file-icon.svg') var(--color-white) no-repeat center 20px;
  background-size: 26px 25px;
  border: 1px dashed var(--table-cell-border);
}

.fileAttach p {
  padding-top: 35px;
  font-size: 14px;
  font-weight: 400;
  color: var(--input-placeholder);
}

.fileAttachList {
  font-size: 14px;
  margin: 0px;
  padding: 5px;
  border: 1px dashed var(--table-cell-border);
}

.fileAttachList ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fileAttachList ul li {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  height: 28px;
  border: 1px solid var(--input-border);
  border-radius: 3px;
  background: var(--color-white);
  font-size: 14px;
  color: var(--table-cell-text);
}

.fileAttachList ul li#noFilesMessage {
    line-height: 25px;
    padding : 0 5px;
}

.fileAttachList ul li:has(button) {
  padding-right: 36px;
}

.fileAttachList ul li a {
  color: var(--lx-primary-sky);
  text-decoration: none;
  margin: 0;
}

.fileAttachList ul li > p {
  width: 100%;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 28px;
}

.fileAttachList li > span {
  margin-right: 16px;
  white-space: nowrap;
}

.fileAdd-single-delete,
.fileAttachList li button.delete,
.tagAttachList li button.delete {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 11px;
  height: 11px;
  background: url("/asset/image/icon/delete-icon.svg") no-repeat center;
}

/* ==================================================== */
/*                       tab                            */
/* ==================================================== */
.tab-content>.tab-pane {
  visibility: hidden !important;
  display: block !important;
  width: 0px;
  height: 0;
  opacity: 0;
}

.tab-content>.tab-pane.active {
  visibility: visible !important;
  display: block !important;
  width: auto;
  height: auto;
  opacity: 1;
}

.tab-content>.tab-pane table,
.tab-content>.tab-pane div {
  height: 0;
  font-size: 0;
}

.tab-content>.tab-pane.active table {
  height: auto;
  font-size: 1em;
}

.tab-content>.tab-pane.active div {
  height: auto;
  font-size: 1em;
}

/* ==================================================== */
/*                      accordion                       */
/* ==================================================== */
.accordion {
  border-bottom: 1px solid #c3c3c3;
  margin-bottom: 0;
}

.accordion:first-child {
  border-top: 1px solid #c3c3c3;
}

.accordion>[data-toggle="collapse"] {
  position: relative;
  font-size: 14px;
  font-weight: bold;
  padding-left: 20px;
  height: 34px;
  line-height: 34px;
  /*background: blue;*/
}

.accordion>[data-toggle="collapse"] a {
  display: block;
}

.accordion>[data-toggle="collapse"]>a:after {
  content: '';
  position: absolute;
  top: 7px;
  right: 20px;
  border: 1px solid #d8d8d8;
  width: 20px;
  height: 20px;
  background: url(/images/accordion-arrow.png) 4px 7px no-repeat;
}

.accordion>[data-toggle="collapse"]>a.rotate180:after {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.accordion>[data-toggle="collapse"]+.collapse {
  padding-bottom: 10px;
}

.accordion-btn {
  background-color: transparent;
  padding: 0;
  width: 28px;
  height: 28px;

  &::before {
      content: '';
      display: inline-block;
      background: url('/asset/image/icon/accordion-folded.svg') center center no-repeat;
      width: 28px;
      height: 28px;
  }
}

.accordion-btn.folded {
  background-color: transparent;
  padding: 0;
  width: 28px;
  height: 28px;

  &::before {
      content: '';
      display: inline-block;
      background: url('/asset/image/icon/accordion.svg') center center no-repeat;
      width: 28px;
      height: 28px;
  }
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* accordion tabs */
.accordion.tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
}

.accordion.tabs>.nav.nav-tabs {
  display: flex;
  width: 100%;
  padding: 0 0 0 10px;
}

.accordion.tabs>.nav.nav-tabs>div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  width: 100%;
}

.search+.tab-content {
  margin-top: 12px;
}


/* ==================================================== */
/*                     pagination                       */
/* ==================================================== */
#pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 0;
  margin-top: 12px;
}

#pagination button[class*='pg-btn']::before {
  content: '';
  display: inline-block;
  background-repeat: no-repeat;
  width: 28px;
  height: 28px;
}

#pagination button[class*='btn-none-style']::before {
  content: none;
}

#pagination .pg-btn-left::before {
  background: url('/asset/image/icon/pagination-left.svg');
}

#pagination .pg-btn-end-left::before {
  background: url('/asset/image/icon/pagination-end-left.svg');
}

#pagination .pg-btn-right::before {
  background: url('/asset/image/icon/pagination-right.svg');
}

#pagination .pg-btn-end-right::before {
  background: url('/asset/image/icon/pagination-end-right.svg');
}

#pagination button {
  width: 28px;
  height: 28px;
  justify-content: center;
  box-shadow: none;
  background-color: #fff;
}

#pagination button span {
  font-size: 14px;
}

#pagination button.active span {
  color: var(--lx-primary-light-red);
}

#pagination button:hover span {
  text-decoration: underline solid var(--lx-primary-light-red);
}

#pagination button.active {
  color: var(--lx-primary-light-red);
  text-decoration: underline solid var(--lx-primary-light-red);
}

#pagination button:disabled {
  opacity: 0.3;
  cursor: default;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 24px;
  row-gap: 40px;
  padding: 60px 120px;
}

.grid-container.grid-main {
  grid-template-rows: 1fr;
}

.content-container .grid-container {
  grid-template-rows: 1fr;
  padding: 0;
  row-gap: 0;
  column-gap: 24px;
}

.grid-container .grid-item .grid-title-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.grid-container .grid-item .grid-title-wrap .grid-title-group {
  position: relative;
  display: flex;
  gap: 60px;
}

.grid-container .grid-item:first-of-type .grid-title-wrap .grid-title {
  cursor: pointer;
}

.grid-container .grid-item .grid-title-wrap .grid-title-group .grid-title::before {
  cursor: default;
}

.grid-container .grid-item .grid-title-wrap .grid-title-group .grid-title ~ .grid-title::before {
  content: '';
  position: absolute;
  top: 4px;
  left: calc(50% + 35px);
  display: inline-block;
  width: 3px;
  height: 28px;
  background-color: var(--text-strong);
}

.grid-container .grid-item .grid-title-wrap .grid-title {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.7px;
  color: var(--text-strong);
}

#grid-btn {
  width: 32px;
  height: 32px;
  padding: 0;
}

#grid-btn::before {
  content: '';
  display: inline-block;
  background: url('/asset/image/icon/right-arrow.svg') no-repeat center center;
  width: 100%;
  height: 100%;
}

/* 메인 페이지 내 그리드 우측 하단 버튼 박스 스타일 */
.grid-container.grid-main .grid-box-list {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  grid-column: 1 / -1;
}

.grid-container.grid-main .grid-box-list a {
  display: block;
  text-decoration: none;
  color: var(--button-text-grey);
  font-size: 14px;
}

.grid-container.grid-main .grid-box-list a li {
  position: relative;
  padding: 15px 56px 12px 68px;
  border: 1px solid var(--button-dark-border);
}

.grid-container.grid-main .grid-box-list a li::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 10px;
  display: inline-block;
  background: url('/asset/image/icon/icon_do_01.png') no-repeat center center;
  width: 41px;
  height: 29px;
}

.grid-container.grid-main .grid-box-list a li p:last-of-type {
  margin-top: 28px;
}

.grid-container.grid-main .grid-box-list a li .count {
  position: absolute;
  right: 15px;
  bottom: 7px;
  font-size: 30px;
  font-weight: 500;
  color: var(--text-strong);
}


/* ↘↘↘↘↘↘↘↘↘↘↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↙↙↙↙↙↙↙↙ */
/*                pop up 정리 필요                     */
/*    commonLayerPopup 클래스 사용으로 임시로 킵해둠     */
/*↗↗↗↗↗↗↗↗↗↗↗↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↖↖↖↖↖↖↖ */
.modal-close {
  background-color: transparent;
  width: 28px;
  height: 28px;
  border: none;
}

.popup .editable-td .form-inline:not(:has(.date)) input,
.popup .form-inline:not(:has(.date)) input {
  width: 100%;
}

.popup .form-inline:not(:has(.date)) input {
  min-width: auto;
}

.popup-title.dot.title-modal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 16px 24px 24px;
}

.popup.popup-s.modal.small {
  padding: 0;
  height: 118px;
}

.popup.popup-m.modal.medium {
  padding: 0;
  height: fit-content;

  & .popup-content {
    padding: 12px 24px 24px 24px;
    text-align: center;
    gap: 12px;
    font-size: 12px;
    color: #666666;
    line-height: 18px;

    & span {
      color: #B93D40;
      font-size: 19px;
      font-weight: 600;
      line-height: 24.7px;
      margin: 0 4px;
    }
  }
}

#popupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  width: 400px;
  padding: 24px;
  border: 1px solid var(--table-header-border);
  border-radius: 3px;
  background-color: white;
  z-index: 1001;
}

.main-popup.popup {
  padding: 34px;
  border-radius: 10px;
}

.popup-s {
  width: 400px;
}

.popup-m {
  width: 1000px;
}

.popup-l {
  width: 1400px;
  max-height: 780px;
}

.popup .popup-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 24px;
}

.popup.alert .popup-title {
  justify-content: flex-start;
}

.popup .popup-title h2 {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .3px;
  color: var(--text-strong);
}

.popup .popup-title.dot h2::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  vertical-align: 3px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: var(--lx-primary-light-red);
}

.popup .popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.popup .popup-content.no-gap {
  gap: 0;
}

.popup .popup-content>.btn-group .btn+.btn {
  margin-left: 4px;
}

.popup.alert .popup-content {
  gap: 32px;
}

.popup .popup-cotnent p {
  color: var(--lx-primary-light-red);
  font-size: 14px;
  text-align: center;
}

.popup .popup-content .btn-group .btn {
  padding: 10px 32px;
}

.popup .popup-content table .btn {
  flex: 1;
  padding: 9px 6px;
  font-size: 12px;
  white-space: nowrap;
}

.main-popup.popup .effective-date {
  width: 100%;
  font-size: 14px;
  text-align: end;
}

.main-popup.popup .popup-title {
    padding-bottom: 12px;
}

.main-popup.popup .popup-title h2 {
    font-size: 22px;
}

.main-popup.popup .popup-content {
  align-items: start;
  gap: 0;
  font-size: 16px;
  color: #666666;
  line-height: 18px;
}

.main-popup.popup .popup-content p:nth-of-type(2) {
  line-height: 22px;
}

.main-popup.popup .popup-content .btn-group {
  width: 100%;
  display: flex;
  justify-content: end;
  gap: 8px;
  margin-top: 12px;
}

.main-popup.popup .popup-content .btn-group .btn {
  padding: 8px;
  font-size: 13px;
}

/* ==================================================== */
/*                     footer                           */
/* ==================================================== */
footer {
  width: 100%;
  padding: 24px 0;
  border-top: 1px solid var(--grey-200);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-basic);
  font-size: 14px;
}

.footer-content>a>img {
  height: 24px;
}

.footer-links-wrap>p {
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-links a {
  margin: 0 15px;
  color: var(--grey-500);
  text-decoration: none;
}

.footer-links a+a {
  margin-left: 0;
}

.footer-links a+a::before {
  content: '';
  display: inline-block;
  height: 10px;
  vertical-align: middle;
  border-right: 1px solid var(--grey-500);
  margin-right: 15px;
}

.footer-links a:hover {
  color: var(--grey-700);
}

.footer-logo-links {
  margin-left: 30px;
}


/* ===============================반응형================================ */
/* media query */
@media (max-width: 1400px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
}

/* 분기점 */
@media (max-width: 1024px) {

  .header-wrapper,
  nav {
    padding: 0 40px;
  }

  .thumb-content {
    padding: 0 40px;
  }

  .grid-container {
    grid-template-columns: 1fr;
    padding: 60px 40px;
  }

  .search-wrap {
    position: absolute;
    top: -55px;
    right: 450px;
  }
}







/* ============================================================================================== */
/*                                공통으로 사용되지 않는 소스                                       */
/* ============================================================================================== */
/* ============== 메인 =================== */
.thumb-container {
  position: relative;
  width: 100%;
  height: 360px;
  background: url('/asset/image/main_background.png') no-repeat center center;
  background-size: cover;
}

.thumb-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 120px;
}

.thumb-content h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 60px;
  letter-spacing: -1px;
  color: var(--color-white);
}

.thumb-content p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 29px;
  letter-spacing: .3px;
  color: var(--gnb-sub-text);
}

.thumb-content p a {
  text-decoration: underline;
  text-decoration-color: var(--lx-primary-sky);
  color: var(--lx-primary-sky);
  font-weight: 600;
}

/* ================ 로그인 ====================== */
#login-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url('/asset/image/login_background.jpg') no-repeat center center;
  background-size: cover;
}

#login-wrap .hi-macs-logo {
  position: absolute;
  top: 47%;
  left: calc(50% - 656px);
}

#login-wrap .hi-macs-logo p {
  margin-top: 16px;
  font-family: NotoSansKr;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  color: var(--color-white);
}

.login-container {
  display: flex;
  flex-direction: column;
  width: 420px;
}

.login-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 0;
  margin-bottom: 16px;
  border: 3px solid var(--lx-primary-light-red);
  border-radius: 10px;
  background-color: var(--color-white);
}

.login-badge img {
  width: 40px;
  height: 40px;
}

.login-badge p {
  margin-left: 8px;
  font-family: NotoSans;
  font-size: 30px;
  font-weight: 400;
  color: var(--text-strong);
  letter-spacing: -0.7px;
}

.login-badge p strong {
  color: var(--lx-primary-light-red);
  font-weight: 700;
}

.login-content {
  display: flex;
  flex-direction: column;
  padding: 64px 40px;
  background-color: var(--color-white);
}

.login-content h1 {
  margin: 0;
  font-size: 32px !important;
  font-weight: 800 !important;
  text-align: center;
}

.login-content #login-form {
  margin: 32px 0;
}

#login-form ul+ul {
  margin-top: 32px;
}

#login-form ul li {
  width: 100%;
}

#login-form ul li+li {
  margin-top: 10px;
}

#login-form ul:last-of-type li~li {
  margin-top: 12px;
}

#login-form #btn-signIn,
#login-form #btn-order-tracking {
  font-family: 'NotoSans';
  font-size: 16px;
  font-weight: 500;
  padding: 16px 0;
}

#login-form ul:last-of-type li:nth-last-of-type(2) a {
  padding: 4px 8px;
  font-family: NotoSans;
  font-weight: 500;
  font-size: 13px;
  color: var(--primary-black);
  text-decoration: none;
}

#login-form ul:last-of-type li:last-of-type {
  padding: 4px 0;
  margin-top: 32px;

  address {
    font-weight: 400;
    text-align: center;
    color: var(--grey-600);

    a {
      color: var(--lx-primary-light-red);
      text-decoration: none;
    }
  }
}

.content-text {
  color: var(--text-strong);
}

.content-text>*+* {
  display: block;
  padding: 4px 10px;
  margin-top: 32px;
  color: var(--primary-font-light);
  font-size: 13px;
  line-height: 17px;
  text-align: center;
}

.content-text>p {
  font-size: 30px;
  font-weight: 500;
  line-height: 39px;
  text-align: center;
}

.label-point {
  color: var(--lx-primary-light-red);
}

.content-input {
  display: flex;
  flex-direction: column;
  width: 340px;
  margin: 32px 0;
}

.content-input>*+* {
  margin-top: 12px;
}

.content-input>button {
  border: none;
  font-family: 'NotoSans';
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
}

.content-input>button.btn-secondary {
  border: 1px solid var(--input-border) !important;
}

.content-input>button::before {
  content: none;
}

.utility-content-container>a {
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--lx-primary-light-red);
  text-decoration: none;
}

/* mail template */
#mail-wrap {
  width: 720px;
  margin: 0 auto;
  background-color: var(--color-white);
}

#mail-wrap header {
  background-color: #c1272d;
  padding: 16px 24px 16px;
}

#mail-wrap header img {
  height: 20px;
}

#mail-wrap main {
  padding: 32px;
}

#mail-wrap main>div:first-of-type+div::before {
  content: '';
  display: inline-block;
  background-color: var(--table-header-border);
  height: 1px;
  width: 100%;
  margin: 24px 0;
}

#mail-wrap main .title {
  font-size: 30px;
  font-weight: 500;
}

#mail-wrap main .sub-title {
  font-size: 30px;
  font-weight: 500;
  color: var(--lx-primary-light-red);
  margin-top: 5px;
}

#mail-wrap main .message,
#mail-wrap main .warning-message,
#mail-wrap main .expiry-time {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 150%;
}

#mail-wrap main .expiry-time time {
  color: var(--lx-primary-sky);
  font-weight: bold;
}

#mail-wrap main .reset-link {
  background-color: var(--table-hover);
  padding: 18px;
  text-align: center;
}

#mail-wrap main .reset-link a {
  font-size: 13px;
  font-weight: 500;
  color: var(--lx-primary-red);
  text-decoration: underline;
}

#mail-wrap footer {
  padding: 20px 24px;
  background-color: var(--table-cell-bg);
  text-align: center;
  color: var(--text-basic);
}

/* ==================================================== */
/*                     address                          */
/* ==================================================== */
.address-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  grid-auto-rows: auto;
  width: 100%;
  min-height: 136px;
  max-height: 630px;
  padding: 4px;
  overflow-y: auto;
}

.address-list li {
  grid-column: auto;
  grid-row: auto;
  padding: 24px;
  border-radius: 2px;
  border: 1px solid var(--grey-200);
  box-shadow: 0 4px 7px 0 #0000000f;
}

/* Default address인 주소의 배경색 */
.address-list li.isDefault,
.address-list li.isDefault.editing {
  background-color: #fffcf5;
}

/* 주소 셀렉트 스타일 */
.address-list li.selected {
  box-shadow: 0px 0px 8px 2px rgba(185, 61, 64, 0.7);
  cursor: pointer;
}

/* 주소 기본 hover */
.address-list li:hover {
  cursor: pointer;
}

.address-list li.isDefault .chk-wrap~span {
  color: var(--lx-primary-light-red) !important;
}

/* 주소 추가 버튼 */
.address-list li.address-add>button {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 48px;
  background-color: var(--color-white);
  font-size: 14px;
  color: var(--input-placeholder);
}

.address-list li.address-add>button::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("/asset/image/icon/plus-icon.svg") no-repeat center center;
  background-size: cover;
}

/* 수정 중인 상태 */
.address-list li.editing {
  grid-row: span 4;
  height: fit-content;
  background-color: var(--color-white);
  box-shadow: none;
}

.address-list li.editing dl dt p,
.address-list li.editing dl dt .info span,
.address-list li.editing dd {
  display: none;
}

.address-list li.editing dl dt {
  justify-content: flex-end;
  margin-bottom: 12px;
}

.address-list li.editing .info button {
  width: 28px;
  height: 28px;
}

.address-list li.editing .info button::before {
  background: url('/asset/image/icon/fold.svg') var(--color-white) no-repeat center center !important;
}

.address-list li.editing .add-btn,
.address-list li.editing .add-btn::before {
  display: none;
}

.address-list li dl dt {
  display: flex;
  justify-content: space-between;
}

.address-list dl dt p {
  font-weight: 700;
  font-size: 18px;
  color: #375656;
}

.address-list dl dt .info {
  position: relative;
  display: flex;
  align-items: center;
}

/* Default인 상태에 default 텍스트 표시 */
.address-list li.isDefault dl dt .info::after {
  content: 'Default';
  display: inline-block;
  position: absolute;
  top: 24px;
  right: 0;
  font-size: 12px;
  color: var(--lx-primary-light-red);
}

/* Default일 때 수정 중이면 default 텍스트 숨기기 */
.address-list li.isDefault.editing dl dt .info::after {
  content: '';
}

.address-list dl dt .info span {
  padding: 0 2px;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: var(--input-placeholder);
}

.address-list dl dt .info button {
  width: 20px;
  height: 20px;
  padding: 0;
}

.address-list dl dt .info button::before {
  content: '';
  display: inline-block;
  background: url('/asset/image/icon/setting.svg') var(--color-white) no-repeat center;
  width: 100%;
  height: 100%;
  margin-right: 0;
}

.address-list li:hover dl dt .info button::before {
  background: url('/asset/image/icon/setting.svg') var(--color-white) no-repeat center;
}

.address-list li.isDefault dl dt .info button::before {
  background: url('/asset/image/icon/setting.svg') #fffcf5 no-repeat center;
}

.address-list li dl dd:first-of-type {
  margin: 12px 0 4px;
  font-size: 14px;
  color: var(--text-strong);
  line-height: 18px;
}

.address-list li dl dd:last-of-type {
  font-size: 14px;
  color: var(--text-basic);
}


.address-list li .address-input-content {
  position: relative;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.address-list li .address-input-content .default-check {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.address-list li .address-input-content .default-check .input-chk~label+label {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-900);
}

.address-list li .address-input-content .default-check span {
  font-size: 13px;
  color: var(--text-basic);
}

.address-list li .address-input-content .widget-buttons {
  height: 30px;
}

li.address-add .address-input-content>button {
  width: 28px;
  height: 28px;
  margin-left: auto;
}

li.address-add .address-input-content>button::before {
  content: '';
  display: inline-block;
  width: 100%;
  height: 100%;
  background: url('/asset/image/icon/fold.svg') var(--color-white) no-repeat center center;
}


/* ========= createOrderDetail 트리 ============ */

#checkTreeView ul {
  position: relative;
  /* 겉에 보더 표시 필요하면 아래 두 줄 주석 해제하면 되어요! */
  /* border: 1px solid var(--grey-100);
  padding: 4px; */
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

/* 새로고침 버튼 */
#checkTreeView ul .btn-reset {
  position: absolute;
  top: -2px;
  right: 5px;
}

#checkTreeView ul .btn-reset:focus {
  outline: none;
}

#checkTreeView ul .btn-reset:hover {
  animation: rotate-anime 0.5s linear;
}

@keyframes rotate-anime {
  100% {
    transform: rotate(360deg);
  }
}


/* 트리 스크롤 커스텀 */
#checkTreeView ul::-webkit-scrollbar {
  width: 10px;
}

#checkTreeView ul::-webkit-scrollbar-thumb {
  background-color: var(--grey-500);
  border-radius: 10px;
  background-clip: padding-box;
  border: 2px solid transparent;
}

#checkTreeView ul::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0px 0px 5px white;
}


/* 트리 간 간격 */
#checkTreeView ul>li+li {
  margin-top: 5px;
}


/* 트리 텍스트 스타일 */
#checkTreeView ul a,
#checkTreeView ul label {
  font-size: 14px;
  color: var(--grey-700);
  text-decoration: none;
}

#checkTreeView ul label {
  font-size: 14px;
}

#checkTreeView ul a.none-click {
  pointer-events: none;
}


/* 트리 체크박스 스타일 */
#checkTreeView ul .input-chk+label:first-of-type {
  width: 16px;
  height: 16px;
  border: 1px solid var(--grey-400);
  background-size: 10px 10px;
}

#checkTreeView ul .input-chk~label+label {
  margin-left: 6px;
}

/* 트리 1depth 스타일 */
#checkTreeView ul>li>a {
  font-weight: 700;
  line-height: 16px;
}

#checkTreeView ul>li:not(:first-of-type)>a:hover {
  color: var(--lx-primary-light-red);
  transition: all .3s;
}

/* 트리 1depth 클릭시 닫힘 스타일 */
#checkTreeView ul>li:not(:first-of-type)>a.collapsed~ul {
  display: none;
}

/* group-PRICE_GROUP은 안 접히도록 설정 */
#checkTreeView ul>li.group-PRICE-GROUP>a.collapsed~ul {
  display: block;
}

/* 트리 2depth 스타일 */
#checkTreeView ul>li>ul {
  padding-left: 16px;
  overflow: hidden;
}

#checkTreeView ul>li>ul>li>a.none-click {
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}


/* 트리 3depth 스타일 */
#checkTreeView ul>li>ul>li>ul {
  padding-left: 16px;
  overflow: hidden;
}

#checkTreeView ul>li:last-of-type>ul>li+li {
  margin-top: 2px;
}

#checkTreeView ul>li>ul>li>ul>li label {
  font-size: 13px;
}

.box-product {
    margin-top: 5px;
    overflow: hidden;
}


/* ========== tagAttachList =========== */
.tagAttachList {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--table-header-border);
  border-bottom: 1px solid var(--table-header-border);
}

.tagAttachList ul {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 120px);
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px dashed var(--table-header-border);
}

.tagAttachList ul>li {
  position: relative;
  display: flex;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 32px 7px 8px;
  border: 1px solid var(--grey-200);
  background-color: var(--grey-50);
}

.tagAttachList ul>li p {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-basic);
  font-size: 13px;
  font-weight: 400;
}









/* ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */
/*                      정리 필요                       */
/* ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ */
.btn-update {
  background-color: #333333;
  color: #fff !important;
}

.info-hover {
  &::before {
    content: '';
    display: inline-block;
    background: url('/asset/image/icon/info.svg') center center no-repeat;
    width: 20px;
    height: 20px;
    vertical-align: -5px;
  }
}

.info-hover.tooltip-target {
  margin-left: 4px;
  cursor: pointer;
}

.tooltip-content {
  display: none;
  position: absolute;
  background-color: #fffced;
  color: #333333;
  padding: 16px;
  border-radius: 4px;
  z-index: 1000;
  font-size: 13px;
  font-weight: 400;

  &>span {
    color: #B93D40;
    font-weight: 700;
    font-weight: 16px;
    padding: 0 6px;
  }
}

.bottom-info {
  font-size: 13px!important;
  font-weight: 400;
  line-height: 19.5px;
  text-align: center;

  &>span {
    color: #B93D40;
    font-weight: 700;
  }
}

.card {
  margin-top: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;

  &>span {
      color: #7C7C7C;
      font-size: 16px;
      font-weight: 500;
      line-height: 24px;
  }

  & .title {
      display: flex;
      gap: 4px;
      font-size: 19px;
      font-weight: 600;
      letter-spacing: -0.5px;
      color: #333333;

      &>p:first-child {
          color: #B93D40;
      }
  }

  & .card-content {
      display: flex;
      flex-direction: column;
      gap: 12px;
      font-size: 14px;
      font-weight: 600;
      padding: 0 12px;

      &>p {
          color: #5DA5B0;
      }

      &>div {
          color: #666666;
          font-size: 13px;
          font-weight: 400;
          line-height: 19.5px;
      }
  }
}

/* 카드 컨테이너 */
.card-container {
  margin-top: 32px;
}

/* My Card 데이터 없을 경우 border-bottom 표시 */
.card-container:not(:has(.material.card)) .table-header {
  border-bottom: 1px solid var(--grey-300);
  padding: 2px 0 8px;
  margin-bottom: 100px;
}

/* 조회된 Card가 없을 경우 no-data 표시 */
/* no-data 초기 상태 => display: none */
.card-list .no-data-text {
  display: none;
}

.card-list:not(:has(.material.card)) {
  border-top: 1px solid var(--grey-300);
  border-bottom: 1px solid var(--grey-300);
}

.card-list:not(:has(.material.card)) #pagination {
  display: none;
}

.card-list:not(:has(.material.card)) .no-data-text {
  display: block;
  padding: 60px 0;
  text-align: center;
}

/* no data 텍스트 스타일 */
.no-data-text {
  color: var(--grey-500);
  font-size: 15px;
}

/* card-table-lsit (basic/crate) */

.card-table-list {
  --table-hover: #fff;
}

.card-table-list,
.card-table-list .material.card:first-of-type {
  margin-top: 0;
}

.card-table-list .material.card {
  display: grid;
  grid-template-columns: 140px minmax(360px, 1fr) 80px 80px 80px 80px 120px 120px 120px 120px 120px ;
  gap: 2px;
  padding: 8px 0;
}

.card-table-list .material.card .card-img {
  display: flex;
  justify-content: center;
}

.card-table-list .material.card p {
  font-size: 14px;
  color: var(--grey-700);
  text-align: end;
}

.card-table-list .item p {
  font-size: 14px;
  color: var(--grey-700);
  text-align: end;
}

.card-table-list .material.card .card-info {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}

.card-table-list .material.card .card-info p {
  font-size: 13px;
  text-align: start;
}

.card-table-list .material.card .card-info p+p {
  margin-top: 8px;
}

.card-total-table .listT tr:first-of-type tr,
.card-total-table .listT tr:first-of-type td {
  border-top: none;
}

.card-total-table .listT tr,
.card-total-table .listT td {
  height: 32px;
  padding: 8px 6px;
}

.card-total-table .listT td {
  text-align: end;
}

.card-total-table .listT td.total-title {
  font-weight: 600;
  font-size: 15px;
  text-align: start;
  padding-left: 10px;
}

.card-total-table .listT td.total-org,
.card-total-table .listT td.total-discount,
.card-total-table .listT td.total-amount {
  /*padding: 0;*/
}



/* materical card */
.material.card {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  align-items: center;
  padding: 10px 16px;
}

.material.card .pd-line {
  font-size: 16px;
  font-weight: 700;
}

.material.card.quantity {
  grid-template-columns: 1fr 200px 300px 120px;
}


.material.card button {
  height: 32px;
}

.material.card .stock-info,
.material.card .available-stock-info {
  position: relative;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.material.card .stock-info>div:first-of-type,
.material.card .available-stock-info>div:first-of-type {
  position: absolute;
  top: 0;
}

.material.card .stock-info>div:last-of-type,
.material.card .available-stock-info>div:last-of-type {
  margin-top: 20px;
}

.material.card .pd-available-stock>div>p {
  font-size: 11px;
  margin-bottom: 4px;
}

.material.card .pd-available-stock>p {
  opacity: 0;
  letter-spacing: .3px;
  color: var(--lx-primary-light-red);
  font-weight: 700;
}

.material.card .pd-available-stock.active>p {
  opacity: 1;
}

.material.card .content-info {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}

.material.card .content-info>div:first-of-type,
.material.card .content-info .color-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.material.card .content-info>div:first-of-type>button,
.material.card .content-info .color-wrap>button {
  justify-content: center;
}

.material.card .content-info>div:last-of-type {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.material.card .content-info>div:last-of-type>div,
.material.card.quantity>div {
  display: flex;
  gap: 8px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--grey-700);
}

.material.card .content-info>div:last-of-type>div>p {
  padding: 0 8px;
}

.material.card .content-info>div:last-of-type>div>span {
  padding: 0 8px;
  font-weight: 700;
}

/* Check Stock 버튼 클릭시 나오는 텍스트 */
.material.card .content-info .check-stock-msg {
  position: absolute;
  left: 132px;
  bottom: 10px;
  opacity: 0;
  padding: 8px 8px 0 8px;
  font-size: 12px;
}

.material.card .content-info .check-stock-msg.show {
  opacity: 1;
  animation: color-change 2s linear;
}

/* Check Stock 버튼 클릭시 나오는 텍스트 색상 애니메이션 */
@keyframes color-change {
  0% {
    color: var(--lx-primary-light-red);
  }

  100% {
    color: var(--grey-900);
  }
}

.material.card .content-name {
  padding: 16px 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 19.5px;
  color: var(--grey-700)
}

.material.card>div:last-of-type {
  display: flex;
  gap: 4px;
}

.material.card>div:last-of-type>input {
  width: 100px;
}

.card-pic {
  width: 100px;
  height: 60px !important;
  text-align: center;
  border-radius: 2px;
}

.material.card+.material.card {
  margin-top: 0;
  border-top: none;
}

/* material card add된 카드 dsiabled 처리 */
.material.card.disabled {
  background-color: var(--grey-50);
}

.material.card.disabled p,
.material.card.disabled .content-info p,
.material.card.disabled .content-info span {
  color: var(--grey-300);
}

.material.card.disabled>div:last-of-type {
  opacity: 0;
}

.material.card.disabled button {
  display: none;
}

.material.card.detail {
  & .card-detail {
    flex-direction: row !important;
    gap: 70px !important;
    padding-left: 50px;

    &>div {
      display: flex;
      flex-direction: column;
      line-height: 19.5px;

      &>p>span {
        font-weight: 700;
        padding: 0 6px;
      }
    }

    &>div:first-child {
      &>p>span {
        color: #B93D40;
      }
    }

    &>div:last-child {
      &>p>span {
        color: #00673C;
      }
    }
  }
}



.detail {
  border: none;
}

.print-article {
  margin: 48px 0 !important;
}

#defaultGrid {
  & .L-grid-panel.L-panel {
      border: none;
  }

  & .L-grid-header {
      border-top: 1px solid #CCCCCC;
      border-bottom: 1px solid #CCCCCC;
  }
}


.table.order-information {
  & select {
    width: 100%;
  }

  .full {
    width: 100%;
  }

  .date-info {
    color: #999999;
    font-size: 13px;
    margin-top: 4px;
  }
}

.widget.accordion {
  border: none;
}

.border-btm {
  border-bottom: 1px solid #E2E2E2 !important;
}

.widget.accordion .table-header {
  margin-bottom: 12px;
}

.widget.accordion >div:nth-of-type(2) {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}

.widget button.close {
  width: 20px;
  height: 20px;
  background: url("../images/btn_close.png") no-repeat center;
  text-indent: -9999px;
  opacity: 1;
}

.widget:has(.fileAttach) .fileAttach {
  width: 100%;
}

.widget:has(.fileAttach) .fileAttach p {
  padding-top: 33px;
}

.popup .widget:has(.fileAttach) {
  width: 100%;
  padding: 2px 8px;
}

button.close:hover {
  opacity: 1;
}

.file-btn {
  width: 300px;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.next-btn {
  display: flex;
  justify-content: end;
  padding: 8px 0 12px;
}