.woocommerce-account .woocommerce-MyAccount-content {width: 78%!important;}
.woocommerce-MyAccount-navigation {width: 20%!important;}

/* Order Pad */

.invalid-sku {
    border-color: red;
}

.error-message {
    margin-left: 10px;
    color: red;
}


.order-pad-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
}

.order-pad-table thead tr {
    background-color: #00417b;
    text-align: left;
    font-weight: bold;
}

.order-pad-table thead tr th {color: #ffffff!important;
    font-size: 15px!important;}

.order-pad-table th, .order-pad-table td {
    padding: 12px 15px;
    border: 1px solid #dddddd;
}

.order-pad-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.order-pad-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.order-pad-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.order-pad-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}


.order-pad-table input[type="text"],
.order-pad-table input[type="number"] {
    width: 100%;
    padding: 8px;
    margin: 4px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.order-pad-table input[type="text"]:focus,
.order-pad-table input[type="number"]:focus {
    border-color: #009879;
    outline: none;
}


.order-pad-table .increase-qty,
.order-pad-table .decrease-qty {
    background-color: #009879;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 5px;
    border-radius: 4px;
}

.order-pad-table .increase-qty:hover,
.order-pad-table .decrease-qty:hover {
    background-color: #007a5f;
}


.order-pad-table .remove-row {
    background-color: #e74c3c;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.order-pad-table .remove-row:hover {
    background-color: #c0392b;
}


.error-message {
    color: #e74c3c;
    margin-left: 10px;
    font-weight: bold;
}


/* General */

.woocommerce-MyAccount-content h2 {margin-bottom: 20px;}
.woocommerce-MyAccount-content h3 {margin-bottom: 20px; font-weight: bold;}
.woocommerce-MyAccount-content h4 {margin-bottom: 20px; font-weight: bold;}
.my-account-tab-description {margin-bottom: 20px;}

/* Spend Limit */

.spend-limit-form label {font-weight: bold; margin-right: 20px;}
.spend-limit-form input[type="number"] {border-radius: 5px; padding-left: 5px;}
.spend-limit-form h4 {text-decoration: underline; margin-top: 25px;}

/* Order Analysis Report */

.report-dates-wrapper {display: flex; flex-direction: row; flex-wrap: wrap; gap: 20px;}
.report-dates-wrapper p {margin-bottom: 25px;}
.report-dates-wrapper label {font-weight: bold; margin-right: 10px;}

.report-label {font-weight: bold;}

.report-table th {background: #eee;}
.report-table {margin-bottom: 45px!important;}

/* Dashboard Widgets */

.b2b-woo-dashboard-widgets {display: flex; flex-direction: row; gap: 25px; margin-top: 25px;}
.b2b-woo-dashboard-widget {width: 50%; display: flex; padding: 20px; border: 1px solid #ddd; flex-direction: column; background: #eee; justify-content: flex-start; align-items: center; font-size:20px; border-radius: 10px; }
.b2b-woo-dashboard-widget h4 {font-size: 17px!important; line-height: 1.2; text-align: center!important; margin-bottom: 10px!important; min-height: 55px;}
.b2b-woo-dashboard-widget svg {margin-bottom: 10px;}

.b2b-woo-dashboard-widget a {color: #00417b!important; width: 100%; height: 100; text-align: center;}

.b2b-fav-dashboard-widget {width: 50%; display: flex; flex-direction: column; padding: 20px; border: 1px solid #ddd; background: #eee; border-radius: 10px; margin-top: 25px;}

.two-col-dash-widget {display: flex; flex-direction:row; flex-wrap: wrap; gap: 25px;}
.category-spend-chart {width: 46%!important; margin-top:25px;}



/* Restrictions */

.variation-quantity-left {font-weight: bold;}
.b2b-restricted-notice {
    background-color: #eeeeee;
    border: 1px solid #dddddd;
    color: #000!important;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    font-weight: bold;
}

.permitted_table {margin-top: 30px!important;}

.permitted-products-filters input[type=text], .permitted-products-filters select, .permitted-products-filters .select2-container .select2-selection--single {border-radius: 5px!important; height: 30px!important;}

.perm-button {background: #00417b; border: 0px; color: #fff;  padding: 5px 10px;
    border-radius: 5px;}
    
    
.permitted_table .quantity input {border-radius: 5px; width: 45px;}

.permitted_table img {width: 80px; display: block;}
