.bp-orders,
.bp-orders * {
  box-sizing: border-box;
}

.bp-orders-container {
  padding-top: 30px;
  padding-bottom: 8px;
}

.bp-orders {
  --bp-orders-navy: #071a38;
  --bp-orders-blue: #176fc9;
  --bp-orders-blue-soft: #eef6ff;
  --bp-orders-blue-active: #dfeeff;
  --bp-orders-border: #d9e2ee;
  --bp-orders-muted: #667791;
  --bp-orders-surface: #ffffff;
  --bp-orders-ready: #258330;
  --bp-orders-ready-bg: #e3f4e4;
  --bp-orders-processing: #bd6500;
  --bp-orders-processing-bg: #fff1d8;
  --bp-orders-error: #d8242f;
  --bp-orders-error-bg: #ffe5e7;
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  margin: 0 0 54px;
  overflow: hidden;
  color: var(--bp-orders-navy);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  background: var(--bp-orders-surface);
  border: 0;
  border-radius: 0;
  box-shadow: 0 3px 16px rgba(25, 42, 64, 0.16);
}

.bp-orders button,
.bp-orders select,
.bp-orders input {
  color: inherit;
}

.bp-orders button:focus-visible,
.bp-orders a:focus-visible {
  outline: 3px solid rgba(23, 111, 201, 0.24);
  outline-offset: 2px;
}

.bp-orders-services {
  position: relative;
  z-index: 2;
  min-width: 0;
  border-right: 1px solid var(--bp-orders-border);
  background: linear-gradient(180deg, #fbfdff 0%, #f7faff 100%);
}

.bp-orders-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 8px 5px;
  color: #31445f;
  text-align: center;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.bp-orders-service i {
  font-size: 20px;
}

.bp-orders-service span {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
}

.bp-orders-service:hover {
  color: var(--bp-orders-blue);
  background: var(--bp-orders-blue-soft);
}

.bp-orders-service.is-active {
  color: var(--bp-orders-blue);
  background: var(--bp-orders-blue-active);
  border-left-color: var(--bp-orders-blue);
}

.bp-orders-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0;
  min-width: 0;
  transition: grid-template-columns 220ms ease;
}

.bp-orders.is-detail-open .bp-orders-workspace {
  grid-template-columns: minmax(520px, 58%) minmax(390px, 42%);
}

.bp-orders-master {
  min-width: 0;
  padding: 26px 28px 14px;
  transition: padding 220ms ease;
}

.bp-orders-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.bp-orders-header h1 {
  margin: 0 0 5px;
  color: var(--bp-orders-navy);
  font-family: Roboto, "Open Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.bp-orders-header p {
  margin: 0;
  color: var(--bp-orders-muted);
  font-size: 13px;
  line-height: 1.5;
}

.bp-orders-new {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 17px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: var(--bp-orders-blue);
  border: 1px solid var(--bp-orders-blue);
  border-radius: 7px;
  box-shadow: 0 7px 16px rgba(23, 111, 201, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.bp-orders-new:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(23, 111, 201, 0.25);
}

.bp-orders-filters {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 390px;
  gap: 12px 14px;
  margin-bottom: 20px;
}

.bp-orders-filters--search-only {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bp-orders-filters--search-only .bp-orders-search {
  flex: 1 1 auto;
}

.bp-orders-search-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: stretch;
  gap: 10px;
}

.bp-orders-search-actions .bp-orders-apply {
  margin-left: 0;
}

.bp-orders-search {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #283c59;
  background: #ffffff;
  border: 1px solid var(--bp-orders-border);
  border-radius: 7px;
}

.bp-orders-search {
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 13px;
}

.bp-orders-search i {
  flex: 0 0 auto;
  color: #52657d;
  font-size: 16px;
}

.bp-orders-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 11px;
  font-size: 14px;
  background: transparent;
  border: 0;
  outline: 0;
}

.bp-orders-search input:focus {
  outline: 0;
  box-shadow: none;
}

.bp-orders-search:focus-within {
  border-color: #72aff0;
  box-shadow: 0 0 0 3px rgba(23, 111, 201, 0.09);
}

.bp-orders-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-height: 44px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--bp-orders-border);
  border-radius: 7px;
  cursor: pointer;
}

.bp-orders-apply:hover {
  color: var(--bp-orders-blue);
  background: var(--bp-orders-blue-soft);
}

.bp-orders-reset {
  color: var(--bp-orders-blue);
  font-size: 13px;
  text-decoration: none;
}

