/* Structural behavior only. Generated My Account CSS owns the visual design. */
.jcm-order-tracking__shipments,
.jcm-order-tracking__shipment,
.jcm-order-tracking__timeline,
.jcm-order-tracking__event {
    box-sizing: border-box;
    min-width: 0;
}

.jcm-order-tracking__shipment[aria-busy="true"] {
    opacity: 0.72;
}

.jcm-order-tracking__request-status[data-state="failed"] {
    color: #b42318;
}

.jcm-order-receipt,
.jcm-carrier-dialog,
.jcm-carrier-dialog * {
    box-sizing: border-box;
}

.jcm-order-receipt__status[data-state="failed"] {
    color: #b42318;
}

.jcm-carrier-dialog {
    width: min(1120px, calc(100vw - 32px));
    height: min(820px, calc(100vh - 32px));
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
}

.jcm-carrier-dialog::backdrop {
    background: rgba(0, 0, 0, 0.58);
}

.jcm-carrier-dialog__header,
.jcm-carrier-dialog__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 10px 16px;
}

.jcm-carrier-dialog__close {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.jcm-carrier-dialog__frame {
    display: block;
    width: 100%;
    height: calc(100% - 112px);
    border: 0;
}

@media (max-width: 767px) {
    .jcm-order-tracking__shipment,
    .jcm-order-tracking__details,
    .jcm-order-tracking__timeline {
        width: 100%;
        max-width: 100%;
    }

    .jcm-carrier-dialog {
        width: 100vw;
        height: 100dvh;
        margin: 0;
    }
}
