.x-orders-admin {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, .08), transparent 30%),
        linear-gradient(180deg, #070b16 0%, #0b1220 100%);
    color: #eef4ff;
}

.x-orders-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.x-orders-stat {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
    padding: 18px;
}

.x-orders-stat span {
    display: block;
    color: #93a8c9;
    font-size: 13px;
    margin-bottom: 8px;
}

.x-orders-stat strong {
    font-size: 34px;
    line-height: 1;
    color: #fff;
    font-weight: 900;
}

.x-orders-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: center;
}

.x-orders-search,
.x-orders-select,
.x-order-select {
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    color: #eef4ff;
    padding: 0 14px;
    outline: none;
}

.x-orders-search {
    flex: 1;
}

.x-orders-list {
    display: grid;
    gap: 18px;
}

.x-order-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
    transition: .25s ease;
}

.x-order-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, .20);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .34);
}

.x-order-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .02);
}

.x-order-card__id {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.x-order-card__date {
    margin-top: 6px;
    font-size: 13px;
    color: #8ea2c8;
}

.x-order-card__top-right {
    text-align: right;
}

.x-order-card__total {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-top: 8px;
}

.x-order-card__body {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 18px;
    padding: 20px;
}

.x-order-panel {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .03);
    padding: 16px;
}

.x-order-panel__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.x-order-panel__content {
    display: grid;
    gap: 10px;
}

.x-order-customer-name {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.x-order-meta-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #d9e5f7;
    font-size: 14px;
    line-height: 1.5;
}

.x-order-meta-line i {
    color: #60a5fa;
    width: 16px;
    margin-top: 3px;
}

.x-order-notes {
    color: #d7e3f8;
    font-size: 14px;
    line-height: 1.6;
}

.x-order-items {
    display: grid;
    gap: 12px;
}

.x-order-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.x-order-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.x-order-item__name {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.x-order-item__code {
    color: #8ea2c8;
    font-size: 12px;
    margin-top: 4px;
}

.x-order-item__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.x-order-item__subtotal {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.x-order-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid transparent;
}

.x-order-chip--qty {
    background: rgba(59, 130, 246, .14);
    border-color: rgba(59, 130, 246, .22);
    color: #dbeafe;
}

.x-order-chip--price {
    background: rgba(16, 185, 129, .14);
    border-color: rgba(16, 185, 129, .22);
    color: #d1fae5;
}

.x-order-chip--info {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .10);
    color: #eef4ff;
    width: max-content;
}

.x-order-card__footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .015);
}

.x-order-state-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.x-order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.x-order-badge--nuevo {
    background: rgba(59, 130, 246, .16);
    color: #bfdbfe;
}

.x-order-badge--confirmado {
    background: rgba(139, 92, 246, .16);
    color: #ddd6fe;
}

.x-order-badge--procesando {
    background: rgba(245, 158, 11, .16);
    color: #fde68a;
}

.x-order-badge--enviado {
    background: rgba(6, 182, 212, .16);
    color: #a5f3fc;
}

.x-order-badge--entregado {
    background: rgba(34, 197, 94, .16);
    color: #bbf7d0;
}

.x-order-badge--cancelado {
    background: rgba(239, 68, 68, .16);
    color: #fecaca;
}

@media (max-width: 1200px) {
    .x-orders-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .x-order-card__body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .x-orders-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .x-orders-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}

.x-stat-grids {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.x-stat-grid::-webkit-scrollbar {
    height: 6px;
}

.x-stat-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .15);
    border-radius: 10px;
}



/* =========================
   DETALLE PEDIDO - XPERTECH
========================= */

.x-detail-wrapper {
    color: #eaf2ff;
}

.x-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(26, 61, 122, 0.95), rgba(8, 20, 46, 0.95));
    border: 1px solid rgba(120, 170, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}

.x-detail-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    background: rgba(74, 144, 226, .18);
    border: 1px solid rgba(110, 170, 255, .25);
    color: #8fc2ff;
    margin-bottom: 10px;
}

.x-detail-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.x-detail-subtitle {
    margin: 6px 0 0;
    color: rgba(230, 238, 255, 0.72);
    font-size: 14px;
}