.bp-orders-table-head,
.bp-orders-row {
  display: grid;
  grid-template-columns: 140px minmax(250px, 1.6fr) 105px 82px minmax(150px, 0.75fr) 32px;
  align-items: center;
  gap: 10px;
}

.bp-orders-table-head {
  min-height: 38px;
  padding: 0 15px;
  color: var(--bp-orders-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.bp-orders-head-code {
  display: none;
}

.bp-orders-head-files,
.bp-orders-head-code {
  text-align: right;
}

.bp-orders[data-service="feature_installer"] .bp-orders-head-files,
.bp-orders[data-service="mapfsc"] .bp-orders-head-files {
  display: none;
}

.bp-orders[data-service="feature_installer"] .bp-orders-head-code,
.bp-orders[data-service="mapfsc"] .bp-orders-head-code {
  display: block;
}

.bp-orders-list {
  position: relative;
  min-height: 84px;
  overflow: hidden;
  border: 1px solid var(--bp-orders-border);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(31, 55, 85, 0.035);
}

.bp-orders-row {
  position: relative;
  min-height: 66px;
  padding: 9px 12px 9px 15px;
  background: #ffffff;
  border-bottom: 1px solid var(--bp-orders-border);
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.bp-orders-row:last-child {
  border-bottom: 0;
}

.bp-orders-row:hover {
  background: #fbfdff;
}

.bp-orders-row.is-selected {
  background: #f2f8ff;
  box-shadow: inset 3px 0 0 var(--bp-orders-blue);
}

.bp-orders-row__service,
.bp-orders-row__identity,
.bp-orders-row__date {
  min-width: 0;
}

.bp-orders-row__service {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.bp-orders-row__icon {
  display: inline-flex;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 32px;
  font-size: 17px;
}

.bp-orders-row__service > span:last-child {
  padding: 5px 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #eef4fb;
  border-radius: 4px;
}

.bp-orders-row__identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-orders-row__identity strong {
  overflow: hidden;
  font-family: Roboto, "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bp-orders-row__identity span,
.bp-orders-row__date {
  color: var(--bp-orders-muted);
  font-size: 11px;
}

.bp-orders-row__date {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.bp-orders-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border-radius: 5px;
}

.bp-orders-badge.is-ready {
  color: var(--bp-orders-ready);
  background: var(--bp-orders-ready-bg);
}

.bp-orders-badge.is-processing {
  color: var(--bp-orders-processing);
  background: var(--bp-orders-processing-bg);
}

.bp-orders-badge.is-error {
  color: var(--bp-orders-error);
  background: var(--bp-orders-error-bg);
}

.bp-orders-badge.is-neutral {
  color: #52657d;
  background: #eef2f6;
}

.bp-order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.bp-order-action {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  min-height: 34px;
  padding: 5px 7px;
  color: #19324f;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--bp-orders-border);
  border-radius: 6px;
}

.bp-order-action:hover {
  color: var(--bp-orders-blue);
  border-color: #9fc7ef;
  background: var(--bp-orders-blue-soft);
}

.bp-order-action.is-result {
  justify-content: center;
  min-width: 92px;
  padding-right: 12px;
  padding-left: 12px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--bp-orders-blue);
  border-color: var(--bp-orders-blue);
  box-shadow: 0 5px 12px rgba(23, 111, 201, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.bp-order-action.is-result i {
  font-size: 12px;
}

.bp-order-action.is-result:hover {
  color: #ffffff;
  background: #125da9;
  border-color: #125da9;
  box-shadow: 0 7px 16px rgba(23, 111, 201, 0.28);
  transform: translateY(-1px);
}

.bp-order-action span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-order-result-code {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  overflow: hidden;
  color: #14345b;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  user-select: all;
  background: #eef6ff;
  border: 1px solid #b9d7f5;
  border-radius: 5px;
  cursor: text;
}

.bp-orders-progress {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-width: 130px;
  color: var(--bp-orders-muted);
  font-size: 10px;
}

.bp-orders-progress i {
  position: relative;
  display: block;
  height: 4px;
  overflow: hidden;
  background: #d8e0e9;
  border-radius: 4px;
}

.bp-orders-progress i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  content: "";
  background: var(--bp-orders-blue);
  border-radius: inherit;
  animation: bp-orders-progress 1.8s ease-in-out infinite alternate;
}

@keyframes bp-orders-progress {
  from { width: 25%; }
  to { width: 78%; }
}

.bp-orders-row__open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 19px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.bp-orders-row__open:hover {
  color: var(--bp-orders-blue);
  background: var(--bp-orders-blue-soft);
}

.bp-orders-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 310px;
  padding: 35px;
  text-align: center;
}

.bp-orders-empty > i {
  margin-bottom: 14px;
  color: #9aabc0;
  font-size: 42px;
}

.bp-orders-empty.is-error > i {
  color: var(--bp-orders-error);
}

.bp-orders-empty h2 {
  margin: 0 0 7px;
  font-size: 20px;
}

.bp-orders-empty p {
  margin: 0 0 16px;
  color: var(--bp-orders-muted);
}

.bp-orders-empty a {
  color: var(--bp-orders-blue);
  font-weight: 700;
}

.bp-orders-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding-top: 12px;
}

.bp-orders-count,
.bp-orders-count label,
.bp-orders-pagination {
  display: flex;
  align-items: center;
}

.bp-orders-count {
  gap: 25px;
  color: var(--bp-orders-muted);
  font-size: 11px;
}

.bp-orders-count label {
  gap: 5px;
  margin: 0;
}

.bp-orders-count select {
  min-width: 58px;
  padding: 0 6px;
  border: 1px solid var(--bp-orders-border);
  border-radius: 5px;
}

.bp-orders-pagination {
  justify-content: flex-end;
  gap: 4px;
}

.bp-orders-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 7px;
  color: var(--bp-orders-navy);
  font-size: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 5px;
}

.bp-orders-page:hover {
  color: var(--bp-orders-blue);
  background: var(--bp-orders-blue-soft);
}

.bp-orders-page.is-current {
  color: var(--bp-orders-blue);
  font-weight: 700;
  background: #f1f7fe;
  border-color: #9fc7ef;
}

.bp-orders-page.is-disabled {
  color: #acb8c6;
}

.bp-orders-page.is-ellipsis {
  min-width: 24px;
}

.bp-orders-drawer {
  min-width: 0;
  overflow: hidden;
  visibility: hidden;
  background: #ffffff;
  border-left: 0 solid var(--bp-orders-border);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease, border-width 180ms ease;
}

.bp-orders.is-detail-open .bp-orders-drawer {
  overflow: auto;
  visibility: visible;
  border-left-width: 1px;
  opacity: 1;
}

.bp-orders-drawer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--bp-orders-border);
}

