#track-order-content {
    width: fit-content;
    width: -mnoz-fit-content;
    max-width: 1000px;
    margin: 50px auto;
    
}
.track-order-form-wrap {
    display: grid;
    grid-template-areas: "oImage oForm ";
    grid-template-columns: 315px calc(100% - 315px - 30px);
    grid-gap: 30px;
    padding: 30px; 
    border-radius: 5px;
    background-color: rgb(250 197 181 / 20%);
    width: 100%;
    margin-bottom: 30px;
    position: relative;
}

.tracking-order-action {
    gap: 20px;
    align-items: stretch;
}

.tracking-order-action > a {
    background-color: var(--pr-color-secondary);
    color: #fff;
    padding: 8px 36px;
    border-radius: 5px;
    line-height: 34px;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.tracking-order-action > a:first-child,
.tracking-order-action > a:hover {
    background-color: var(--pr-color-information-600);
    color: #fff;
}

.OpenASupport {
    position: absolute;
    bottom: 10px;
    right: 16px;
    padding: 10px 16px;
    color: var(--secondary);
}

.error-message {
    font-style: italic;
    font-size: 14px;
    text-align: left;
    width: 100%;
    color: #f00;
}

.OpenASupport:hover {
    text-decoration: underline;
}
.track-image {
    grid-area: oImage;
}
#orderreport-form {
    grid-area: oForm;
}
.tracking-body {
    padding: 15px;
}

.order-product {
    display: flex;
}

.product-sku-name {
    width: 100%;
    padding: 7px 17px;
    color: #000;
    font-weight: 500;
}
.product-sku-name img{
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.product-info-order {
    display: grid;
    grid-template-areas:
        "oImage oTitle"                
        "oImage oDesign"
        "oImage oDesign2"
        "oImage oLocation";
    grid-template-columns: 100px auto;
    grid-column-gap: 12px;
}
.product-info-order .product-img {
    grid-area: oImage;
}
.product-info-order .p-title {
    grid-area: oTitle;
}
.product-info-order .p-design {
    grid-area: oDesign;
}
.product-info-order .p-design + .p-design {
    grid-area: oDesign2;
}
.product-info-order .p-location {
    grid-area: oLocation;
    font-size: 14px;
}
.p-design .download-design-icon {
    position: relative;
    margin-left: auto;
}
.p-design .download-design-icon img {
    width: 32px;
    min-width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1px solid #cacaca;
    border-radius: 5px;
    opacity: 0.5;
}
.p-design .download-design-icon svg {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 8;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}
.product-order-value {
    padding: 7px 17px;
    text-align: right;
    color: #000;
    min-width: 150px;
    font-weight: 500;
}
.p-price-color {
    color: var(--primary-price);
    font-weight: 500;
}
.p-price-color strong {
    color: var(--primary-price);
    font-weight: 500;
}
.text-muted {
    opacity: 0.6;
}

.total-value {
    display: flex;
    max-width: 300px;
    margin-left: auto;
    flex-direction: row;
    flex-wrap: wrap;
}

.total-value span {
    display: flex;
    flex-direction: column;
    flex: 1;
    flex-basis: 50%;
}

ul.shippment {
    border-radius: 5px;
    list-style-type: none;
    /* Remove bullets */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margins */
}

ul.shippment li:first-child {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

ul.shippment li:last-child {
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

ul.shippment li {
    border: 1px solid #ddd;
    /* Add a thin border to each list item */
    margin-top: -1px;
    /* Prevent double borders */
    background-color: #f6fbff;
    /* Add a grey background color */
    padding: 12px;
    /* Add some padding */
}

/* ///////////////////////////// */

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 13px;
}

.grid-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    grid-gap: 6px;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #000;
}

.grid-info-4 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #000;
}

.grid-info-item-amount {
    color: var(--primary-price);
    font-weight: 500;
}

.grid-info-item>strong {
    color: #1e80b8;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 15px;
}

