.ati-tracker *{
    font-family: 'iransansxv', 'iransansx', 'tahoma';
    -moz-font-feature-settings: "ss04";
    -webkit-font-feature-settings: "ss04";
     font-feature-settings: "ss04";
}
.ati-tracker {
    max-width: 900px;
    margin: 0 auto;
    color: #37474F;
}
.ati-tracker * {
   box-sizing: border-box;
}
.ati-tracker-result-wrapper {
    margin: 3px;
    background-color: #f6fcff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: inset 0px 0px 0px 15px #ECEFF1;
}
.ati-tracker-result-wrapper svg{
    width: 2rem;
    height: 2rem;
}
.ati-tracker-result-wrapper .icon-download svg {
    color: #03A9F4;
}
.ati-tracker-result-wrapper .icon-location4 svg {
    color: #E91E63;
}
.result-header{
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-size: 14px;
    font-weight: 600;
}
.ati-tracker-status-wrapper {
    display: flex;
    flex-direction: column;
}

.ati-tracker-steps .order-step .status-container {
    display: flex;
    width: -webkit-fill-available;
    margin: 6px 0;
    padding-right: 28px;
}

.ati-tracker-steps .order-step .status {
    max-width: 115px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    font-size: 13px;
}
.ati-tracker-steps .order-step .status span{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    font-size: 10.50px;
    font-weight: bold;
    padding: 0 20px;
    user-select: none;
}
.ati-tracker-steps .order-step .status span:hover::after {
    content: attr(title);
    display: block;
    position: absolute;
    background-color: #333; /* Background color of the tooltip */
    color: #fff; /* Text color of the tooltip */
    padding: 5px; /* Padding around the tooltip text */
    border-radius: 5px; /* Border radius for rounded corners */
    z-index: 1; /* Ensure the tooltip appears above other elements */
    /* Additional styling as needed */
}
.ati-tracker-steps .order-step .content {
    width: -webkit-fill-available;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-size: 14px;
}
.ati-tracker-steps {
    display: flex;
    justify-content: center;
    padding: 30px 5px;
    overflow: auto;
}

.ati-tracker-steps .order-step {
    display: flex;
    align-items: center;
    position: relative;
    background: #b0bec55c;
}
.order-step:first-child {
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}
.order-step:last-child {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}
.ati-tracker-steps .order-step .icon {
    position: absolute;
    background: #AED581;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: #B0BEC5 0px 0px 0px 4px;
    overflow: hidden;
}

/* Add a pseudo-element for the outline */
.ati-tracker-steps .order-step .icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed gray;
    border-radius: inherit;
    box-sizing: border-box;
}

