
.tracking-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e1e1;
}

.tracking-header h1 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.tracking-header p {
    color: #6c757d;
}

.tracking-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.order-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 30px;
}

.info-block {
    flex: 1;
    min-width: 200px;
}

.info-block h3 {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-block p {
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
}

.tracking-status {
    margin-bottom: 40px;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.status-header h2 {
    color: #2c3e50;
    font-size: 20px;
}

.current-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-shipped {
    background-color: #e1f5fe;
    color: #0288d1;
}

.status-processing {
    background-color: #fff8e1;
    color: #ffa000;
}

.status-delivered {
    background-color: #e8f5e9;
    color: #388e3c;
}

.tracking-timeline {
    position: relative;
    margin-left: 15px;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    width: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.timeline-event {
    position: relative;
    padding-left: 45px;
    padding-bottom: 30px;
    z-index: 2;
}

.timeline-event:last-child {
    padding-bottom: 0;
}

.event-dot {
    position: absolute;
    left: 8px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    background-color: white;
}

.event-dot.active {
    background-color: #2563eb;
}

.event-dot.completed {
    background-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.event-dot.pending {
    border-color: #e9ecef;
}

.event-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.event-content.active {
    background-color: #ebf5ff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.event-content.completed {
    background-color: #f8f9fa;
}

.event-content.pending {
    background-color: #f8f9fa;
    opacity: 0.6;
}

.event-date {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 5px;
}

.event-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
}

.event-description {
    color: #495057;
    font-size: 14px;
}

.event-location {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
    color: #6c757d;
}

.location-icon {
    margin-right: 5px;
}

.delivery-map {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: #6c757d;
}

.order-details {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.order-details h2 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    max-width: 100%;
    max-height: 100%;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.item-qty {
    font-size: 14px;
    color: #6c757d;
}

.item-price {
    font-weight: 600;
    color: #2c3e50;
}

.address-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.address-block {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.address-block h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 15px;
}

.address-text {
    color: #495057;
    line-height: 1.7;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.action-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-btn {
    background-color: #2563eb;
    color: white;
    border: none;
}

.primary-btn:hover {
    background-color: #1d4ed8;
}

.secondary-btn {
    background-color: white;
    color: #2563eb;
    border: 1px solid #e9ecef;
}

.secondary-btn:hover {
    background-color: #f8f9fa;
    border-color: #2563eb;
}

.button-icon {
    margin-right: 8px;
}

.help-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e1e1e1;
}

.help-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.help-section p {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 20px;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-radius: 30px;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-button:hover {
    background-color: #e9ecef;
}

.search-another {
    margin-top: 60px;
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.search-another h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-btn {
    padding: 12px 24px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.search-btn:hover {
    background-color: #1d4ed8;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
}