.x-detail-total-box {
    min-width: 160px;
    text-align: right;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
}

.x-detail-total-box span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 4px;
}

.x-detail-total-box strong {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
}

.x-detail-card {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(7, 23, 53, .95), rgba(3, 14, 35, .96));
    border: 1px solid rgba(104, 159, 255, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.x-detail-card-header {
    padding: 15px 18px;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
}

.x-detail-card-body {
    padding: 18px;
}

.x-detail-products-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.x-detail-product-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    transition: all .2s ease;
}

.x-detail-product-card:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .045);
    border-color: rgba(124, 171, 255, .18);
}

.x-detail-product-main {
    min-width: 0;
}

.x-detail-product-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 4px;
}

.x-detail-product-sku {
    font-size: 12px;
    color: rgba(196, 210, 235, .70);
    letter-spacing: .3px;
}

.x-detail-product-meta {
    text-align: right;
    flex-shrink: 0;
}

.x-detail-product-line {
    font-size: 14px;
    color: rgba(224, 233, 250, .76);
    margin-bottom: 4px;
}

.x-detail-product-total {
    font-size: 17px;
    font-weight: 800;
    color: #8fd0ff;
}

.x-detail-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.x-detail-info-item {
    padding: 14px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
}

.x-detail-info-item .x-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .45px;
    color: rgba(180, 196, 224, .66);
    margin-bottom: 6px;
}

.x-detail-info-item strong {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    color: #ffffff;
    word-break: break-word;
}

.x-empty-detail {
    padding: 18px;
    border-radius: 14px;
    text-align: center;
    color: rgba(219, 229, 245, .72);
    background: rgba(255, 255, 255, .03);
    border: 1px dashed rgba(255, 255, 255, .10);
}

@media (max-width: 768px) {
    .x-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .x-detail-total-box {
        width: 100%;
        text-align: left;
    }

    .x-detail-product-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .x-detail-product-meta {
        text-align: left;
        width: 100%;
    }
}


