/* Main List Styling */
.main-list {
background:#ebf3ff;

    list-style: none;
    margin: 0;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Auto grid, 300px minimum width for each card */
    gap: 20px; /* Space between the cards */
}

/* Styling for Each Card */
.order-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.order-item:hover {
    transform: translateY(-5px); /* Subtle hover effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Title Styling (Date) */
.order-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
	display:flex;
	justify-content:space-between;
/* 	background:#ffc400; */
}

/* Location Styling (Source and Destination) */
.order-location {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.order-source,
.order-destination {
    font-size: 14px;
    color: #555;
    font-weight: normal;
}

.order-arrow {
    font-size: 18px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Truck and Loader Styling */
.order-truck,
.order-loader {
/*     background-color: #f2f2f2; */
    padding: 10px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    border-radius: 8px;
    text-align: center;
    margin-top: 10px;
}

.order-truck {
    background-color: #ffc400;
}

.order-loader {
/*     background-color: #ffc400; */
    color: white;
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
    .order-item {
        padding: 15px;
    }
    
    .order-location {
        flex-direction: column;
        align-items: center;
    }

    .order-arrow {
        margin: 10px 0;
    }
}
