* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.tracking-container {
    width: 90%;
    max-width: 600px;
    margin: 10px auto;
}

.details-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.details-item {
    /*flex: 1;*/
    text-align: center;
}

.details-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

@media (max-width: 600px) {
    .details-row {
        flex-direction: column;
    }
}

h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.timeline {
    position: relative;
    padding: 10px 10px;
    border-left: 2px solid #d0d0d0;
    background-color: #f5f5f5;
}

.timeline-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 15px 20px;
    margin-left: 30px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-item.completed {
    border-left: 4px solid #4caf50;
}

.timeline-item.canceled {
    border-left: 4px solid #af4c4c;
}

.timeline-icon {
    position: absolute;
    left: -30px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.timeline-content {
    margin-left: 20px;
}

.timeline-content h3 {
    font-size: 16px;
    color: #333;
}

.timeline-content p {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.header-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.header-image-container img {
    width: 250px;
    height: 75px;
    object-fit: contain;
    margin: 10px;
}

.footer-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
}

.footer-detail {

}

.footer-link {
    color: #1d1d1d;
    text-decoration: none;
    padding: 5px;
}

.footer-link:hover {
    text-decoration: underline;
}

.no-tracking-history {
    text-align: center;
    font-size: xxx-large;
    margin: 100px auto;
    flex-direction: column;
}

.info {
    max-width: 600px;
    text-align: center;
    font-size: xxx-large;
    margin: 100px auto;
    flex-direction: column;
}


.shipment-section {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.shipment-summary {
    cursor: pointer;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 16px;
    background-color: #e9e9e9;
    color: #333;
    border-bottom: 1px solid #ccc;
    list-style: none;
}

.shipment-summary:hover {
    background-color: #dcdcdc;
}

.shipment-section[open] .shipment-summary {
    background-color: #f0f0f0;
}

.shipment-summary::-webkit-details-marker {
    display: none;
}

.shipment-summary::before {
    content: '▶';
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.2s;
}

.shipment-section[open] .shipment-summary::before {
    transform: rotate(90deg);
}