.bp-orders-drawer__close,
.bp-orders-drawer__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  color: #40546d;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.bp-orders-drawer__close {
  padding: 6px 9px;
  font-size: 13px;
}

.bp-orders-drawer__x {
  width: 36px;
  padding: 0;
  font-size: 17px;
}

.bp-orders-drawer__close:hover,
.bp-orders-drawer__x:hover {
  color: var(--bp-orders-blue);
  background: var(--bp-orders-blue-soft);
}

.bp-orders-drawer__body {
  min-width: 390px;
}

.bp-orders-detail {
  min-height: 100%;
  padding: 22px 24px 0;
}

.bp-orders-detail__header {
  padding-bottom: 18px;
}

.bp-orders-detail__header > p {
  margin: 0 0 7px;
  color: #40546d;
  font-size: 14px;
}

.bp-orders-detail__header h2 {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.18;
}

.bp-orders-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--bp-orders-muted);
  font-size: 13px;
}

.bp-orders-detail__meta strong {
  color: var(--bp-orders-navy);
}

.bp-orders-detail__section {
  padding: 18px 0;
  border-top: 1px solid #e8edf3;
}

.bp-orders-detail__section h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 13px;
  font-size: 15px;
}

.bp-orders-detail__section h3 > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  color: #64758b;
  font-size: 10px;
  background: #edf1f5;
  border-radius: 5px;
}

.bp-orders-files {
  display: grid;
  gap: 8px;
}

.bp-orders-file {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid var(--bp-orders-border);
  border-radius: 7px;
}

.bp-orders-file > i {
  font-size: 20px;
  text-align: center;
}

.bp-orders-file > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.bp-orders-file strong {
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bp-orders-file div span {
  color: var(--bp-orders-muted);
  font-size: 11px;
}

.bp-orders-file__download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  color: #18324f;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid var(--bp-orders-border);
  border-radius: 5px;
}

.bp-orders-file__download:hover {
  color: var(--bp-orders-blue);
  background: var(--bp-orders-blue-soft);
  border-color: #9fc7ef;
}

.bp-orders-file-pending {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 12px;
  color: var(--bp-orders-muted);
  font-size: 12px;
  background: #f7f9fc;
  border-radius: 6px;
}