.x-modal-dark {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, #07152e 0%, #031022 100%);
    border: 1px solid rgba(98, 152, 255, 0.16);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.x-modal-dark-header {
    background: linear-gradient(180deg, #1b3971 0%, #132c59 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    padding: 18px 22px;
}

.x-modal-dark-header .modal-title {
    font-weight: 800;
    font-size: 18px;
    margin: 0;
}

.x-modal-dark-body {
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(52, 152, 219, .10), transparent 28%),
        radial-gradient(circle at bottom left, rgba(52, 152, 219, .08), transparent 25%),
        linear-gradient(180deg, #051226 0%, #04101f 100%);
}

.x-detail-product-card {
    display: flex;
    gap: 14px;
}

.x-detail-product-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #0b1c3a;
}

.x-status {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.x-status.pendiente {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.x-status.pagado {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.x-status.cancelado {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.x-detail-card,
.x-detail-product-card {
    animation: fadeInUp .35s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.x-detail-actions-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.x-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.x-btn-action {
    border-radius: 12px;
    font-weight: 700;
    padding: 8px 14px;
}

.x-status.procesando {
    background: rgba(23, 162, 184, 0.15);
    color: #17a2b8;
}

@media (max-width: 768px) {
    .x-detail-actions-wrap {
        width: 100%;
        align-items: stretch;
    }

    .x-detail-actions {
        justify-content: flex-start;
    }
}

.x-detail-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.x-detail-grid-card {
    display: flex;
}

.x-detail-grid-card .x-detail-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.x-detail-grid-card .x-detail-card-body {
    flex: 1;
}

.x-detail-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.x-detail-summary-item {
    padding: 14px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    min-height: 84px;
}

.x-detail-summary-item .x-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .45px;
    color: rgba(180, 196, 224, .66);
    margin-bottom: 6px;
}

.x-detail-summary-item strong {
    display: block;
    font-size: 16px;
    line-height: 1.4;
    color: #ffffff;
}

.x-detail-products-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.x-detail-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.x-detail-info-item {
    padding: 14px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
}

@media (max-width: 991px) {
    .x-detail-grid-2x2 {
        grid-template-columns: 1fr;
    }

    .x-detail-summary-grid {
        grid-template-columns: 1fr;
    }
}

.x-detail-grid-card .x-detail-card {
    min-height: 100%;
}

.x-detail-products-list {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}

.x-detail-summary-grid-custom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.x-span-2 {
    grid-column: span 2;
}

.x-total-highlight strong {
    font-size: 24px;
    font-weight: 800;
    color: #8fd0ff;
}

@media (max-width: 991px) {
    .x-detail-summary-grid-custom {
        grid-template-columns: 1fr;
    }

    .x-span-2 {
        grid-column: span 1;
    }
}

.x-detail-header-shopify {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
    /* padding: 24px 26px; */
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(22, 50, 105, 0.95), rgba(10, 24, 56, 0.98));
    border: 1px solid rgba(95, 145, 255, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.x-detail-header-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.x-detail-header-topline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.x-detail-order-id {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.5px;
    color: #ffffff;
}

.x-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(220, 231, 252, .74);
    font-size: 14px;
}

.x-detail-meta span {
    display: inline-flex;
    align-items: center;
}

.x-detail-header-side {
    min-width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.x-detail-total-panel {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    text-align: right;
}

.x-detail-total-label {
    display: block;
    font-size: 13px;
    color: rgba(224, 231, 255, .65);
    margin-bottom: 6px;
}

.x-detail-total-amount {
    display: block;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -.8px;
}

.x-detail-actions-shopify {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.x-btn-pdf-modern,
.x-btn-wa-modern {
    border: 0;
    border-radius: 14px;
    padding: 11px 18px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.x-btn-pdf-modern {
    color: #ffd5dc;
    background: linear-gradient(135deg, rgba(133, 43, 73, .95), rgba(93, 29, 51, .95));
    border: 1px solid rgba(255, 132, 161, .24);
}

.x-btn-wa-modern {
    color: #d8fff0;
    background: linear-gradient(135deg, rgba(10, 108, 85, .96), rgba(6, 82, 65, .96));
    border: 1px solid rgba(80, 220, 170, .18);
}

.x-btn-pdf-modern:hover,
.x-btn-wa-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
    color: #fff;
}

.x-detail-header-shopify .x-detail-badge {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .x-detail-header-shopify {
        flex-direction: column;
    }

    .x-detail-header-side {
        min-width: 100%;
    }

    .x-detail-total-panel {
        text-align: left;
    }

    .x-detail-actions-shopify {
        justify-content: flex-start;
    }

    .x-detail-order-id {
        font-size: 28px;
    }

    .x-detail-total-amount {
        font-size: 34px;
    }
}


.x-modal-dark {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #07152e 0%, #031022 100%);
    border: 1px solid rgba(98, 152, 255, 0.16);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.x-modal-dark-header {
    background: linear-gradient(180deg, #1b3971 0%, #132c59 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    padding: 18px 22px;
}

.x-modal-dark-body {
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(52, 152, 219, .10), transparent 28%),
        radial-gradient(circle at bottom left, rgba(52, 152, 219, .08), transparent 25%),
        linear-gradient(180deg, #051226 0%, #04101f 100%);
    color: #fff;
}

.x-modal-dark-footer {
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .02);
    padding: 16px 22px;
}

.x-status-modal-info {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
}

.x-status-modal-info .x-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: rgba(190, 205, 230, .7);
    margin-bottom: 6px;
}

.x-modal-dark .form-control,
.x-modal-dark select {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    border-radius: 12px;
}

.x-modal-dark .form-control:focus,
.x-modal-dark select:focus {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(110, 170, 255, .4);
    box-shadow: none;
}

.x-modal-dark label {
    color: rgba(220, 230, 245, .88);
    font-weight: 600;
}

.x-status-modal {
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, .10), transparent 28%),
        linear-gradient(180deg, #07152e 0%, #031022 100%);
    border: 1px solid rgba(98, 152, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.x-status-modal__header {
    background: linear-gradient(180deg, #1c3d78 0%, #16335f 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    padding: 18px 22px;
}

.x-status-modal__header .modal-title {
    font-weight: 800;
    font-size: 20px;
    margin: 0;
    letter-spacing: -.2px;
}

.x-status-modal__close {
    color: #fff;
    opacity: .85;
    text-shadow: none;
}

.x-status-modal__close:hover {
    color: #fff;
    opacity: 1;
}

.x-status-modal__body {
    padding: 20px 20px 10px;
    color: #fff;
}

.x-status-modal__footer {
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .02);
    padding: 16px 20px 18px;
    justify-content: center;
    gap: 14px;
}

.x-status-hero {
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .07);
    margin-bottom: 18px;
}

.x-status-hero__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: rgba(188, 203, 230, .72);
    margin-bottom: 8px;
    font-weight: 700;
}

.x-status-hero__title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 14px;
    word-break: break-word;
}

.x-status-hero__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.x-status-hero__meta-label {
    font-size: 12px;
    color: rgba(188, 203, 230, .72);
    font-weight: 600;
}

.x-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    border: 1px solid transparent;
}

.x-status-pill.nuevo,
.x-status-pill.pendiente {
    background: rgba(255, 193, 7, 0.14);
    color: #ffd54a;
    border-color: rgba(255, 193, 7, 0.22);
}

.x-status-pill.confirmado {
    background: rgba(59, 130, 246, 0.14);
    color: #7fb0ff;
    border-color: rgba(59, 130, 246, 0.22);
}

.x-status-pill.procesando {
    background: rgba(6, 182, 212, 0.14);
    color: #67e8f9;
    border-color: rgba(6, 182, 212, 0.22);
}

.x-status-pill.enviado {
    background: rgba(139, 92, 246, 0.14);
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.22);
}

.x-status-pill.entregado {
    background: rgba(16, 185, 129, 0.14);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.22);
}

.x-status-pill.cancelado {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.22);
}

.x-status-form-group {
    margin-bottom: 16px;
}

.x-status-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(225, 234, 250, .92);
}

