.halan-tracker-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.tracker-title {
    font-size: 48px;
    color: #1B2534;
    margin-bottom: 30px;
}

.tracking-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 30px;
}

#halan-tracking-number {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

#halan-track-button {
    padding: 15px 30px;
    background-color: #FFD74B;
    border: none;
    border-radius: 5px;
    color: #1B2534;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 120px;
}

    #halan-track-button:hover {
        background-color: #FFE27B;
    }

    #halan-track-button:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.tracking-timeline {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    text-align: left;
}

.timeline-item {
    position: relative;
    padding: 20px 0 20px 30px;
    margin-bottom: 15px;
    border-left: 2px solid #FFD74B;
    background: #f9f9f9;
    border-radius: 4px;
}

    .timeline-item:before {
        content: "";
        position: absolute;
        left: -8px;
        top: 24px;
        width: 15px;
        height: 15px;
        background-color: #FFD74B;
        border-radius: 50%;
    }

.timeline-status {
    font-weight: bold;
    color: #1B2534;
    font-size: 16px;
    margin-bottom: 5px;
}

.timeline-date {
    color: #666;
    font-size: 14px;
}

.timeline-comments {
    margin-top: 5px;
    color: #555;
    font-size: 14px;
}

[dir="rtl"] .timeline-item {
    padding: 20px 30px 20px 0;
    border-left: none;
    border-right: 2px solid #FFD74B;
}

    [dir="rtl"] .timeline-item:before {
        left: auto;
        right: -8px;
    }

#halan-tracking-result {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 30px;
}

    #halan-tracking-result h3 {
        margin-bottom: 20px;
        color: #1B2534;
        font-size: 24px;
        text-align: left;
    }

[dir="rtl"] #halan-tracking-result h3 {
    text-align: right;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1B2534;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
