/* Tracking Results Modal */
.spt-tracking-results {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spt-results-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.spt-results-container {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.spt-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.spt-close-btn:hover {
    color: #333;
}

.spt-results-container h2 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    border-bottom: 3px solid #FF6B35;
    padding-bottom: 15px;
}

.spt-result-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spt-result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #FF6B35;
}

.spt-result-item strong {
    color: #555;
    font-weight: 600;
}

.spt-result-item span {
    color: #333;
    text-align: right;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: #fff !important;
}

.status-order-received .status-badge {
    background: #6c757d;
}

.status-in-transit .status-badge {
    background: #007bff;
}


.status-package-withheld .status-badge {
    background: #dc3545;
}

.status-out-for-delivery .status-badge {
    background: #ffc107;
    color: #333 !important;
}

.status-delivered .status-badge {
    background: #28a745;
}

@media (max-width: 768px) {
    .spt-results-container {
        padding: 30px 20px;
    }
    
    .spt-result-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .spt-result-item span {
        text-align: left;
    }
}