.order-summary {
    background-color: #f6f9fc;
    border-radius: 5px;
    padding: 10px 0;
    margin-bottom: 30px;
}

.price-value {
    width: 150px;
}

.header-tracking {
    color: #1e80b8;
    font-size: 15px;
}

.step-name {
    font-size: 12px;
    text-align: center;
}

.input-contain {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.input-contain .form-control {
    border-width: 2px;
    padding: .8rem 1rem;
    border-radius: 5px;
    margin-top: 4px
}

.input-contain .form-control:focus,
.input-contain .form-control:active {
    border-color: var(--flash);
}

.input-contain .form-control:hover {
    border-color: #a397e1;
}
.input-contain button {
    min-height: 50px;
    min-width: 110px;
    background: var(--pr-color-secondary);
    border: 2px solid var(--pr-color-secondary);
    padding: .8rem 1rem;
}

.input-contain button:hover {
    border-color: var(--pr-color-secondary-500);
    background: var(--pr-color-secondary-500);
}
.track-col {
    padding: 5px;
    width: 99%;
    position: relative;
}
.track-col:first-child {
    padding-left: 0;
}
.track-col:last-child {
    min-width: 120px;
    width: 120px;
    
}

.find-code-btn {
    color: var(--secondary-dk);
}

.loader:before {
    content: "";
    border: 2px solid rgba(255 255 255 / 50%);
    border-top-color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: relative;
    animation: spin 700ms linear infinite;
}

.loader {
    margin: 0 !important;
    animation: none;
    height: 50px;
    width: 110px;
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: rgba(255 255 255 / 22%);
    position: absolute;
    bottom: 5px;
    right: 5px;
    border-radius: 3px;
    background: var(--pr-color-secondary);
    /* pointer-events: none; */
}

#orderreport-form {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

#track-order-pageContent .modal-custom {
    display: none;
    position: fixed;
    z-index: 3333;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

#track-order-pageContent .modal-custom-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 750px;
    border-radius: 5px;
    height: 80%;
    position: relative;
    overflow: hidden;
}

#track-order-pageContent .tooltip {
    position: relative;
    display: inline-block;
}

#track-order-pageContent .tooltip .tooltiptext {
    display: none;
    width: 100%;
    min-width: 190px;
    background-color: #000000b3;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    top: -35px;
    font-size: 13px;
    left: -50%;
}

#track-order-pageContent .tooltip-left::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-bottom: -1px;
    border-width: 5px;
    border-style: solid;
    border-color: #000000b3 transparent transparent transparent;
}

#track-order-pageContent .tooltip:hover .tooltiptext {
    display: inline;
}