.bp-orders-detail__data dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.bp-orders-detail__data dl > div {
  min-width: 0;
  padding: 10px;
  background: #f7f9fc;
  border-radius: 6px;
}

.bp-orders-detail__data dl > .is-wide {
  grid-column: 1 / -1;
}

.bp-orders-detail__data dt {
  margin-bottom: 3px;
  color: var(--bp-orders-muted);
  font-size: 11px;
  font-weight: 400;
}

.bp-orders-detail__data dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 600;
}

.bp-orders-detail__data code {
  display: block;
  max-height: 130px;
  padding: 12px;
  overflow: auto;
  color: #233750;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  white-space: pre-wrap;
  background: #edf2f7;
  border-radius: 4px;
}

.bp-orders-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-orders-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 10px;
  min-height: 50px;
}

.bp-orders-timeline li:not(:last-child)::after {
  position: absolute;
  top: 23px;
  bottom: 0;
  left: 10px;
  width: 1px;
  content: "";
  background: #b8c8da;
}

.bp-orders-timeline li > i {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  color: #ffffff;
  font-size: 10px;
  background: #9eb0c4;
  border-radius: 50%;
}

.bp-orders-timeline li.is-done > i {
  background: #32a344;
}

.bp-orders-timeline li.is-active > i {
  background: var(--bp-orders-blue);
}

.bp-orders-timeline li.is-error > i {
  background: var(--bp-orders-error);
}

.bp-orders-timeline li.is-refund > i {
  background: var(--bp-orders-blue);
}

.bp-orders-timeline li.is-refund strong {
  color: var(--bp-orders-blue);
}

.bp-orders-timeline li > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
}

.bp-orders-timeline time {
  color: var(--bp-orders-muted);
}

.bp-orders-detail__footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px -24px 0;
  padding: 14px 24px;
  border-top: 1px solid var(--bp-orders-border);
}

.bp-orders-detail__footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  color: #1f3550;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid var(--bp-orders-border);
  border-radius: 6px;
}

.bp-orders-detail__footer a:hover {
  color: var(--bp-orders-blue);
  background: var(--bp-orders-blue-soft);
}

.bp-orders-overlay {
  display: none;
}

.bp-orders-ajax-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  place-items: center;
  background: rgba(255, 255, 255, 0.82);
}

.bp-orders.is-loading .bp-orders-ajax-loader {
  display: grid;
}

.bp-orders-ajax-loader__pulse {
  position: relative;
  width: 76px;
  height: 76px;
}

.bp-orders-ajax-loader__pulse::before,
.bp-orders-ajax-loader__pulse::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.bp-orders-ajax-loader__pulse::before {
  width: 76px;
  height: 76px;
  background: var(--bp-orders-blue);
  opacity: 0.2;
  animation: bp-orders-loader-outer 1s infinite ease;
}

.bp-orders-ajax-loader__pulse::after {
  width: 32px;
  height: 32px;
  background: var(--bp-orders-blue);
  animation: bp-orders-loader-inner 1s infinite -0.32s ease;
}

@keyframes bp-orders-loader-outer {
  0%, 80%, 100% { transform: translate(-50%, -50%) scale(1); }
  40% { transform: translate(-50%, -50%) scale(0.58); }
}

@keyframes bp-orders-loader-inner {
  0%, 80%, 100% { transform: translate(-50%, -50%) scale(1); }
  40% { transform: translate(-50%, -50%) scale(0.5); }
}

.bp-orders-status-error {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  max-width: 320px;
  padding: 11px 14px;
  color: #ffffff;
  font-size: 12px;
  background: #bd2530;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(30, 40, 55, 0.25);
}

.bp-orders.is-detail-open .bp-orders-master {
  padding-right: 20px;
  padding-left: 20px;
}

.bp-orders.is-detail-open .bp-orders-header > div > p,
.bp-orders.is-detail-open .bp-orders-new span,
.bp-orders.is-detail-open .bp-orders-table-head {
  display: none;
}

.bp-orders.is-detail-open .bp-orders-filters {
  grid-template-columns: minmax(210px, 1fr) auto;
}

.bp-orders.is-detail-open .bp-orders-row {
  grid-template-columns: 112px minmax(0, 1fr) 96px 34px;
}

.bp-orders.is-detail-open .bp-orders-row__date,
.bp-orders.is-detail-open .bp-order-actions {
  display: none;
}

