﻿.order-track-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', sans-serif;
}

.order-track-title {
    text-align: center;
    margin-bottom: 20px;
}

.track-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

    .track-form input[type="text"] {
        flex: 1;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 8px;
    }

    .track-form button {
        padding: 10px 20px;
        background-color: #2e8b57;
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: bold;
    }

.error-message {
    color: red;
    margin-bottom: 10px;
}

.order-info-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.status {
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #fff;
}

    .status.pending {
        background-color: #ff9800;
    }

    .status.approved {
        background-color: #2196f3;
    }

    .status.paymentfailed {
        background-color: #e53935;
    }

    .status.completed {
        background-color: #4caf50;
    }

.receiver-sender {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.info-card {
    flex: 1 1 300px;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #2e8b57;
}

.order-items {
    margin-bottom: 30px;
}

.order-item {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

    .order-item img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 10px;
    }

.details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.order-total {
    text-align: right;
    font-size: 18px;
}

.total-amount {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .receiver-sender {
        flex-direction: column;
    }

    .order-item {
        flex-direction: column;
        align-items: center;
    }

        .order-item img {
            width: 80px;
            height: 80px;
        }

    .track-form {
        flex-direction: column;
    }
}