.x-status-input {
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #ffffff;
    padding: 0 16px;
    box-shadow: none;
}

.x-status-input:focus {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(110, 170, 255, .42);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .10);
}

.x-status-input[readonly] {
    background: rgba(255, 255, 255, .025);
    color: rgba(240, 245, 255, .96);
}

.x-status-select-wrap {
    position: relative;
}

.x-status-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 42px;
}

.x-status-select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(190, 205, 230, .66);
    pointer-events: none;
    font-size: 12px;
}

.x-btn-secondary-modal,
.x-btn-primary-modal {
    min-width: 150px;
    height: 46px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 14px;
    border: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.x-btn-secondary-modal {
    background: rgba(255, 255, 255, .06);
    color: #eef4ff;
    border: 1px solid rgba(255, 255, 255, .08);
}

.x-btn-secondary-modal:hover {
    color: #fff;
    background: rgba(255, 255, 255, .09);
}

.x-btn-primary-modal {
    background: linear-gradient(135deg, rgba(14, 125, 98, .98), rgba(8, 98, 77, .98));
    color: #d9fff2;
    border: 1px solid rgba(80, 220, 170, .18);
}

.x-btn-primary-modal:hover {
    color: #fff;
    filter: brightness(1.05);
}

.x-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    border: 1px solid transparent;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

/* 🟣 NUEVO */
.x-badge-nuevo {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.25);
}

/* 🔵 CONFIRMADO */
.x-badge-confirmado {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.25);
}

/* 🟡 PROCESANDO (CLAVE) */
.x-badge-procesando {
    background: rgba(255, 193, 7, 0.18);
    color: #ffe066;
    border-color: rgba(255, 193, 7, 0.35);
}

/* 🟠 ENVIADO */
.x-badge-enviado {
    background: rgba(251, 146, 60, 0.15);
    color: #fdba74;
    border-color: rgba(251, 146, 60, 0.25);
}

/* 🟢 ENTREGADO */
.x-badge-entregado {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.25);
}

/* 🔴 CANCELADO */
.x-badge-cancelado {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.25);
}

.x-badge {
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}