/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
}

.tracking-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
}

.tracking-form input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tracking-form button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.tracking-form button:hover {
    background-color: #0056b3;
}


/* Timeline Styles */
.timeline {
    position: relative;
    margin: 30px 0;
    padding: 20px;
    border-left: 3px solid #007bff;
}

.timeline-entry {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 5px;
    width: 15px;
    height: 15px;
    background-color: #007bff;
    border-radius: 50%;
}

.timeline-entry.current::before {
    content: '\f072'; /* Font Awesome Plane Icon */
    font-family: 'Font Awesome 5 Free'; /* Ensure Font Awesome is applied */
    font-weight: 900; /* Solid icon weight */
    font-size: 1.5rem;
    color: #007bff;
    position: absolute;
    left: -15px;
    top: 0;
}

.timeline-entry.current {
    position: relative;
}

/* Remove default circle for the current location */
.timeline-entry.current::before {
    background-color: transparent;
    border: none;
    box-shadow: none;
}


.timeline-entry h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.timeline-entry p {
    margin: 5px 0;
    font-size: 0.9rem;
}



/* Timeline Styles */
.timeline {
    position: relative;
    margin: 30px 0;
    padding: 20px;
    border-left: 3px solid #007bff;
}

.timeline-entry {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}

.timeline-entry::before {
    content: ''; /* Default circle for timeline */
    position: absolute;
    left: -10px;
    top: 5px;
    width: 15px;
    height: 15px;
    background-color: #007bff;
    border-radius: 50%;
}


.timeline-entry h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.timeline-entry p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Blinking animation for the plane icon */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.timeline-entry.current::before {
    content: '\f072'; /* Font Awesome Plane Icon */
    font-family: 'Font Awesome 5 Free'; /* Font Awesome */
    font-weight: 900; /* Solid weight for the icon */
    font-size: 1.5rem;
    color: #007bff;
    position: absolute;
    left: -15px;
    top: 0;

    /* Add blinking animation */
    animation: blink 1s infinite;
}

/* Tracking Result Container */
.card {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline {
    border-left: 3px solid #007bff;
    padding-left: 20px;
    margin: 20px 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item .icon {
    position: absolute;
    left: -30px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.timeline-item.current .icon {
    background: #28a745;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status {
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}

.status.processing {
    background-color: #ffc107;
}

.status.in-transit {
    background-color: #17a2b8;
}

.status.delivered {
    background-color: #28a745;
}