#track-order-pageContent .download-design-link {
    color: var(--secondary);
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 12px;
}
.referral-banner img {
    border-radius: 4px;
    overflow: hidden;
    pointer-events: none;
}
.referral-banner {
    position: relative;
    margin: 30px 0;
    background: #ededf5;
    border-radius: 5px;
}
.referral-banner .info {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    
}
.referral-banner .info h3 {
    margin: 0;
    font-size: 20px;
}
.modal-infomation {
    max-height: 100%;
    overflow-y: auto;
    height: 95%;
}
.modal-infomation img {
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}
.grid-info-item {
    margin-top: 5px;
}
.header-tracking .button.light {
    background-color: #fff;
    color: var(--pr-color-primary);
    border-radius: 5px;
    border: 1px solid var(--pr-color-primary);
    font-size: 13px;
}
.header-tracking .button.light:hover {
    color: var(--pr-color-secondary);
    border: 1px solid var(--pr-color-secondary);
}
@media (max-width: 1366px) {
    .track-order-form-wrap {
        grid-template-columns: 30% auto;
    }
    
}
@media (min-width: 768px) and (max-width: 900px) {
    .find-code-btn small {
        display: block;
    }
}
@media (max-width: 767px) {
    .track-col {
        padding: 5px 0;
    }
    .track-order-form-wrap {
        padding: 20px;
        display: block;
    }
    .track-image {
        margin-bottom: 30px;
    }
    .track-image img {
        margin: 0 auto;
    }
    #orderreport-form p {
        margin: 0 0 10px;
    }
    .input-contain {
        display: block;
    }
    .referral-banner .info {
        position: relative;
        font-size: 14px;
    }
    .referral-banner .info h3 {
        font-size: 16px;
    }
    .product-info-order{
        grid-template-columns: 50px auto;
        grid-column-gap: 10px;
        padding: 7px;
    }
    .product-sku-name img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
    .product-order-value{
        min-width: 40px;
        padding: 7px;
        flex: 0 0 100px;
    }
    .product-info-order .p-title {
        font-size: 15px;
    }
    .m-50 {
        flex: 0 0 50%;
    }
    #track-order-pageContent .download-design-link {
        font-size: 13px;
    }
    .product-info-order .p-design .download-design-icon {
        width: 30px;
        flex: 0 0 30px;
    }
    #track-order-pageContent .modal-custom-content {
        width: 90%;
    }
    .modal-infomation {
        height: 90%;
    }
}
@media (max-width: 600px) {
    .grid-info-4 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(49%, 1fr));
        grid-gap: 6px;
        margin-top: 50px;
        margin-bottom: 25px;
        color: #000;
    }

    .grid-info {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        grid-gap: 6px;
        margin-top: 50px;
        margin-bottom: 25px;
        color: #000;
    }

    .tracking-order-action {
        flex-wrap: wrap;
    }

    .tracking-order-action > a {
        min-width: 260px;
        width: 90%;
        max-width: 320px;
    }

    .track-col:last-child {
        height: 60px;
    }

    .loader {
        left: 0;
        right: auto
    }

    #orderreport-form {
        padding-bottom: 60px;
    }

    .OpenASupport {
        left: 6px;
        right: auto
    }
}

.ticket-header,
.ticket-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
}
.ticket-header > div,
.ticket-item > div {
    padding: 5px;
    flex: 0 0 20%;
    text-align: left;
}
.ticket-header > div:first-child,
.ticket-item > div:first-child {
    flex: 0 0 40%;
}
.ticket-header > div:nth-child(n+3),
.ticket-item > div:nth-child(n+3) {
    text-align: center;
}
.ticket-item {
    font-weight: 400;
}

.status-ticket {
    padding: 6px 12px;
    color: #fff;
    font-size: 14px;
    border-radius: 32px;
    min-width: 70px;
    text-align: center;
    display: inline-block;
    user-select: none;
}

.status-close {
    background-color: #dc3545;
}

.status-open {
    background-color: #007bff;
    background-color: #28a745;
}

.status-pending {
    background-color: #6c757d;
}

.status-solved {
    background-color: #1c7430;
}
.header-summary-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-summary-order h3 {
    margin: 0;
}

.header-summary-order .cancel-button {
    background-color: #fff;
    color: var(--pr-color-primary);
    border-radius: 5px;
    border: 1px solid var(--pr-color-primary);
    font-size: 13px;
}
.header-summary-order .cancel-button:hover {
    color: var(--pr-color-secondary);
    border: 1px solid var(--pr-color-secondary);
}
.header-summary-order .cancel-button.disabled {
    opacity: 0.8;
    background: #f1f1f1;
    cursor: not-allowed;
}
.tooltip-cannot {
    position: relative;
}
.tooltip-cannot .tooltiptext {
    visibility: hidden;
    width: auto;
    min-width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    padding: 7px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1.3;
    opacity: 1;
}
.tooltip-cannot .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

