body.order-ux-page {
  background: #f3f6f7;
}

.order-ux-page .order-main-card,
.order-ux-page .order-article-search-panel,
.order-ux-page #datos_empresa_compra,
.order-ux-page #datos_empresa_recibe,
.order-ux-page #div_opciones,
.order-ux-page #div_subalmacen,
.order-ux-page .order-delivery-panel,
.order-ux-page .order-observation-panel,
.order-ux-page .table-responsive {
  position: relative;
  background: #fff;
  border: 1px solid #d7e0e5;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(28, 48, 62, 0.08);
}

.order-ux-page .order-main-card {
  min-height: 168px;
  padding: 44px 22px 20px 22px;
  vertical-align: top;
}

.order-ux-page .order-summary-card {
  border-top: 4px solid #2f9fc1;
}

.order-ux-page .order-provider-card {
  border-top: 4px solid #45616f;
}

.order-ux-page .order-main-card:before,
.order-ux-page #datos_empresa_compra:before,
.order-ux-page #datos_empresa_recibe:before,
.order-ux-page .order-delivery-panel:before {
  position: absolute;
  top: 14px;
  left: 20px;
  color: #5c7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-ux-page .order-summary-card:before {
  content: "Datos del pedido";
}

.order-ux-page .order-provider-card:before {
  content: "Proveedor";
}

.order-ux-page #datos_empresa_compra:before {
  content: "Quien compra";
  font-size: 13px;
}

.order-ux-page #datos_empresa_recibe:before {
  content: "A donde va";
  font-size: 13px;
}

.order-ux-page .order-delivery-panel:before {
  content: "Entrega y condiciones";
}

.order-ux-page .order-provider-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #142838 !important;
  font-weight: 700;
}

.order-ux-page .order-provider-card p,
.order-ux-page .order-summary-card p {
  color: #36515f;
}

.order-ux-page .order-provider-card .panel-body {
  padding: 10px 0 0 0;
}

.order-ux-page #datos_empresa_compra,
.order-ux-page #datos_empresa_recibe {
  min-height: 260px;
  padding: 44px 20px 18px 20px;
  border-top: 4px solid #45616f;
  border-color: #d7e0e5 !important;
}

.order-ux-page #datos_empresa_compra {
  width: calc(50% - 8px);
  margin-right: 16px;
}

.order-ux-page #datos_empresa_recibe {
  width: calc(50% - 8px);
}

.order-ux-page #datos_empresa_compra > h2,
.order-ux-page #datos_empresa_recibe > h2 {
  display: none;
}

.order-ux-page #datos_empresa_compra .panel-body,
.order-ux-page #datos_empresa_recibe .panel-body {
  padding: 0;
}

.order-ux-page #datos_empresa_compra h2,
.order-ux-page #datos_empresa_recibe h2 {
  margin-top: 0;
  color: #142838 !important;
  font-size: 22px;
  font-weight: 700;
}

.order-ux-page .order-placeholder-text {
  color: #7a8d98 !important;
  font-style: italic;
}

.order-ux-page #datos_empresa_compra p,
.order-ux-page #datos_empresa_recibe p {
  margin-bottom: 6px;
  color: #36515f;
}

.order-ux-page #div_opciones {
  clear: both;
  display: flex;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 18px;
  border-top: 4px solid #7b8b66;
}

.order-ux-page #div_opciones > .panel {
  float: none;
  padding-right: 0;
  padding-left: 0;
  margin-bottom: 0;
  border: 1px solid #d7e0e5;
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
}

.order-ux-page #div_opciones > .panel.col-lg-4 {
  flex: 0 0 32%;
  max-width: 32%;
}

.order-ux-page #div_opciones > .panel.col-lg-8 {
  flex: 1 1 auto;
  max-width: none;
}

.order-ux-page #div_opciones .panel-heading,
.order-ux-page #div_subalmacen .panel-heading {
  margin: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 10px 10px 0 0;
  background: #edf3f6;
  border-color: #d7e0e5;
  color: #142838;
  font-weight: 700;
}

.order-ux-page #div_opciones .panel-body,
.order-ux-page #div_subalmacen .panel-body {
  float: none;
  width: 100%;
  padding: 16px;
}

.order-ux-page #div_opciones input[type="radio"] {
  margin-right: 7px;
}

.order-ux-page #div_opciones label {
  margin-right: 18px;
  color: #233f4d;
}

