/* Order Tracking Page Styles */

.tracking-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Matched p7-form-wrapper exactly */
    max-width: 700px;
    margin: 0 auto;
}

.results-section {
    margin-top: 40px;
    display: none;
}

.order-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    /* Matched typical site borders */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.order-item:hover {
    border-color: #28732C;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.order-info h4 {
    margin: 0 0 5px 0;
    color: #1e293b;
    font-size: 16px;
}

.order-info p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-approved {
    background: #dcfce7;
    color: #166534;
}

.status-transit {
    background: #dbeafe;
    color: #1e40af;
}

.status-delivered {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bcf0da;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.loader {
    display: none;
    text-align: center;
    padding: 40px;
}

.loader p {
    margin-top: 15px;
    color: #64748b;
}

.no-results {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

/* Tracking Button Loader */
.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .tracking-card {
        padding: 30px 20px;
    }

    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .status-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}