/* Dashboard container styling */
#nv-orders-dashboard {
    margin: 20px;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Table styling */
#nv-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#nv-orders-table th {
    background-color: #0073aa;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    padding: 12px 10px;
    text-align: left;
    white-space: nowrap;
}

#nv-orders-table td {
    border: 1px solid #ddd;
    padding: 12px 10px;
    text-align: left;
    vertical-align: middle;
    word-wrap: break-word;
}

#nv-orders-table tr:nth-child(even) {
    background-color: #f7f7f7;
}

#nv-orders-table tr:hover {
    background-color: #f1f1f1;
}

/* Responsive table for smaller screens */
@media (max-width: 768px) {
    #nv-orders-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    #nv-orders-table th, #nv-orders-table td {
        padding: 10px 5px;
        font-size: 12px;
    }
}

/* Search input styling */
#nv-search-input {
    margin-bottom: 15px;
    padding: 10px;
    width: 100%;
    max-width: 400px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#nv-search-input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
    outline: none;
}

/* Dropdown and button styling */
#nv-orders-table select {
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    transition: all 0.3s ease;
}

#nv-orders-table select:hover {
    border-color: #0073aa;
}

#nv-orders-table button {
    padding: 8px 12px;
    font-size: 14px;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#nv-orders-table button:hover {
    background-color: #005885;
}

/* Pagination styling */
#nv-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

#nv-pagination .nv-page-btn {
    padding: 8px 12px;
    font-size: 14px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#nv-pagination .nv-page-btn.active {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

#nv-pagination .nv-page-btn:hover {
    background-color: #005885;
    color: #fff;
}

/* Cart items list styling */
#nv-orders-table ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#nv-orders-table ul li {
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

/* Filter bar styling */
.filterbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filterbar select, .filterbar input {
    width: 100%;
    max-width: 250px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.filterbar select:focus, .filterbar input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
}

/* Responsive filter bar */
@media (max-width: 768px) {
    .filterbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .filterbar select, .filterbar input {
        max-width: 100%;
    }
}
