body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    padding: 30px;
}

.container {
    max-width: 650px;
    margin: auto;
}

.search {
    margin-bottom: 20px;
}

input {
    padding: 10px;
    width: 70%;
}

button {
    padding: 10px 15px;
    cursor: pointer;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.hidden {
    display: none;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status {
    background: #0066ff;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.details p {
    margin: 5px 0;
}

/* Timeline */
.timeline-item {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #0066ff;
    border-radius: 50%;
    margin-top: 5px;
}

.content {
    border-left: 2px solid #ddd;
    padding-left: 15px;
}
.status.delivered {
    background: #28a745;
}

.status.intransit {
    background: #ff9800;
}

.status.pending {
    background: #6c757d;
}
.print-btn {
    margin-top: 15px;
    background: #000;
    color: #fff;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
}

@media print {
    button, input {
        display: none;
    }
    body {
        background: #fff;
    }
}
@media (max-width: 600px) {
    input {
        width: 100%;
        margin-bottom: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .status {
        margin-top: 8px;
    }
}