.order-ux-page #estado_proyecto {
  border-color: #d7e0e5 !important;
  border-radius: 8px;
  background: #fbfdfe;
}

.order-ux-page #div_subalmacen {
  clear: both;
  margin-top: 0;
  margin-bottom: 16px;
  padding: 0;
  overflow: hidden;
}

.order-ux-page #alert_international_order {
  clear: both;
  border: 0;
  border-radius: 9px;
  background: #e8f5f8;
  color: #174b5d;
  box-shadow: inset 4px 0 0 #2f9fc1;
}

.order-ux-page #alert_catalogo_proveedor_pedido {
  margin-top: 14px;
  margin-bottom: 0;
  padding: 11px 14px;
  border: 0;
  border-radius: 9px;
  background: #e8f5f8;
  color: #174b5d;
  box-shadow: inset 4px 0 0 #2f9fc1;
}

.order-ux-page #alert_catalogo_proveedor_pedido:before {
  content: "Catalogo propio";
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #2f9fc1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.order-ux-page .order-article-search-panel {
  border-top: 4px solid #2f9fc1;
  margin-top: 18px;
}

.order-ux-page .order-article-search-panel > .panel-body {
  padding: 18px;
}

.order-ux-page .form-control,
.order-ux-page .bootstrap-select > .btn {
  height: 42px;
  border-color: #cbd7de;
  border-radius: 8px;
  box-shadow: none;
}

.order-ux-page .bootstrap-select {
  width: 100% !important;
}

.order-ux-page .bootstrap-select.open {
  z-index: 1060;
}

.order-ux-page .bootstrap-select .dropdown-menu {
  z-index: 1061;
}

.order-ux-page #div_opciones,
.order-ux-page #div_subalmacen,
.order-ux-page #div_opciones > .panel,
.order-ux-page #div_subalmacen > .panel,
.order-ux-page #div_opciones .panel-body,
.order-ux-page #div_subalmacen .panel-body,
.order-ux-page .order-select-overflow {
  overflow: visible !important;
}

.order-ux-page #div_opciones .bootstrap-select.open,
.order-ux-page #div_subalmacen .bootstrap-select.open {
  z-index: 1080;
}

.order-ux-page #div_opciones .bootstrap-select .dropdown-menu,
.order-ux-page #div_subalmacen .bootstrap-select .dropdown-menu {
  z-index: 1081;
}

.order-ux-page .bootstrap-select.dropup .dropdown-menu {
  top: 100%;
  bottom: auto;
}

.order-ux-page textarea.form-control {
  height: auto;
}

.order-ux-page .form-control:focus,
.order-ux-page .bootstrap-select.open > .btn,
.order-ux-page .bootstrap-select > .btn:focus {
  border-color: #2f9fc1;
  box-shadow: 0 0 0 3px rgba(47, 159, 193, 0.16);
  outline: none !important;
}

.order-ux-page .btn-info {
  height: 42px;
  background-image: none;
  background-color: #2f9fc1;
  border-color: #2789a7;
  font-weight: 700;
  box-shadow: none;
}

.order-ux-page .btn-info:hover,
.order-ux-page .btn-info:focus {
  background-color: #247f9d;
  border-color: #1f718b;
}

.order-ux-page #input_busqueda_nombre,
.order-ux-page #input_busqueda_codigo {
  position: relative;
  width: 100%;
}

.order-ux-page #catalogo_articulo_pedido_info,
.order-ux-page #alert_error_articulo {
  border: 0;
  border-radius: 9px;
  margin-top: 10px !important;
  box-shadow: inset 4px 0 0 rgba(47, 159, 193, 0.65);
}

.order-ux-page #alert_error_articulo {
  background: #fff4d8;
  color: #6b4c00;
  box-shadow: inset 4px 0 0 #e6a700;
}

.order-ux-page #suggestions {
  position: absolute;
  z-index: 50;
  top: 48px;
  left: 0;
  right: 0;
  display: block;
  width: auto;
  height: auto;
  max-height: 340px;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid #d8e3e9;
  background: #fff;
  box-shadow: 0 16px 42px rgba(28, 48, 62, 0.2);
}

.order-ux-page #suggestions:empty {
  display: none !important;
  box-shadow: none;
}

.order-ux-page #suggestions .suggest-element {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e0e8ed;
  padding: 11px 13px;
  cursor: pointer;
}

.order-ux-page #suggestions .suggest-element:hover {
  background: #f0f8fa;
}