@media (max-width: 1280px) {
  .bp-orders-table-head,
  .bp-orders-row {
    grid-template-columns: 110px minmax(160px, 1.35fr) 112px 90px minmax(145px, 1fr) 34px;
    gap: 9px;
  }

}

@media (max-width: 1120px) {
  body.bp-orders-drawer-open {
    overflow: hidden;
  }

  .bp-orders.is-detail-open .bp-orders-workspace {
    grid-template-columns: minmax(0, 1fr) 0;
  }

  .bp-orders-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    width: min(520px, 92vw);
    overflow: auto;
    border-left-width: 1px;
    box-shadow: -16px 0 40px rgba(16, 34, 58, 0.2);
    transform: translateX(104%);
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .bp-orders.is-detail-open .bp-orders-drawer {
    transform: translateX(0);
  }

  .bp-orders.is-detail-open .bp-orders-master {
    padding: 22px 24px 12px;
  }

  .bp-orders.is-detail-open .bp-orders-header > div > p,
  .bp-orders.is-detail-open .bp-orders-new span,
  .bp-orders.is-detail-open .bp-orders-table-head {
    display: flex;
  }

  .bp-orders.is-detail-open .bp-orders-row {
    grid-template-columns: 110px minmax(160px, 1.35fr) 112px 90px minmax(145px, 1fr) 34px;
  }

  .bp-orders.is-detail-open .bp-orders-row__date,
  .bp-orders.is-detail-open .bp-order-actions {
    display: flex;
  }

  .bp-orders-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(4, 18, 38, 0.46);
    border: 0;
  }

  .bp-orders.is-detail-open .bp-orders-overlay {
    display: block;
  }
}

