/* src/admin/notification-center.css */
.notify-center.nc-screen {
  --nc-ink:#20211f;
  --nc-muted:#7a7b72;
  --nc-line:#e8e5dd;
  --nc-gold:#b68e41;
  min-width: 0;
  color: var(--nc-ink);
  font-family: inherit;
}
.nc-screen * {
  box-sizing: border-box;
}
.nc-screen button,
.nc-screen input,
.nc-screen select {
  font: inherit;
}
.nc-screen button {
  cursor: pointer;
}
.nc-screen button:disabled {
  opacity: .45;
  cursor: default;
}
.nc-screen button:focus-visible,
.nc-screen input:focus,
.nc-screen select:focus {
  outline: 3px solid #c7a65b40;
  outline-offset: 2px;
}
.nc-screen .nc-tabs {
  display: inline-flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--nc-line);
  background: #eae7df;
  border-radius: 13px;
  margin: 0 0 24px;
  max-width: 100%;
}
.nc-tabs button {
  border: 0;
  background: transparent;
  color: #6e6c62;
  padding: 10px 20px;
  min-height: 42px;
  font-size: 13px;
  font-weight: 650;
  border-radius: 9px;
  white-space: nowrap;
}
.nc-tabs button.active {
  background: #fff;
  color: #26261f;
  box-shadow: 0 2px 7px #27230f0b;
}
.nc-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.nc-screen .nc-heading h2 {
  font-size: 23px;
  line-height: 1.5;
  margin: 0;
  font-weight: 750;
}
.nc-heading p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--nc-muted);
  margin: 5px 0 0;
}
.nc-screen .nc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid #ded9cd;
  border-radius: 9px;
  padding: 9px 15px;
  background: #fff;
  color: #4c4b42;
  font-size: 13px;
  white-space: nowrap;
}
.nc-screen .nc-refresh {
  background: #23241f;
  border-color: #23241f;
  color: #fff;
}
.nc-alert {
  background: #fff0ed;
  border: 1px solid #ecc5bc;
  color: #a33c2f;
  padding: 13px 16px;
  border-radius: 11px;
  font-size: 13px;
}
.nc-filter-panel {
  background: #fff;
  border: 1px solid var(--nc-line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 16px #30240803;
}
.nc-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 15px;
}
.nc-screen .nc-filter-heading h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.nc-screen .nc-clear {
  border: 0;
  background: transparent;
  color: #9b782d;
  min-height: 32px;
  padding: 3px 0;
  font-size: 12px;
}
.nc-search,
.nc-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.nc-search > span,
.nc-filter > span {
  font-size: 12px;
  font-weight: 650;
  color: #6b6a5f;
}
.nc-search > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid #dfdcd3;
  border-radius: 10px;
  background: #fcfbf8;
  min-height: 46px;
}
.nc-search svg {
  color: #929184;
  flex: none;
}
.nc-screen .nc-search input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  outline: 0 !important;
  padding: 11px 0 !important;
  min-height: 44px;
  height: 44px;
  color: #24251e;
  font-size: 13px;
  line-height: 1.5;
}
.nc-search input::placeholder {
  color: #a29e91;
}
.nc-filter-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 17px;
}
.nc-screen .nc-filter select {
  width: 100%;
  max-width: 100%;
  height: 46px;
  min-height: 46px;
  border: 1px solid #dfdcd3;
  border-radius: 10px;
  background: #fff;
  color: #37382f;
  padding: 0 11px;
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  box-shadow: none;
}
.nc-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 21px 2px 12px;
}
.nc-results-bar p {
  margin: 0;
  font-size: 13px;
  color: #737368;
}
.nc-results-bar strong {
  color: #303127;
  font-size: 15px;
}
.nc-results-bar > span {
  font-size: 11px;
  color: #929084;
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.nc-table-wrap {
  border: 1px solid var(--nc-line);
  border-radius: 14px;
  background: #fff;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}
.nc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: 12px;
  line-height: 1.65;
  min-width: 980px;
}
.nc-screen .nc-table th {
  padding: 13px 14px;
  background: #f8f7f3;
  color: #8a877a;
  font-size: 11px;
  font-weight: 650;
  text-align: start;
  border-bottom: 1px solid var(--nc-line);
  white-space: nowrap;
}
.nc-screen .nc-table td {
  padding: 15px 14px;
  border-bottom: 1px solid #efede6;
  vertical-align: middle;
  color: #68685b;
  text-align: start;
}
.nc-table tbody > tr:last-child > td {
  border-bottom: 0;
}
.nc-table tbody > tr:not(.nc-detail-row):hover {
  background: #fdfcf9;
}
.nc-order {
  font-size: 12px;
  color: #434334;
  letter-spacing: .02em;
  white-space: nowrap;
}
.nc-customer {
  display: block;
  color: #34362d;
  font-size: 12px;
  font-weight: 650;
  min-width: 120px;
  max-width: 170px;
}
.nc-phone {
  display: block;
  font-size: 10px;
  color: #99978a;
  margin-top: 4px;
  text-align: start;
  letter-spacing: .035em;
}
.nc-order-status {
  display: inline-block;
  font-size: 11px;
  max-width: 150px;
  overflow-wrap: anywhere;
  color: #666859;
}
.nc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.6;
  white-space: nowrap;
  background: #f0f0eb;
  color: #838278;
}
.nc-badge:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.nc-badge-sent {
  background: #eaf5ed;
  color: #398354;
}
.nc-badge-failed {
  background: #fff0ec;
  color: #b34f3c;
}
.nc-badge-recorded {
  background: #f8f0de;
  color: #9c7b36;
}
.nc-badge-pending {
  background: #efefea;
  color: #8a897e;
}
.nc-time {
  font-size: 11px;
  white-space: nowrap;
  color: #898778;
  display: inline-block;
}
.nc-screen .nc-detail-button {
  border: 1px solid #e5e1d5;
  border-radius: 8px;
  background: #fff;
  padding: 6px 10px;
  color: #7e6d43;
  font-size: 11px;
  min-height: 32px;
  white-space: nowrap;
}
.nc-table .nc-detail-row > td {
  background: #faf9f5;
  padding: 0 18px;
}
.nc-history-panel {
  padding: 17px 0;
}
.nc-screen .nc-history-panel h3 {
  font-size: 12px;
  color: #6d6c60;
  margin: 0 0 12px;
  font-weight: 650;
}
.nc-history {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.nc-history > li {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #ebe7db;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.nc-history-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: 12px;
}
.nc-history time {
  color: #929080;
  font-size: 11px;
  white-space: nowrap;
}
.nc-error-text {
  width: 100%;
  font-size: 12px;
  color: #b64b38;
  margin: 0;
}
.nc-muted {
  font-size: 12px;
  color: #8b887c;
  line-height: 1.8;
}
.nc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 0 5px;
}
.nc-pagination > span {
  color: #8d8879;
  font-size: 12px;
}
.nc-pagination strong {
  color: #4e4d40;
  font-weight: 600;
}
.nc-pagination .nc-button {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 12px;
}
.nc-empty {
  background: #fff;
  border: 1px dashed #dfdacb;
  border-radius: 14px;
  text-align: center;
  padding: 35px 18px;
  color: #a3987b;
}
.nc-empty svg {
  margin-bottom: 9px;
}
.nc-screen .nc-empty h3 {
  font-size: 15px;
  color: #635f50;
  margin: 0;
}
.nc-empty p {
  font-size: 12px;
  color: #98907d;
  margin: 6px 0 0;
}
.nc-mobile-orders {
  display: none;
}
.nc-settings {
  min-width: 0;
}
@media (max-width:1150px) {
  .nc-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nc-filter-grid > .nc-filter:first-child {
    grid-column: span 2;
  }
}
@media (max-width:760px) {
  .nc-screen .nc-tabs {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
  }
  .nc-tabs button {
    flex: 1;
    padding: 10px 8px;
    font-size: 12px;
  }
  .nc-heading {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .nc-screen .nc-heading h2 {
    font-size: 20px;
  }
  .nc-heading p {
    font-size: 12px;
    max-width: 260px;
  }
  .nc-screen .nc-refresh {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 12px;
  }
  .nc-filter-panel {
    padding: 15px;
    border-radius: 13px;
  }
  .nc-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 10px;
  }
  .nc-filter-grid > .nc-filter:first-child {
    grid-column: 1/-1;
  }
  .nc-screen .nc-filter select {
    font-size: 12px;
  }
  .nc-search > span,
  .nc-filter > span {
    font-size: 11px;
  }
  .nc-screen .nc-search input {
    font-size: 12px;
  }
  .nc-results-bar {
    align-items: flex-start;
    margin-top: 18px;
    gap: 10px;
  }
  .nc-results-bar > span {
    justify-content: flex-end;
    max-width: 180px;
    line-height: 1.8;
    font-size: 10px;
  }
  .nc-results-bar p {
    font-size: 12px;
    white-space: nowrap;
  }
  .nc-table-wrap {
    display: none;
  }
  .nc-mobile-orders {
    display: grid;
    gap: 12px;
  }
  .nc-order-card {
    border: 1px solid var(--nc-line);
    background: #fff;
    border-radius: 13px;
    padding: 16px;
    min-width: 0;
  }
  .nc-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .nc-card-heading .nc-order {
    font-size: 14px;
    font-weight: 750;
  }
  .nc-card-customer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
  }
  .nc-card-customer strong {
    font-size: 14px;
    color: #36382e;
  }
  .nc-card-customer bdi {
    font-size: 11px;
    color: #96907f;
    letter-spacing: .03em;
  }
  .nc-order-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 16px;
    margin: 0;
    padding-top: 13px;
    border-top: 1px solid #f0ede5;
  }
  .nc-order-card dl > div {
    min-width: 0;
  }
  .nc-order-card dt {
    font-size: 10px;
    color: #a09885;
    margin: 0 0 4px;
  }
  .nc-order-card dd {
    margin: 0;
    color: #63624f;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .nc-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #f0ede5;
    margin-top: 15px;
    padding-top: 13px;
  }
  .nc-card-bottom > span {
    display: grid;
    gap: 4px;
    color: #a09885;
    font-size: 10px;
  }
  .nc-card-bottom time {
    font-size: 11px;
    color: #827d6a;
  }
  .nc-card-bottom .nc-detail-button {
    min-height: 35px;
    padding: 7px 13px;
  }
  .nc-order-card .nc-history-panel {
    border-top: 1px solid #f0ede5;
    margin-top: 14px;
    padding: 14px 0 0;
  }
  .nc-history > li {
    gap: 8px;
    padding: 10px;
  }
  .nc-history-title {
    flex-basis: 100%;
    justify-content: space-between;
    font-size: 11px;
  }
  .nc-pagination {
    gap: 14px;
    padding-top: 20px;
  }
  .nc-pagination .nc-button {
    padding: 7px 12px;
  }
  .nc-empty {
    padding: 27px 14px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .nc-screen * {
    scroll-behavior: auto !important;
  }
}
.nc-screen .nc-filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.nc-screen .nc-filter-grid > .nc-search {
  grid-column: 1/-1;
}
.nc-screen .nc-secondary-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 15px;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid #eeece4;
}
.nc-screen .nc-heading > .btn,
.nc-screen .nc-secondary-filters > .btn,
.nc-screen .nc-pagination > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px !important;
  border: 1px solid #ded9cd !important;
  background: #fff !important;
  color: #555247 !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  white-space: nowrap;
}
.nc-screen .nc-heading > .btn {
  background: #292a23 !important;
  color: #fff !important;
  border-color: #292a23 !important;
}
.nc-results-line {
  display: block;
  font-size: 12px !important;
  color: #8b8677 !important;
  margin: 19px 2px 13px !important;
}
.nc-screen .nc-table td > strong {
  font-size: 12px;
  font-weight: 650;
  color: #34362d;
}
.nc-screen .nc-table td > small {
  font-size: 10px !important;
  color: #999385;
  letter-spacing: .02em;
  margin-top: 4px;
}
.nc-screen .nc-table td > bdi {
  font-size: 11px;
  white-space: nowrap;
}
.nc-screen .nc-table td > .btn {
  font-size: 11px !important;
  padding: 6px 10px !important;
  min-height: 32px;
  background: #fff !important;
  color: #86713d !important;
  border: 1px solid #e5dfd0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  white-space: nowrap;
}
.nc-screen .nc-table td[colspan] {
  background: #faf9f4;
}
.nc-screen .nc-pagination {
  margin: 0 !important;
}
@media (max-width:760px) {
  .nc-screen .nc-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nc-screen .nc-filter-grid > .nc-search {
    grid-column: 1/-1;
  }
  .nc-screen .nc-filter-grid > .nc-filter:last-child {
    grid-column: 1/-1;
  }
  .nc-screen .nc-secondary-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 10px;
  }
  .nc-screen .nc-secondary-filters > .btn {
    grid-column: 1/-1;
    width: 100%;
    min-height: 38px;
  }
  .nc-screen .nc-table-wrap {
    display: block;
    border: 0;
    background: none;
    overflow: visible;
  }
  .nc-screen .nc-table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .nc-screen .nc-table thead {
    display: none;
  }
  .nc-screen .nc-table tbody {
    display: grid;
    gap: 12px;
  }
  .nc-screen .nc-table tbody > tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #e8e4d8;
    border-radius: 12px;
    background: #fff;
    padding: 9px 10px;
    min-width: 0;
  }
  .nc-screen .nc-table td {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 9px 7px;
    border: 0;
    min-width: 0;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .nc-screen .nc-table td:before {
    content: attr(data-label);
    font-size: 10px;
    color: #a19a85;
    line-height: 1.5;
  }
  .nc-screen .nc-table td:first-child,
  .nc-screen .nc-table td:nth-child(2),
  .nc-screen .nc-table td:last-child {
    grid-column: 1/-1;
  }
  .nc-screen .nc-table td:first-child {
    font-size: 14px;
    font-weight: 700;
    color: #464232;
    border-bottom: 1px solid #f1ede1;
    padding-bottom: 12px;
  }
  .nc-screen .nc-table td:nth-child(2) {
    font-weight: 600;
  }
  .nc-screen .nc-table td:nth-child(8) {
    font-size: 10px;
  }
  .nc-screen .nc-table td:last-child > .btn {
    width: 100%;
    min-height: 36px;
    margin-top: 4px;
  }
  .nc-screen .nc-table td:last-child:before {
    display: none;
  }
  .nc-screen .nc-table td[colspan] {
    grid-column: 1/-1;
    background: transparent;
    font-size: 12px;
    font-weight: 400;
    border: 0;
  }
  .nc-screen .nc-table td[colspan]:before {
    display: none;
  }
  .nc-screen .nc-heading p {
    max-width: 240px;
  }
  .nc-screen .nc-pagination > .btn {
    min-height: 36px !important;
    padding: 8px 12px !important;
  }
}