.order-ux-page #suggestions .suggest-element:first-child {
  border-radius: 10px 10px 0 0;
}

.order-ux-page #suggestions .suggest-element:last-child {
  border-bottom: 0;
  border-radius: 0 0 10px 10px;
}

.order-ux-page .order-lines-wrapper {
  border-top: 4px solid #45616f;
  margin-top: 20px;
  overflow: visible;
}

.order-ux-page .order-delivery-panel {
  display: flex !important;
  clear: both;
  gap: 24px !important;
  justify-content: space-between !important;
  margin-top: 22px;
  padding: 44px 20px 20px 20px;
  border-top: 4px solid #2f9fc1;
}

.order-ux-page .order-delivery-panel > div {
  width: 50% !important;
}

.order-ux-page .order-delivery-panel h4 {
  margin: 0 0 10px 0;
  color: #142838;
  font-size: 15px;
  font-weight: 700;
}

.order-ux-page .order-delivery-panel i {
  color: #45616f;
}

.order-ux-page .order-delivery-panel .alert-info {
  border: 0;
  border-radius: 8px;
  background: #eef7fa;
  color: #174b5d;
}

.order-ux-page .order-observation-panel {
  clear: both;
  margin-top: 20px;
  padding: 20px;
  border-top: 4px solid #45616f;
}

.order-ux-page .order-observation-panel h3,
.order-ux-page .order-observation-title {
  margin: 0 0 12px 0;
  color: #142838;
  font-size: 16px;
}

.order-ux-page #observacion_pedido,
.order-ux-page #input_comentario_proveedor {
  width: 100% !important;
  min-height: 132px;
  padding: 12px;
  border: 1px solid #cbd7de;
  border-radius: 8px;
  box-shadow: none;
}

.order-ux-page #observacion_pedido:focus,
.order-ux-page #input_comentario_proveedor:focus {
  border-color: #2f9fc1;
  box-shadow: 0 0 0 3px rgba(47, 159, 193, 0.16);
  outline: none;
}

.order-ux-page .table-responsive > table.table {
  margin-bottom: 0;
}

.order-ux-page .table > thead > tr > th {
  background: #edf3f6 !important;
  border-color: #d4dee4 !important;
  color: #132838;
  font-size: 12px;
  vertical-align: middle;
}

.order-ux-page .table > tbody > tr > td {
  border-color: #e0e7ec;
  vertical-align: top;
}

.order-ux-page .table > tbody > tr:hover > td {
  background: #fbfdfe;
}

.order-ux-page .order-lines-wrapper table {
  table-layout: fixed;
}

.order-ux-page .order-lines-wrapper th:nth-child(1),
.order-ux-page .order-lines-wrapper td:nth-child(1) {
  width: 7%;
}

.order-ux-page .order-lines-wrapper th:nth-child(2),
.order-ux-page .order-lines-wrapper td:nth-child(2) {
  width: 33%;
}

.order-ux-page .order-lines-wrapper th:nth-child(3),
.order-ux-page .order-lines-wrapper td:nth-child(3),
.order-ux-page .order-lines-wrapper th:nth-child(4),
.order-ux-page .order-lines-wrapper td:nth-child(4),
.order-ux-page .order-lines-wrapper th:nth-child(10),
.order-ux-page .order-lines-wrapper td:nth-child(10) {
  width: 6%;
}

.order-ux-page .order-lines-wrapper th:nth-child(5),
.order-ux-page .order-lines-wrapper td:nth-child(5) {
  width: 7%;
}

.order-ux-page .order-lines-wrapper th:nth-child(7),
.order-ux-page .order-lines-wrapper td:nth-child(7) {
  width: 6%;
}

.order-ux-page .order-lines-wrapper th:nth-child(6),
.order-ux-page .order-lines-wrapper td:nth-child(6),
.order-ux-page .order-lines-wrapper th:nth-child(9),
.order-ux-page .order-lines-wrapper td:nth-child(9) {
  width: 5.5%;
}

.order-ux-page .order-lines-wrapper th:nth-child(8),
.order-ux-page .order-lines-wrapper td:nth-child(8) {
  width: 6%;
}

.order-ux-page .order-lines-wrapper th:nth-child(11),
.order-ux-page .order-lines-wrapper td:nth-child(11) {
  width: 5%;
}

.order-ux-page .order-lines-wrapper th:nth-child(12),
.order-ux-page .order-lines-wrapper td:nth-child(12) {
  width: 7%;
}

