/* Store list renewal page */
@font-face {
  font-display: block;
  font-family: bootstrap-icons;
  src: url('/assets/admin/fonts/bootstrap-icons.woff2') format('woff2'),
       url('/assets/admin/fonts/bootstrap-icons.woff') format('woff');
}

body.store-page {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  background: #fff !important;
  overflow-x: hidden;
}

body.store-page .adminuiux-wrap {
  width: 100vw !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow-x: hidden;
}

body.store-page .adminuiux-header .container-fluid {
  width: 100% !important;
  max-width: 430px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.store-main {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 430px !important;
  min-height: 100vh;
  margin: 0 auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  background: #fff;
  padding: 20px 15px 120px !important;
  overflow-x: hidden;
}

body.store-page .adminuiux-wrap .adminuiux-content.has-sidebar.store-main {
  width: 100% !important;
  max-width: 430px !important;
  padding: 20px 15px 120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 430px) {
  body.store-page .adminuiux-wrap,
  body.store-page .adminuiux-header .container-fluid {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc((100vw - 100%) / 2) !important;
    margin-right: calc((100vw - 100%) / 2) !important;
  }

  body.store-page .adminuiux-wrap .adminuiux-content.has-sidebar.store-main {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

.store-head {
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.store-head .items-page-title-wrap {
  width: 100%;
}

.store-add-button {
  flex: 0 0 auto;
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #3182f6;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.store-page .daterangepicker {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  overflow: hidden;
}

.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}

.store-count {
  color: #6e7780;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.4px;
}

.store-count strong {
  color: #121314;
  font-size: 15px;
  font-weight: 700;
  padding: 0 2px;
}

.store-card-list {
  width: 100%;
}

.store-empty-card {
  box-sizing: border-box;
  width: 100%;
  min-height: 150px;
  border-radius: 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.store-empty-card strong {
  color: #292929;
  font-size: 15px;
  font-weight: 700;
}

.store-empty-card span {
  color: #8b95a1;
  font-size: 12px;
  font-weight: 400;
}

.store-table-guide {
  color: #8b95a1;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: -0.35px;
  margin: 0;
  text-align: right;
  white-space: nowrap;
  flex: 0 0 auto;
}

.store-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #edf0f3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 28, 45, 0.045);
  -webkit-overflow-scrolling: touch;
}

.store-table-wrap::-webkit-scrollbar {
  height: 0;
}

.store-table {
  min-width: 910px;
  width: max-content;
  background: #fff;
}

.store-table-row {
  display: grid;
  grid-template-columns: 130px 115px 115px 205px 205px 140px;
  min-height: 76px;
  border-bottom: 1px solid #edf0f3;
}

.store-table-row:last-child {
  border-bottom: 0;
}

.store-table-head {
  min-height: 36px;
  background: #f8fafc;
  color: #6e7780;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.35px;
}

.store-table-head > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-right: 1px solid #edf0f3;
}

.store-table-head i {
  font-size: 12px;
  line-height: 1;
}

.store-table-head .is-order-head i { color: #2f6bff; }
.store-table-head .is-cancel-head i { color: #f04452; }
.store-table-head .is-pickup-head i { color: #27b96b; }
.store-table-head .is-wait-head i { color: #ff8a00; }
.store-table-head .is-alim-head i { color: #8b5cf6; }

.store-table-head > div:last-child {
  border-right: 0;
}

.store-table-store {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  border-right: 1px solid #edf0f3;
  background: #fff;
  color: #121314 !important;
  text-decoration: none !important;
}

.store-table-head .store-table-store {
  z-index: 3;
  align-items: flex-start;
  background: #f8fafc;
  color: #6e7780 !important;
}

.store-table-store strong {
  max-width: 126px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #121314;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.45px;
}

.store-table-store span {
  color: #3182f6;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: -0.3px;
}

.store-table-cell {
  --store-color: #3182f6;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 4px;
  padding: 8px;
  border-right: 1px solid #edf0f3;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.store-table-row .store-table-cell:last-child {
  border-right: 0;
}

.store-cell-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  height: 22px;
  color: var(--store-color);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.4px;
}


.store-cell-title i {
  color: var(--store-color);
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 1;
}


.store-cell-values {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  text-align: right;
}

.store-cell-values.is-single {
  justify-content: center;
}

.store-cell-money,
.store-cell-count {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  white-space: nowrap;
}

.store-cell-money {
  flex: 0 0 auto;
}

.store-cell-count {
  flex: 0 0 auto;
}

.store-cell-money .store-metric-number,
.store-cell-count .store-metric-number {
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.store-cell-money .store-metric-unit,
.store-cell-count .store-metric-unit {
  line-height: 1;
}

.store-cell-count .store-metric-number {
  color: #303441;
  font-size: 13px;
  font-weight: 700;
}

.store-cell-count .store-metric-unit {
  color: #8b95a1;
  font-size: 9px;
}

.store-cell-main,
.store-cell-sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  white-space: nowrap;
  line-height: 1;
}

.store-cell-main {
  height: 24px;
}

.store-cell-sub {
  height: 17px;
}

.store-metric-number {
  color: var(--store-color);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.store-metric-unit {
  margin-left: 4px;
  color: #6e7780;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.35px;
}

.store-cell-sub .store-metric-number {
  color: #303441;
  font-size: 13px;
  font-weight: 700;
}

.store-cell-sub .store-metric-unit {
  color: #8b95a1;
  font-size: 9px;
}

.store-table-detail {
  gap: 6px;
}

.store-cell-splits {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 3px;
  padding-top: 5px;
  border-top: 1px dashed rgba(120, 130, 145, 0.2);
}

.store-cell-splits span {
  display: grid;
  grid-template-columns: 34px 46px minmax(76px, 1fr);
  align-items: baseline;
  gap: 3px;
  min-width: 0;
  padding: 3px 5px;
  border: 1px solid rgba(120, 130, 145, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.store-cell-splits b {
  color: #4a515a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.store-cell-splits em {
  color: #7d8792;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.3px;
  text-align: right;
  white-space: nowrap;
}

.store-cell-splits strong {
  min-width: 0;
  color: var(--store-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.35px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-table-cell.is-order { --store-color: #2f6bff; background: rgba(47, 107, 255, 0.025); }
.store-table-cell.is-cancel { --store-color: #f04452; background: rgba(240, 68, 82, 0.022); }
.store-table-cell.is-pickup { --store-color: #27b96b; background: rgba(39, 185, 107, 0.024); }
.store-table-cell.is-wait { --store-color: #ff8a00; background: rgba(255, 138, 0, 0.026); }
.store-table-cell.is-alim { --store-color: #8b5cf6; background: rgba(139, 92, 246, 0.026); }
.store-table-cell.is-alim .store-metric-number { font-size: 18px; }

.store-table-wrap.is-dragging {
  cursor: grabbing;
  user-select: none;
}
