/* back button */
.tracking-nav {
    max-width: 900px;
    margin: 15px auto 0;
}

.back-btn {
    text-decoration: none;
    color: #1e8f6a;
    font-weight: bold;
}

.back-btn:hover {
    text-decoration: underline;
}


/* timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ddd;
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.timeline-step span {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #ddd;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
}

.timeline-step.active span {
    background: #1e8f6a;
}

.timeline-step p {
    margin-top: 8px;
    font-size: 14px;
}


/* tabel */
body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    margin: 0;
}

.tracking-header {
    background: #1e8f6a;
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tracking-header img {
    height: 40px;
}

.tracking-container {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
}

.tracking-form {
    display: flex;
    gap: 10px;
}

.tracking-form input {
    flex: 1;
    padding: 12px;
}

.tracking-form button {
    background: #1e8f6a;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
}

.tracking-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.tracking-table th {
    background: #f1f1f1;
    text-align: left;
    padding: 10px;
    width: 35%;
}

.tracking-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.status {
    background: #2ecc71;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
}

.error {
    margin-top: 20px;
    color: red;
}