.order-ux-page .order-lines-wrapper td {
  padding: 10px 8px !important;
}

.order-ux-page .order-lines-wrapper td:nth-child(1),
.order-ux-page .order-lines-wrapper td:nth-child(8),
.order-ux-page .order-lines-wrapper td:nth-child(10) {
  overflow-wrap: anywhere;
}

.order-ux-page .order-lines-wrapper .form-control {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-left: 8px;
  padding-right: 8px;
}

.order-ux-page .order-lines-wrapper td:nth-child(5) .form-control,
.order-ux-page .order-lines-wrapper td:nth-child(9) .form-control {
  min-width: 0;
}

.order-ux-page .order-lines-wrapper textarea.form-control {
  min-height: 78px;
}

.order-ux-page .order-lines-wrapper input[type="number"].form-control {
  padding-left: 7px;
  padding-right: 2px;
}

.order-ux-page .order-lines-wrapper td:nth-child(6) .form-control {
  padding-left: 6px;
  padding-right: 6px;
}

.order-ux-page .order-lines-wrapper td:nth-child(11) {
  text-align: center;
}

.order-ux-page .order-lines-wrapper .cmn-toggle + label {
  width: 44px !important;
  height: 24px !important;
  padding: 2px !important;
  margin: 0 auto !important;
}

.order-ux-page .order-lines-wrapper .cmn-toggle-round + label:before,
.order-ux-page .order-lines-wrapper .cmn-toggle-round + label:after {
  display: block;
  position: absolute;
  content: "";
}

.order-ux-page .order-lines-wrapper .cmn-toggle-round + label:before {
  inset: 2px !important;
  border-radius: 999px !important;
}

.order-ux-page .order-lines-wrapper .cmn-toggle-round + label:after {
  top: 3px !important;
  left: 3px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
}

.order-ux-page .order-lines-wrapper .cmn-toggle-round:checked + label:after {
  margin-left: 20px !important;
}

.order-ux-page .order-lines-wrapper td:nth-child(11) label {
  transform: none;
  transform-origin: center center;
}

.order-ux-page .order-lines-wrapper td:nth-child(12) {
  text-align: center;
}

.order-ux-page .order-lines-wrapper .order-line-actions {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.order-ux-page .order-lines-wrapper .btn {
  display: inline-flex;
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  height: auto;
  margin: 0;
  padding: 7px;
  white-space: nowrap;
  line-height: 1.15;
  border-radius: 7px;
}

.order-ux-page .order-lines-wrapper .btn .order-action-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.order-ux-page .order-catalog-line-info {
  display: block;
  margin-top: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  background: #eef7fa;
  color: #36515f;
  font-size: 12px;
  line-height: 1.35;
}

.order-ux-page .order-catalog-line-info strong {
  color: #173f4f;
}

.order-ux-page .panel.panel-info {
  clear: both;
  border: 1px solid #d7e0e5;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(28, 48, 62, 0.08);
  overflow: hidden;
}

.order-ux-page .panel.panel-info > .panel-heading,
.order-ux-page .panel.panel-info > .panel.panel-heading {
  margin: 0;
  border: 0;
  background: #edf3f6;
  color: #142838;
  font-weight: 700;
}

.order-ux-page .panel.panel-info > .panel-body,
.order-ux-page .panel.panel-info > .panel.panel-body {
  margin: 0;
  border: 0;
  color: #36515f;
}

.order-ux-page .order-empty-lines {
  display: none;
  padding: 18px;
  color: #58717f;
  text-align: center;
  background: #fbfdfe;
  border-top: 1px solid #e0e7ec;
  border-radius: 0 0 12px 12px;
}

.order-ux-page .order-loading-layer {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(248, 251, 252, 0.82);
  border-radius: 12px;
  backdrop-filter: blur(1px);
}

.order-ux-page .is-loading > .order-loading-layer {
  display: flex;
}

.order-ux-page .order-loading-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #142838;
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 40, 56, 0.25);
  font-weight: 700;
}

.order-ux-page .order-loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: orderUxSpin 0.8s linear infinite;
}

@keyframes orderUxSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .order-ux-page .order-main-card {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 14px;
  }

  .order-ux-page #datos_empresa_compra,
  .order-ux-page #datos_empresa_recibe {
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 14px;
  }

  .order-ux-page #div_opciones,
  .order-ux-page .order-delivery-panel {
    display: block !important;
  }

  .order-ux-page .order-delivery-panel > div {
    width: 100% !important;
  }
}
