
/* General Styling for Dashboard Box */
/*.customer_dashboard-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}*/

.customer_dashboard_menu-wrapper ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items per row by default */
    gap: 28px;
    padding: 0;
    list-style-type: none;
}

/* Greeting Section */
.customer_greeting-wrapper h2 {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.customer_greeting-wrapper span {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    display: block;
}

/* Menu Wrapper Styling */
/*.customer_dashboard_menu-wrapper ul {
    display: flex;
    gap: 28px;
    padding: 0;
    list-style-type: none;
    justify-content: space-between;
}*/

/*.customer_dashboard_menu-wrapper li {
    flex: 1;
}*/

.customer_dashboard_menu-wrapper a {
    background-color: #eaeaea;
    color: #666;
    text-align: center;
    padding: 15px 0px;
    width: 100%; /* Ensure the link takes full width */
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 2 / 1.2; /* Maintain a specific aspect ratio */
}

/* Ensure the image takes the correct size */
.customer_dashboard_menu-wrapper a img {
    width: auto;
    height: 42px;
    margin-bottom: 10px;
}

/* Adjust text style */
.customer_dashboard_menu-wrapper a span {
    font-size: 20px;
    /*font-weight: bold;*/
    margin-top: 10px;
}

/* Optional: Hover effects for the links */
/*.customer_dashboard_menu-wrapper a:hover {
    background-color: #eaeaea;
    color: #333;
}*/



/* Recent Orders Styling */
.recent_order-wrapper {
    /*margin-top: 40px;*/
}

.recent_order-wrapper h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Table Styling */
/*.recent_orders-list{
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    background-color: #f4f4f4;
}
.recent_orders-list table {
    width: 100%;
    border: 1px solid #333;
    border-collapse: collapse;
}

.recent_orders-list table thead th {
    padding: 12px;
    color: black;
    text-align: center;
    font-size: 16px;
}

.recent_orders-list table tbody td {
    padding: 12px;
    text-align: center;
}

.recent_orders-list th, .recent_orders-list td {
    border-left: 1px solid #555 !important;
    border-right: 1px solid #555 !important;
    padding: 8px;
    text-align: left;
}
.recent_orders-list thead, .recent_orders-list tbody {
    border: 1px solid #555 !important;
}


.woocommerce-Price-amount {
    color: black;
    font-weight: bold;
}

.woocommerce-orders-table__cell a.button.view {
    padding: 6px 12px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.woocommerce-orders-table__cell a.button.view:hover {
    background-color: #555;
}*/

/* Responsive Design */
@media (max-width: 991px) {
    .customer_dashboard_menu-wrapper ul {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 items per row */
    }
}

/* Mobile view: 1 item per row */
@media (max-width: 575px) {
    .customer_dashboard_menu-wrapper ul {
        grid-template-columns: 1fr !important; /* 1 item per row */
    }
}


/*@media (max-width: 768px) {
    .customer_dashboard_menu-wrapper a {
        margin-bottom: 15px;
    }

    .customer_dashboard_menu-wrapper a i {
        font-size: 35px;
    }

    .recent_orders-list table thead, .recent_orders-list table tbody {
    }
}*/

/*@media (max-width: 480px) {
    .customer_dashboard_menu-wrapper a {
        width: 100%;
    }

    .customer_dashboard_menu-wrapper a i {
        font-size: 30px;
    }

    .customer_dashboard-box {
        padding: 10px;
    }

    .recent_orders-list table thead th, .recent_orders-list table tbody td {
        padding: 8px;
    }
}*/

/* Wrapper for table to make it scrollable */
.table-container {
    color: #666;
    max-height: 400px; /* Adjust height based on your layout */
    overflow-y: auto;
    margin-top: 20px; /* Add some space below the search bar */
    /* Hide scrollbar in modern browsers */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.table-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

/* Keep the search form static */
.search-form {
    position: relative; /* Ensure it remains above the scrollable content */
    z-index: 1;
}

.pagination {
    display: flex;
    justify-content: space-between; /* Moves one button to the left and the other to the right */
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e4e4e4;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

/*.pagination a:hover {
    background-color: #555;
}*/

.prev-button {
    margin-right: auto; /* Keeps it on the left side */
}

.next-button {
    margin-left: auto; /* Keeps it on the right side */
}


/* magic sidebar style on mobile */
ul#menu-acedezyn-portal-menu-1 li{
    list-style-type: none;
}
ul#menu-acedezyn-portal-menu-1 {
    padding-left: 0px;
}
.additional-menu li{
    list-style-type: none;
}
.additional-menu-items{
    margin-bottom: 0px !important;
}