.tracker-container {
    max-width: 750px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(to right, #f9f9f9, #f3f3f3);
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}
.tracker-form input,
.tracker-form button {
    display: inline-block;
    padding: 12px;
    margin: 8px 5px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.tracker-form button {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.tracker-form button:hover {
    background-color: #b71c1c;
}
.tracker-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    position: relative;
}
.tracker-steps::before {
    content: '';
    position: absolute;
    height: 4px;
    width: 100%;
    background: #e0e0e0;
    top: 22px;
    left: 0;
    z-index: 0;
}
.tracker-step {
    text-align: center;
    flex: 1;
    z-index: 1;
    position: relative;
}
.tracker-step i {
    background: #ccc;
    color: #fff;
    font-size: 20px;
    padding: 15px;
    border-radius: 50%;
    display: inline-block;
    transition: transform 0.3s ease;
}
.tracker-step.active i {
    background: #d32f2f;
    box-shadow: 0 0 12px rgba(211, 47, 47, 0.6);
    transform: scale(1.2);
}
.tracker-step.active div {
    font-weight: bold;
    color: #d32f2f;
}
.tracker-details {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.tracker-details table {
    width: 100%;
}
.tracker-details th,
.tracker-details td {
    padding: 10px;
    text-align: left;
}
.tracker-details th {
    background: #f2f2f2;
    width: 35%;
}
.error {
    color: red;
    font-weight: bold;
}
.truck-animation i.fa-truck-moving {
    animation: moveTruck 2s linear infinite;
}
@keyframes moveTruck {
    0% { transform: translateX(0); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}
