body.orders-page {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #fff;
}

body.orders-page .adminuiux-wrap {
  max-width: 430px;
  margin: 0 auto;
  background: #fff;
}

.orders-main {
  padding: 20px 14px 96px !important;
}


.orders-filter-card {
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  margin-bottom: 12px;
}


.orders-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.orders-search-grid .orders-search-input:first-child:not(.d-none) {
  grid-column: 1 / -1;
}

.orders-search-input {
  width: 100%;
  height: 40px;
  border: 1px solid #edf0f3 !important;
  border-radius: 12px !important;
  background-color: #f9fafb !important;
  color: #121314 !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: -0.35px;
  box-shadow: none !important;
}

.orders-search-input::placeholder { color: #a5adb8; }

.orders-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8b95a1 50%), linear-gradient(135deg, #8b95a1 50%, transparent 50%);
  background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.orders-status-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin-bottom: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.orders-status-tabs::-webkit-scrollbar {
  display: none;
}

.orders-status-tab {
  position: relative;
  width: auto;
  min-width: max-content;
  min-height: 34px;
  padding: 7px 6px 7px 26px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.4px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, opacity .15s ease;
}

.orders-status-tab::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 1.5px solid #9aa3ad;
  border-radius: 4px;
  background: #fff;
  transform: translateY(-50%);
}

.orders-status-tab::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 50%;
  width: 5px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-58%) rotate(45deg);
  opacity: 0;
}

.orders-status-tab > span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: inherit;
}

.orders-status-tab strong {
  margin-left: 2px;
  font-size: 12px;
  font-weight: 900;
}

.orders-status-tab .orders-status-counts,
.orders-status-tab .orders-status-total-count {
  display: inline-block;
  max-width: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.55px;
  white-space: nowrap;
  color: #4b5563;
  opacity: 1;
}

.orders-status-tab .orders-status-total-count {
  display: none;
}

.orders-status-tab .orders-status-counts strong,
.orders-status-tab .orders-status-total-count strong {
  margin-left: 1px;
  font-size: 11px;
}

.orders-status-tab.btn-theme::after {
  opacity: 1;
}

.orders-status-tab.btn-outline-theme {
  background: #fff !important;
  color: #9aa3ad !important;
  border-color: transparent !important;
  opacity: .82;
}

.orders-status-tab.btn-outline-theme::before {
  border-color: #cfd6de !important;
  background: #fff !important;
}

.orders-status-tab.is-wait.btn-theme,
.orders-status-tab.is-complete.btn-theme,
.orders-status-tab.is-cancel.btn-theme {
  background: #fff;
  color: #4b5563;
  border-color: transparent;
}

.orders-status-tab.is-wait.btn-theme::before,
.orders-status-tab.is-complete.btn-theme::before,
.orders-status-tab.is-cancel.btn-theme::before {
  background: #0d6efd;
  border-color: #0d6efd;
}

