.orders-container {
    max-width: 900px;
    margin: 40px auto;
    background: #1e293b;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    min-height: 50vh;
}

.orders-container h2 {
    color: #f1c40f;
    border-bottom: 2px solid #334155;
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-item {
    background: #2a3b53;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #3b82f6;
    gap: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.order-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(59,130,246,0.15);
}

.order-info {
    flex: 1;
    min-width: 0;
}

.order-info h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-info p {
    margin: 5px 0;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.order-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-pending { background: #f59e0b; color: #fff; }
.status-processing { background: #3b82f6; color: #fff; }
.status-completed { background: #10b981; color: #fff; }
.status-cancelled { background: #ef4444; color: #fff; }

.empty-orders {
    text-align: center;
    padding: 50px 20px;
    color: #8a9aa8;
}

.empty-orders i {
    font-size: 56px;
    margin-bottom: 20px;
    opacity: 0.4;
    display: block;
}

.empty-orders p {
    font-size: 1rem;
    margin: 5px 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .orders-container {
        margin: 15px;
        padding: 18px;
        border-radius: 10px;
    }

    .orders-container h2 {
        font-size: 1.2rem;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .order-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 12px;
    }

    .order-info h3 {
        font-size: 1rem;
        white-space: normal;
    }

    .order-info p {
        font-size: 0.85rem;
    }

    .order-status {
        align-self: flex-start;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .orders-container {
        margin: 10px;
        padding: 14px;
        border-radius: 8px;
    }

    .orders-container h2 {
        font-size: 1.1rem;
    }

    .order-item {
        padding: 12px;
        border-radius: 6px;
    }

    .order-info h3 {
        font-size: 0.95rem;
    }

    .order-info p {
        font-size: 0.8rem;
    }

    .empty-orders i {
        font-size: 44px;
    }
}