.tooltip-cannot:hover .tooltiptext {
    visibility: visible;
}
@media (max-width: 997px) {
    span.tooltiptext.is-mobile {
        font-size: 14px;
        margin-bottom: 8px;
        display: block;
    }
}
@media (max-width: 767px) {
    .ticket-header {
        display: none;
    }
    .ticket-item {
        flex-wrap: wrap;
        margin-bottom: 16px;
    }
    .ticket-item > div {
        flex: 0 0 30%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
    .ticket-item > div:first-child {
        flex: 0 0 100%;
        font-weight: 500;
    }
  
    
}

/*Popup cancel order confirm*/
.confirm-cancel-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}
.confirm-cancel-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    display: block;
    transform: translate(-50%, -50%);
    background-color: rgba(11 11 11 / 25%);
    filter: blur(2px);
    z-index: 1;
}
.confirm-cancel-content {
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    box-shadow: 0 6px 36px rgba(11 11 11 / 33%);
    border-radius: 7px;
    position: absolute;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    pointer-events: all;
}
.confirm-cancel-title {
    padding: 8px 10px 8px calc(14px + (20 - 14) * ((100vw - 300px) / (1920 - 300)));
    display: flex;
    font-weight: 500;
    color: #19124f;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid #d1d1d1;
    user-select: none;
    display: flex;
    align-items: center;
    grid-gap: 4px;
}

.confirm-cancel-content .close-pop {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: auto
}
.confirm-cancel-desc {
    padding: 10px calc(14px + (20 - 14) * ((100vw - 300px) / (1920 - 300)));
    text-align: left;
    font-weight: 500;
}
.confirm-cancel-action {
    padding: 0 calc(14px + (20 - 14) * ((100vw - 300px) / (1920 - 300))) calc(14px + (20 - 14) * ((100vw - 300px) / (1920 - 300)));
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: calc(14px + (20 - 14) * ((100vw - 300px) / (1920 - 300)));
    width: max-content;
    margin: 0 auto
}
.confirm-cancel-action a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 20px;
    border: 2px solid #d1d1d1;
    border-radius: 5px;
    width: 150px;
    user-select: none;
    cursor: pointer;
}
.confirm-cancel-action .confirm-cancel-action-delete {
    background-color: #ff3945;
    color: #fff;
    border-color: #ff3945
}
.confirm-cancel-action .confirm-cancel-action-cancel:hover {
    border-color: #ff7300;
    color: #ff7300;
}

.open-confirm-cancel-popup {
    overflow: hidden;
}

.open-confirm-cancel-popup #main-header, 
.open-confirm-cancel-popup .navigation-wrapper {
    z-index: -1;
}
.form-floating {
    position: relative;
}
.form-label {
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}
.d-none {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}
.upload-file-wrapper {
    background: #FAFAFB;
    border: 1px dashed #D0D5DD;
    padding: 8px 16px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    grid-gap: 12px;
    width: 100%;
    border-radius: 5px;
    align-items: center;
    font-size: 14px;
    text-align: center;
    position: relative;
    height: 56px;
}
.upload-file-wrapper > img {
    opacity: 0.6;
}
.loader-image {
    position: absolute;
    top: 5px;
    right: 4px;
    background: #FAFAFB;
    border: 2px solid #bababa;
    border-radius: 50%;
    border-top-color:#fff;
    border-bottom-color: #fff;
    margin: 0 10px;
    width: 42px;
    height: 42px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    
}
.loader-image:before {
    content: "";
    border: 2px solid rgba(255 255 255 / 50%);
    border-top-color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: relative;
    animation: spin 700ms linear infinite;
}

.confirm-cancel-form {
    padding: 10px calc(14px + (20 - 14) * ((100vw - 300px) / (1920 - 300)));
    text-align: left;
    margin-bottom: 10px;
}
.form-floating + .form-floating {
    margin-top: 20px;
}
/*End popup*/

.img-preview-item {
    position: absolute;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    transition: all 300ms ease-in-out;
    width: 50px;
    height: 50px;
    bottom: 4px;
    right: 4px;
}
.img-preview-item::before {
    content: "";
    padding-top: 100%;
    display: block;
}
.img-preview-item img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--pr-trans-standard);
}
.img-preview-item span {
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    color: var(--pr-color-white);
    background: var(--pr-color-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
@media (max-width: 767px) {
    .track-order-images {
        grid-template-columns: repeat(5, 1fr);
    }
}