/* Apply spinning animation to the specific status */
.ati-tracker-steps .order-step .icon.spinning::before {
    animation: spin 8s linear infinite;
}
.ati-tracker-steps .order-step .icon.spinning {
    background: #2fd385;
    background: -webkit-linear-gradient(right, #2ad885, #60948f);
    background: -moz-linear-gradient(right, #2ee28b, #557e7a);
    background: linear-gradient(to left, #26d081, #558b85);
}
.ati-tracker-steps .order-step .icon svg {
    color: #fff;
}
/* Define the spinning animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ati-tracker-delivery-info {
    border-top: 1px #ffffff solid;
    margin: 0 25px 25px;
    font-size: 13px;
    position: relative;
}

.ati-tracker-delivery-details {
    display: flex;
    flex-direction: column;
    width: 50%;
}
.ati-tracker-show-more-result {
    position: absolute;
    left: -66px;
    background: #eceff1;
    transform: rotate(90deg);
    padding: 5px 20px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: all .3s;
    bottom: 15px;
    user-select: none;
}
.ati-tracking-result-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.ati-tracker-tab-button {
    all: unset;
    background: #b0bec5;
    padding: 5px 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: all .3s;
    user-select: none;
    margin-left: 2px;
}
.ati-tracker-tab-button.active {
    background: #2fd385;
    background: -webkit-linear-gradient(right, #2ad885, #60948f);
    background: -moz-linear-gradient(right, #2ee28b, #557e7a);
    background: linear-gradient(to left, #26d081, #558b85);
    color: #fff;
}
.ati-tracker-result-tab-content .ati-tracker-delivery{
    margin-top: 5px;
    border-top: 1px dashed #b0bec5;
}
.ati-tracker-show-more-result:hover,
.ati-tracker-related-orders form:hover,
.ati-tracker-download-section .download-section-header:hover,
.ati-tracker-tab-button:hover {
    background-image: linear-gradient(to right, #3f886b 0%, #19d883 51%, #479e84 100%);
    color: #fff;
}

.ati-tracker-delivery {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border-top: 3px dashed #b0bec5;
    padding-top: 10px;
}
.ati-tracker-delivery-details span {
    line-height: 2;
}
.ati-tracker-admin-note {
    color: #FF5722;
}
.ati-tracker-order-items {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 10px;
}
.ati-tracker-order-items-details {
    display: flex;
    flex-direction: column;
    border-bottom: #eceff1 1px solid;
    padding-bottom: 10px;
}
.ati-tracker-order-items-details span{
    line-height: 2;
}
.ati-tracker-order-items a{
    all: unset;
    cursor: pointer;
}
.ati-tracker-order-items img {
    max-width: 64px !important;
    margin: 5px;
    height: 65px !important;
    inset: 0;
    border-radius: 6px;
    object-fit: cover;
}

.ati-tracker-download-section {
    display: flex;
    width: 50%;
    justify-content: space-evenly;
    align-items: center;
    height: -webkit-fill-available;
}
.ati-tracker-download-section a{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    outline: none;
}

.ati-tracker-download-section .download-section-header {
    border-bottom: #ffffff61 1px solid;
    margin-bottom: 3px;
    background: #2fd385;
    background: -webkit-linear-gradient(right, #2ad885, #60948f);
    background: -moz-linear-gradient(right, #2ee28b, #557e7a);
    background: linear-gradient(to left, #26d081, #558b85);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
}


.ati-tracker-related-orders {
    display: flex;
    flex-wrap: wrap;
}

.related-orders-text-wrapper, .ati-tracker-related-orders form{
    all: unset;
    font-size: 12px;
    box-shadow: 0px 4px 0px #27a42c;
    background-color: #81c784;
    border: 0;
    display: inline-block;
    text-align: center;
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    outline-color: unset;
    margin-left: 1px;
    cursor: pointer;
}
.ati-tracker-related-orders form input{
    all: unset;
}

.related-orders-text-wrapper {
    box-shadow: 0px 4px 0px #607D8B;
    background-color: #B0BEC5;
    color: #546e7a;
    cursor: unset;
    user-select: none;
    display: flex;
    gap: 5px;
    justify-content: space-between;
    font-weight: bold;
    align-items: center;
}
.related-orders-text-wrapper svg{
    width: 1rem;
    height: 1rem;
}
/*responsive style start*/

@media screen and (max-width: 768px) {
.ati-tracker-result-wrapper {
    margin: unset;
    padding: 12px;
    box-shadow: inset 0px 0px 0px 5px #ECEFF1;
}
.result-header {
    padding: 20px 5px 30px;
}
.ati-tracker-steps {
    flex-direction: column;
    width: -webkit-fill-available;
}
.ati-tracker-steps .order-step {
    margin-bottom: 6px;
    border-radius: 25px;
}
.ati-tracker-steps .order-step .status {
    max-width: -webkit-fill-available;
    width: inherit;
}
.ati-tracker-steps .order-step .status span {
    font-size: 13px;
    padding: 0 25px;
    width: inherit;
}

.ati-tracker-steps .order-step .status-container {
    padding: 6px 28px 6px 0;
}

.ati-tracker-order-items {
    flex-direction: column;
}
.ati-tracker-delivery-info {
    flex-direction: column;
    margin: 25px 0;
    font-size: 14px;
}

.ati-tracker-tab-button {
    margin-top: 5px;
    text-align: center;
    width: -webkit-fill-available;
}
.ati-tracker-delivery {
    flex-direction: column;
    align-items: stretch;
}

.ati-tracker-delivery-details,
.ati-tracker-download-section{
    width: unset;
}
.ati-tracker-download-section{
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px dashed #b0bec5;
}
}