﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF7A3D;
    --light-orange: #FFF4EE;
    --text-dark: #2D2D2D;
    --text-medium: #666666;
    --text-light: #999999;
    --border-color: #E5E5E5;
    --background: #FAFAFA;
    --white: #FFFFFF;
    --timeline-active: #FF7A3D;
    --timeline-inactive: #E5E5E5;
    --circle: 36px;
    --radius: 18px;
    --line: 4px;
    --gap: 80px;
    --steps: 6;
    --orange: #ff6a00;
    --gray: #dcdcdc;
    --otd-circle: 36px;
    --otd-radius: 18px;
    --otd-line: 4px;
    --otd-gap: 80px;
    --otd-steps: 6;
    --otd-orange: #ff6a00;
    --otd-gray: #dcdcdc;
}

#time_line div{
        direction:ltr !important;
    }

        body {
            direction: rtl;
            font-family: Assistant;
        }

        @media (max-width: 600px) {
            #trk_detailsDiv_timeLine h2{
                text-align:center !important;
            }
        }

        #trk_mainDiv {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        #trk_formDiv > div {
            margin-bottom: 10px;
        }

            #trk_formDiv > div input[type=text], input[type=email] {
                font-size: large;
                padding: 5px;
                margin-top: 3px;
                direction: rtl;
                text-align: center;
            }

            #trk_formDiv > div button {
                font-size: large;
                padding: 10px;
                background-color: #000;
                color: #fff;
                border: none;
                min-width: 120px;
            }


.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.notification-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--primary-orange);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Main Title */
.main-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* Alert Box */
.alert-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
}


.alert-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.alert-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.alert-link {
    color: var(--primary-orange);
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
}

/* Order Details Card */
.order-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.order-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
}

/* Product List */
.product-list {
    margin-bottom: 28px;
    direction: ltr;
}

.product-table-header {
    display: none;
    grid-template-columns: 100px 1fr 150px;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
    direction: ltr;
}

.product-table-header span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
}

.product-table-header span:first-child {
    text-align: center;
}

.product-table-header span:last-child {
    text-align: right;
}

.product-item {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-image {
    width: 80px;
    height: 80px;
    background: #F5F5F5;
    border-radius: 8px;
    overflow: hidden;
    order: 2;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    order: 1;
    text-align: right;
}

.product-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.product-details p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 4px;
}

.product-sku {
    font-size: 12px;
    color: var(--text-light);
}

.product-sku-desktop {
    display: none;
}

/* Order Info */
.order-info {
    margin-bottom: 20px;
}

.order-info-row {
    border-radius: 8px;
    background: #F5F3F0;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2C2C2C;
    text-align: center;
    font-family: Assistant;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 155.556% */
}

.order-info-row:last-child {
    margin-bottom: 0;
}

.order-info-label {
    color: #2C2C2C;
    text-align: center;
    font-family: Assistant;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 155.556% */
}

.order-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.order-number {
    color: #2C2C2C;
    text-align: center;
    font-family: Assistant;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 133.333% */
}

.order-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.order-header h2 {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
}

.order-header .order-number {
    font-size: 18px;
    font-weight: 700;
}

.order-date {
    font-size: 13px;
    text-align: center;
    color: var(--text-medium);
    margin-top: 16px;
}

.order-exclusions {
    font-size: 12px;
    text-align: center;
    color: var(--text-light);
    margin-top: 12px;
    text-decoration: underline;
}