.orders-status-tab.is-wait > span { color: #ff8a00; }
.orders-status-tab.is-complete > span { color: #15a53a; }
.orders-status-tab.is-cancel > span { color: #fd3b3b; }

@media (max-width: 380px) {
  .orders-status-tabs {
    gap: 2px;
  }

  .orders-status-tab {
    min-height: 32px;
    padding: 7px 9px 7px 28px;
    font-size: 11px;
  }

  .orders-status-tab::before {
    left: 9px;
    width: 13px;
    height: 13px;
  }

  .orders-status-tab::after {
    left: 13px;
  }

  .orders-status-tab > span,
  .orders-status-tab .orders-status-counts,
  .orders-status-tab .orders-status-counts strong,
  .orders-status-tab .orders-status-total-count,
  .orders-status-tab .orders-status-total-count strong {
    font-size: 10px;
  }
}


.orders-status-amounts {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 8px;
  margin: -4px 0 12px;
}

.orders-status-amount {
  flex: 0 0 calc((100% - 16px) / 3);
  min-width: 0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 9px 10px 10px;
}

.orders-status-amount-title {
  display: block;
  color: #8b95a1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.orders-status-amount-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin-top: 5px;
}

.orders-status-amount-total span {
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.35px;
}

.orders-status-amount-total strong {
  display: block;
  color: #121314;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
  letter-spacing: -0.45px;
}

.orders-status-amount em {
  font-style: normal;
}

.orders-status-amount .orders-amount-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.45px;
}

.orders-status-amount .orders-type-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  color: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: inherit;
  letter-spacing: inherit;
}

.orders-status-amount .orders-type-amount b {
  flex: 0 0 auto;
  color: #8b95a1;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.orders-status-amount .orders-type-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 1px;
  min-width: 0;
  color: #121314;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.orders-status-amount .orders-type-price em {
  color: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.orders-status-amount.is-wait { background: rgba(255, 138, 0, 0.08); }
.orders-status-amount.is-complete { background: rgba(21, 165, 58, 0.08); }
.orders-status-amount.is-cancel { background: rgba(253, 59, 59, 0.08); }

.orders-no-results {
  min-height: 120px;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  background: #f8fafc;
  color: #8b95a1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.orders-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.order-card {
  border-radius: 18px;
  background: #fff;
  padding: 15px 14px 14px;
  border: 1px solid #f0f2f5;
}

.order-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.order-card-top > div {
  flex: 1 1 auto;
}

.order-store-name {
  color: #121314;
  font-size: 16px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: -0.55px;
}

.order-date-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 4px;
  color: #8b95a1;
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.3px;
}

.order-date-line span {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-date-line em {
  flex: 0 0 auto;
  min-width: 44px;
  margin-right: 5px;
  color: #6b7280;
  font-style: normal;
  font-weight: 700;
}

.order-status-pill {
  flex: 0 0 auto;
  max-width: 86px;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.35px;
  white-space: nowrap;
}

.order-status-pill .text-wait,
.order-status-pill .text-complete,
.order-status-pill .text-cancel {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.order-status-pill.is-wait { background: #fff8ef; color: #ff8a00; }
.order-status-pill.is-complete { background: #f2faf4; color: #15a53a; }
.order-status-pill.is-cancel { background: #fff4f4; color: #fd3b3b; }

.order-customer-row {
  min-height: 48px;
  border-radius: 14px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.order-customer-row span,
.order-info-line span,
.order-items-head span {
  display: block;
  color: #8b95a1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.order-customer-row strong {
  display: block;
  margin-top: 2px;
  color: #121314;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.45px;
}

.order-phone {
  color: #436bed;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.35px;
}

.order-info-box {
  border-radius: 14px;
  border: 1px solid #f0f2f5;
  overflow: hidden;
  margin-bottom: 10px;
}

.order-info-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 11px;
  border-bottom: 1px solid #f0f2f5;
}

.order-info-line:last-child { border-bottom: 0; }

.order-info-line strong {
  min-width: 0;
  color: #303441;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.35px;
  word-break: break-word;
}

.text-memo {
  color: #ff8a00 !important;
}

.order-items-box {
  border-radius: 14px;
  background: #f8fafc;
  padding: 12px;
  margin-bottom: 12px;
}

.order-items-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid #edf0f3;
}

.order-items-head strong {
  color: #121314;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.order-item-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  color: #303441;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: -0.35px;
}

.order-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.order-item-text {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
}

.order-item-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-item-meta {
  flex: 0 0 auto;
  margin-left: 3px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
}

.order-item-row.is-canceled .order-item-text {
  color: #9aa3ad;
  text-decoration: line-through;
}

.order-item-cancel,
.order-item-canceled-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 20px;
  border: 0;
  border-radius: 999px;
  background: #fff4f4;
  color: #fd3b3b;
  font-size: 10px;
  font-weight: 800;
}

.order-card-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.order-action-button {
  height: 34px;
  border: 0;
  border-radius: 11px;
  background: #f2f4f6;
  color: #303441;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.35px;
  padding: 0 4px;
}

.order-action-button.is-confirm { background: #eff0ff; color: #5860ff; }
.order-action-button.is-pickup { background: #eff6ff; color: #436bed; }
.order-action-button.is-cancel { background: #fff4f4; color: #fd3b3b; }
.order-action-button.is-print { background: #f5f6f7; color: #303441; }
.order-action-button.is-memo { background: #fff8ef; color: #ff8a00; }

@media (min-width: 768px) {
  body.orders-page .adminuiux-wrap {
    min-height: 100vh;
  }
}

@media (max-width: 380px) {
  .orders-main { padding-left: 12px !important; padding-right: 12px !important; }
  .orders-head-actions { flex-direction: column; gap: 5px; }
  .orders-head-button { width: 68px; }
  .order-card-actions { gap: 4px; }
  .order-action-button { font-size: 10px; }
}

.orders-empty-card {
  min-height: 120px;
  border-radius: 18px;
  background: #fff;
  color: #8b95a1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

/* Keep orders page background white */
body.orders-page,
body.orders-page .adminuiux-wrap,
body.orders-page .adminuiux-content,
body.orders-page .orders-main {
  background: #fff !important;
  background-color: #fff !important;
}



/* Orders page uses shared admin date component */
.orders-period-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.orders-period-date {
  min-width: 0;
}

.orders-period-label {
  display: block;
  margin: 0 0 6px;
  color: #8a929f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.32px;
}

.orders-date-card {
  margin: 0 !important;
}

.orders-period-date .admin-date-range {
  width: 100%;
  height: 40px;
  justify-content: space-between;
  padding: 0 10px;
}

.orders-period-date .admin-date-value {
  min-width: 0;
  width: 100%;
  justify-content: space-between;
  font-size: 12px;
}

.orders-period-date .admin-date-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orders-filter-card {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


.orders-filter-actions {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.orders-filter-actions.is-reset-only {
  grid-template-columns: 1fr;
}

.orders-filter-button {
  height: 42px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.orders-filter-button.is-reset {
  background: #f2f4f6;
  color: #4e5968;
}

.orders-filter-button.is-search {
  background: #3182f6;
  color: #fff;
}


.orders-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.orders-filter-button i {
  font-size: 14px;
  line-height: 1;
}

.orders-filter-button span {
  line-height: 1;
}


.orders-filter-button i {
  display: none !important;
}

.orders-button-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  background-color: currentColor;
  flex: 0 0 15px;
}

.orders-icon-search {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.8-3.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.8-3.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.orders-icon-reset {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6v5h5'/%3E%3Cpath d='M4.7 15.5A8 8 0 1 0 5.2 7.2L3 11'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6v5h5'/%3E%3Cpath d='M4.7 15.5A8 8 0 1 0 5.2 7.2L3 11'/%3E%3C/svg%3E") center / contain no-repeat;
}


.orders-list-tools {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 8px;
  margin: -4px 0 12px;
}

.orders-tool-button {
  height: 38px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.orders-tool-button.is-excel {
  background: #effaf2;
  color: #15a53a;
}

.orders-tool-button.is-print {
  background: #f5f6f7;
  color: #303441;
}

.orders-tool-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  background-color: currentColor;
  flex: 0 0 15px;
}

.orders-icon-download {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v11'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v11'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

.orders-icon-print {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8V3h10v5'/%3E%3Cpath d='M7 17H5a2 2 0 0 1-2-2v-4a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v4a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M7 14h10v7H7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8V3h10v5'/%3E%3Cpath d='M7 17H5a2 2 0 0 1-2-2v-4a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v4a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M7 14h10v7H7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Outline order list tools */
.orders-tool-button.is-excel,
.orders-tool-button.is-print {
  background: #fff !important;
  border: 1px solid currentColor !important;
}

.orders-icon-excel {
  -webkit-mask: none !important;
  mask: none !important;
  background-color: transparent !important;
  position: relative;
  border: 1.8px solid currentColor;
  border-radius: 2px;
}

.orders-icon-excel::before {
  content: "X";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}


/* Prevent mobile horizontal overflow */
body.orders-page {
  width: 100% !important;
  overflow-x: hidden !important;
}

body.orders-page .adminuiux-wrap,
body.orders-page .orders-main,
body.orders-page .orders-filter-card,
body.orders-page .orders-status-tabs,
body.orders-page .orders-list-tools,
body.orders-page .orders-list,
body.orders-page .order-card {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}

body.orders-page .orders-main {
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.orders-search-grid,
.orders-filter-actions,
.order-card-actions {
  min-width: 0 !important;
}

.orders-search-input,
.orders-filter-button,
.orders-tool-button,
.order-action-button {
  min-width: 0 !important;
  max-width: 100% !important;
}

.order-card-top,
.order-customer-row,
.order-items-head {
  min-width: 0 !important;
}

.order-card-top > div,
.order-customer-row > div,
.order-items-head > span,
.order-items-head > strong {
  min-width: 0 !important;
}

.order-store-name,
.order-phone,
.order-items-head strong {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.order-info-line strong {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

@media (max-width: 380px) {
  body.orders-page .orders-main {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .orders-list-tools {
    grid-template-columns: 1fr 0.78fr !important;
  }

  .orders-tool-button {
    font-size: 11px !important;
    gap: 4px !important;
  }

  .orders-tool-icon,
  .orders-button-icon {
    width: 14px !important;
    height: 14px !important;
    flex-basis: 14px !important;
  }

  .order-card {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Match main/store mobile shell exactly */
body.orders-page {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  background: #fff !important;
  overflow-x: hidden !important;
}

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

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

.orders-main,
body.orders-page .adminuiux-wrap .adminuiux-content.has-sidebar.orders-main {
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 430px !important;
  min-height: 100vh !important;
  margin: 0 auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  background: #fff !important;
  padding: 20px 15px 120px !important;
  overflow-x: hidden !important;
}

.orders-memo-modal .orders-memo-label {
  display: block;
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
}

.orders-memo-modal .orders-memo-textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid #d7dce3;
  border-radius: 12px;
  padding: 12px 14px;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
}

.orders-memo-modal .orders-memo-textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.orders-memo-modal .orders-memo-help,
.orders-memo-modal .orders-memo-status {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 12px;
}

.orders-memo-modal .orders-memo-status.is-error {
  color: #dc2626;
}

@media (max-width: 430px) {
  body.orders-page .adminuiux-wrap,
  body.orders-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.orders-page .adminuiux-wrap .adminuiux-content.has-sidebar.orders-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;
  }
}