@media (max-width: 900px) {
  .bp-orders {
    grid-template-columns: 1fr;
  }

  .bp-orders-services {
    border-right: 0;
    border-bottom: 1px solid var(--bp-orders-border);
  }

  .bp-orders-services__scroll {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .bp-orders-service {
    flex: 0 0 70px;
    min-height: 68px;
    border-bottom: 3px solid transparent;
    border-left: 0;
  }

  .bp-orders-service.is-active {
    color: var(--bp-orders-blue);
    background: var(--bp-orders-blue-active);
    border-bottom-color: var(--bp-orders-blue);
  }

  .bp-orders-filters {
    grid-template-columns: 1fr;
  }

  .bp-orders-apply {
    margin-left: auto;
  }

  .bp-orders-table-head {
    display: none;
  }

  .bp-orders-row,
  .bp-orders.is-detail-open .bp-orders-row {
    grid-template-areas:
      "service status open"
      "identity identity open"
      "date actions actions";
    grid-template-columns: minmax(0, 1fr) auto 34px;
    gap: 6px 10px;
    min-height: 112px;
  }

  .bp-orders-row__service { grid-area: service; }
  .bp-orders-row__identity { grid-area: identity; }
  .bp-orders-row__date { grid-area: date; }
  .bp-orders-row__status { grid-area: status; }
  .bp-order-actions { grid-area: actions; justify-content: flex-end; }
  .bp-orders-row__open { grid-area: open; align-self: center; }

  .bp-orders.is-detail-open .bp-orders-row__date,
  .bp-orders.is-detail-open .bp-order-actions {
    display: flex;
  }
}

@media (max-width: 640px) {
  .bp-orders-filters--search-only {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: start;
    gap: 6px 8px;
  }

  .bp-orders-filters--search-only .bp-orders-search {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  .bp-orders-search-actions {
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    align-items: flex-end;
    align-self: start;
    width: 44px;
    gap: 5px;
  }

  .bp-orders-search-actions .bp-orders-reset {
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .bp-orders {
    width: 100%;
    margin: 0 0 35px;
    border-radius: 0;
  }

  .bp-orders-master {
    padding: 18px 12px 10px;
  }

  .bp-orders-header {
    align-items: center;
  }

  .bp-orders-header h1 {
    font-size: 23px;
  }

  .bp-orders-header p {
    display: none;
  }

  .bp-orders-new {
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .bp-orders-new span {
    display: none;
  }

  .bp-orders-apply {
    width: 44px;
    min-width: 44px;
    padding: 0;
    margin-left: 0;
  }

  .bp-orders-apply span {
    display: none;
  }

  .bp-orders-row__service > span:last-child {
    max-width: 110px;
  }

  .bp-orders-row,
  .bp-orders.is-detail-open .bp-orders-row {
    grid-template-areas:
      "service status"
      "identity open"
      "date actions";
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 8px 12px;
    min-height: 0;
    padding: 14px 15px;
  }

  .bp-orders-row__status,
  .bp-orders-row__open {
    justify-self: end;
  }

  .bp-order-actions {
    width: 100%;
  }

  .bp-orders-progress {
    min-width: 90px;
  }

  .bp-orders-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 0;
  }

  .bp-orders-count {
    justify-content: space-between;
    gap: 12px;
  }

  .bp-orders-count label > span:last-child {
    display: none;
  }

  .bp-orders-pagination {
    justify-content: center;
    overflow-x: auto;
  }

  .bp-orders-drawer {
    width: 100vw;
  }

  .bp-orders-drawer__body {
    min-width: 0;
  }

  .bp-orders-detail {
    padding: 18px 15px 0;
  }

  .bp-orders-detail__data dl {
    grid-template-columns: 1fr;
  }

  .bp-orders-detail__data dl > .is-wide {
    grid-column: auto;
  }

  .bp-orders-detail__footer {
    margin-right: -15px;
    margin-left: -15px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .bp-orders-file {
    grid-template-columns: 26px minmax(0, 1fr) 38px;
  }

  .bp-orders-file__download {
    justify-content: center;
    width: 36px;
    padding: 5px;
  }

  .bp-orders-file__download span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-orders-workspace,
  .bp-orders-drawer,
  .bp-orders-new,
  .bp-orders-progress i::after,
  .bp-orders-ajax-loader__pulse::before,
  .bp-orders-ajax-loader__pulse::after {
    transition: none;
    animation: none;
  }
}
.error.ncd-ok.bp-auth-required,
.form-container > .error.ncd-ok.bp-auth-required {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 32px 34px;
    color: #10233f;
    text-align: left;
    background: linear-gradient(135deg, #f5f9fe 0%, #fff 70%);
    border: 1px solid #d6e4f3;
    border-left: 4px solid #176fc9;
    box-shadow: 0 10px 28px rgba(21, 67, 112, .09);
}

.error.ncd-ok.bp-auth-required > .bp-auth-required__icon,
.form-container > .error.ncd-ok.bp-auth-required > .bp-auth-required__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin: 0;
    color: #176fc9;
    background: #e7f2fd;
    border: 1px solid #c9dff5;
    border-radius: 50%;
}

.error.ncd-ok.bp-auth-required .bp-auth-required__icon i {
    color: inherit !important;
    font-size: 30px;
    line-height: 1;
}

.error.ncd-ok.bp-auth-required > .bp-auth-required__content,
.form-container > .error.ncd-ok.bp-auth-required > .bp-auth-required__content {
    min-width: 0;
    margin: 0;
}

.bp-auth-required__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #176fc9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.bp-auth-required h2 {
    margin: 0 0 8px;
    color: #0b1d36;
    font-size: 23px;
    line-height: 1.25;
}

.bp-auth-required p {
    max-width: 680px;
    margin: 0 0 18px;
    color: #5e7089;
    font-size: 14px;
    line-height: 1.55;
}

.form-container .bp-auth-required__button,
.bp-auth-required__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    min-height: 42px;
    margin: 0;
    padding: 10px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    background: #176fc9;
    border: 1px solid #176fc9;
    border-radius: 5px;
    box-shadow: 0 7px 17px rgba(23, 111, 201, .2);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.form-container .bp-auth-required__button:hover,
.bp-auth-required__button:hover {
    color: #fff;
    background: #0f5fae;
    border-color: #0f5fae;
    box-shadow: 0 9px 21px rgba(23, 111, 201, .26);
    transform: translateY(-1px);
}

.bp-auth-required__button i {
    color: inherit !important;
    font-size: 14px !important;
}

@media (max-width: 640px) {
    .error.ncd-ok.bp-auth-required,
    .form-container > .error.ncd-ok.bp-auth-required {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 18px;
    }

    .error.ncd-ok.bp-auth-required > .bp-auth-required__icon,
    .form-container > .error.ncd-ok.bp-auth-required > .bp-auth-required__icon {
        width: 50px;
        height: 50px;
        align-self: start;
    }

    .error.ncd-ok.bp-auth-required .bp-auth-required__icon i {
        font-size: 21px;
    }

    .bp-auth-required h2 {
        font-size: 19px;
    }

    .bp-auth-required p {
        font-size: 13px;
    }

    .form-container .bp-auth-required__button,
    .bp-auth-required__button {
        width: 100%;
        padding-right: 12px;
        padding-left: 12px;
    }
}