/* Info Sections */
.info-section {
    display: flex;
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 16px;
    border: 1px solid #FFEDD5;
    background: linear-gradient(225deg, #FFF7ED 0%, #F5F3F0 50%, #FFF7ED 100%);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.info-section-icon {
    display: flex;
    width: 48px;
    min-width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.info-section-2-columns {
    display: inline-grid;
    row-gap: 20px;
    column-gap: 20px;
    align-self: stretch;
    grid-template-rows: 276px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.info-section-content {
    //padding-left: 70px;
}

.info-section h3 {
    font-size: 18px;
    font-weight: 600;
    text-align: right;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.info-section p {
    color: #8B8B8B;
    text-align: right;
    font-family: Assistant;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */
}

.info-section.highlight {
    background: var(--primary-orange);
    color: var(--white);
}

.info-section.highlight h3,
.info-section.highlight p {
    color: var(--white);
}

.info-section.highlight .info-section-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Contact Buttons */
.contact-section {
    margin: 48px 0;
}

.contact-title {
    color: #2C2C2C;
    text-align: center;
    font-family: Assistant;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 133.333% */
    margin-bottom: 24px;
}

.contact-buttons {
    border-radius: 6px;
    background: #F2F2F2;
    display: flex;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    margin-bottom: 20px;
    cursor: pointer;
}

.contact-btn {
    color: #2C2C2C;
    text-align: center;
    font-family: Assistant;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
    display: flex;
    flex-direction: row-reverse;
    text-decoration: none !important;
    align-items: center;
    column-gap: 5px;
}

.contact-buttons:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .main-title {
        font-size: 32px;
        margin-bottom: 48px;
    }

    .product-table-header {
        display: grid;
    }

    .product-item {
        grid-template-columns: 100px 1fr 150px;
        gap: 20px;
        align-items: center;
    }

    .product-image {
        width: 100px;
        height: 100px;
        order: 1;
    }

    .product-details {
        order: 2;
        text-align: right;
    }

    .product-details .product-sku {
        display: none;
    }

    .product-sku-desktop {
        display: block;
        order: 3;
        font-size: 14px;
        color: var(--text-medium);
        text-align: right;
    }

    .timeline-desktop {
        display: block;
    }

    .timeline-mobile {
        display: none;
    }

    .contact-buttons {
        gap: 20px;
    }

    .info-section-content {
    }
}

@media (max-width: 767px) {
    .info-section-icon {
        left: 16px;
        top: 20px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    .info-header-icon{
        width:56px !important;
        height:56px !important;
    }

    .info-section-content {
        padding-left: 0;
        padding-right: 0;
    }

    .info-section {
        padding: 20px;
    }

    .info-container{
        padding:20px 16px !important;
    }

    .info-header h2 {
        color: #2C2C2C;
        text-align: right;
        font-family: Assistant;
        font-size: 15px !important;
        font-style: normal;
        font-weight: 700;
        line-height: 22.5px; /* 150% */
    }
    .info-section-2-columns{
        flex-direction:column;
        display:flex;
    }

    
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-card,
.info-section {
    animation: fadeIn 0.6s ease backwards;
    gap: 16px;
}

.order-card:nth-child(1) {
    animation-delay: 0.1s;
}

.info-section:nth-child(1) {
    animation-delay: 0.2s;
}

.info-section:nth-child(2) {
    animation-delay: 0.3s;
}

.info-section:nth-child(3) {
    animation-delay: 0.4s;
}

.info-container {
    display: flex;
    padding: 56px 48px 48px 48px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    align-self: stretch;
    border-radius: 32px;
    border: 1px solid #F9FAFB;
    background: #FFF;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.info-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.info-header h2 {
    color: #2C2C2C;
    text-align: center;
    font-family: Assistant;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; /* 111.111% */
    margin-top: 20px;
}

.info-header span {
    display: flex;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    color: #8B8B8B;
    text-align: center;
    font-family: Assistant;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
}

.info-header-icon {
    display: flex;
    width: 80px;
    padding: 25px 0;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    background: linear-gradient(135deg, #FFEDD5 0%, #F5F3F0 100%);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}


.order-timeline-desktop { 
    display: block; 
}

.order-timeline-mobile { 
    display: none; 
}

@media (max-width: 768px) {
    .order-timeline-desktop { 
        display: none; 
    }
    .order-timeline-mobile { 
        display: block; 
    }
}

:root {
    --otd-circle: 36px;
    --otd-radius: calc(var(--otd-circle) / 2);
    --otd-line: 4px;
    --otd-gap: 80px;
    --otd-steps: 6;
    --otd-orange: #ff6a00;
    --otd-gray: #dcdcdc;
}

.otd-timeline { 
    width: 90%; 
    margin: 60px auto; 
    position: relative; 
}

.otd-row { 
    display: flex; 
    align-items: center; 
    height: var(--otd-circle); 
    position: relative; 
}

.otd-row.otd-top { 
    margin-bottom: 100px; 
}

.otd-step { 
    flex: 1; 
    text-align: center; 
    position: relative; 
}

.otd-step:not(:last-child)::after { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: calc(50% + var(--otd-radius)); 
    width: calc(100% - var(--otd-circle)); 
    height: var(--otd-line); 
    background: var(--otd-gray); 
    transform: translateY(-50%); 
}

.otd-step.otd-active + .otd-step.otd-active::before { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: calc(-50% + var(--otd-radius)); 
    width: calc(100% - var(--otd-circle)); 
    height: var(--otd-line); 
    background: var(--otd-orange); 
    transform: translateY(-50%); 
}

.otd-circle { 
    width: var(--otd-circle); 
    height: var(--otd-circle); 
    border-radius: 50%; 
    background: #fff; 
    margin: 0 auto; 
    line-height: var(--otd-circle); 
    border: 3px solid #eee; 
    color: #777; 
    position: relative; 
    z-index: 100; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.otd-circle img { 
    width: 14px; 
    height: 14px; 
}

.otd-step.otd-active .otd-circle { 
    background: #fff; 
    border-color: var(--otd-orange); 
    color: var(--otd-orange); 
}

.otd-label { 
    position: absolute; 
    top: calc(var(--otd-circle) + 10px); 
    width: 100%; 
    color: #D1D5DB; 
    text-align: center; 
    font-family: Assistant; 
    font-size: 10px; 
    font-weight: 400; 
    line-height: 12.5px; 
}

.otd-step.otd-active .otd-label { 
    color: var(--otd-orange); 
    font-weight: bold; 
}

.otd-connector-v { 
    position: absolute; 
    width: var(--otd-line); 
    height: 83px; 
    background: var(--otd-gray); 
    left: calc(100% / var(--otd-steps) / 2 - var(--otd-line)/2); 
    top: calc(var(--otd-circle) / 2); 
}

.otd-connector-v2 { 
    position: absolute; 
    width: var(--otd-line); 
    height: 70px; 
    background: var(--otd-gray); 
    right: calc(100% / var(--otd-steps) / 2 - var(--otd-line)/2); 
    top: calc(var(--otd-circle) / 2 + var(--otd-gap)); 
}

.otd-connector-h { 
    position: absolute; 
    height: var(--otd-line); 
    background: var(--otd-gray); 
    left: calc(100% / var(--otd-steps) / 2); 
    right: calc(100% / var(--otd-steps) / 2); 
    top: calc(var(--otd-circle) / 2 + var(--otd-gap)); 
}

.otd-connector-v.otd-connector-active, 
.otd-connector-h.otd-connector-active, 
.otd-connector-v2.otd-connector-active { 
    background: var(--otd-orange); 
}

.otm-wrapper { 
    font-family: 'Assistant', sans-serif; 
    background: #fff; 
    margin: 0; 
    padding: 20px; 
    direction: rtl; 
}

.otm-container { 
    max-width: 400px; 
    margin: 0 auto; 
    position: relative; 
    padding: 0; 
}

.otm-line { 
    position: absolute; 
    right: 23px; 
    top: 0; 
    bottom: 0; 
    width: 2px; 
    background: #E5E7EB; 
    z-index: 1; 
}

.otm-step { 
    position: relative; 
    display: flex; 
    flex-direction: row-reverse; 
    align-items: center; 
    margin-bottom: 32px; 
    z-index: 2; 
}

.otm-step:last-child { 
    margin-bottom: 0; 
}

.otm-circle { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    background: #fff; 
    border: 2px solid #E5E7EB; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
    margin-left: 16px; 
    position: relative; 
    z-index: 3; 
}

.otm-circle img { 
    width: 24px; 
    height: 24px; 
}

.otm-step.otm-completed .otm-circle { 
    border-color: #F97316; 
    background: #fff; 
}

.otm-label { 
    flex: 1; 
    font-size: 16px; 
    font-weight: 400; 
    color: #6B7280; 
    line-height: 1.4; 
    text-align: right; 
}

.otm-step.otm-completed .otm-label { 
    color: #F97316; 
    font-weight: 700; 
}

.otm-waiting { 
    font-size: 14px; 
    color: #9CA3AF; 
    margin-right: 64px; 
    margin-top: -24px; 
    margin-bottom: 8px; 
}