#v_account .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout-account .inner-container {
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    padding: 20px;
    border-radius: 10px;
    background: var(--color-white);
}
@media (min-width: 1200px) {
    .layout-account .inner-container {
        padding: 40px;
    }
}
.layout-account .avatar-initials {
    background: var(--color-gray);
    width: 100px;
    padding-top: 8px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    justify-items: center;
    justify-self: center;
    align-items: center;
    align-content: center;
}

.layout-account .account-number {
    padding: 6px 12px 3px;
    background: var(--color-black);
    border-radius: 20px;
}

.container-nav {
    background: var(--color-white);
    padding: 20px;
    border-radius: 10px;
}
.container-display {
    background: var(--color-white);
    padding: 20px;
    border-radius: 10px;
}
@media (min-width: 1200px) {
    .container-nav {
        padding: 40px;
    }
    .container-display {
        padding: 40px;
    }
}



.container-display-small {
    background: var(--color-white);
    padding: 50px 40px;
    border-radius: 10px;
}

.form-list li {
    padding-bottom: 40px;
}

.form-list li:last-child {
    padding-bottom: 0;
}

#v_account .nav-link {
    padding: 0;
    margin: 0 0 15px 0;
}

#v_account .nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    font-family: var(--font-h);
    color: var(--color-black);
    background-color: transparent;
}

#v_account .nav-pills .nav-link {
    color: var(--color-deep-gray);
    text-align: start;
}

#v_account .nav-pills .nav-link:last-child {
    margin: 0;
}

#v_account .nav-pills .nav-link:hover {
    color: var(--color-black);
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
}

.woocommerce table.shop_table {
    border-collapse: collapse;
    border: none;
}

.woocommerce table.shop_table th {
    text-transform: uppercase;
}

.woocommerce table.my_account_orders td table th {
    padding-top: 20px;
    padding-bottom: 25px;
}

.woocommerce table.shop_table td {
    border-top: none;
}

.woocommerce table.my_account_orders td,
.woocommerce table.my_account_orders th {
    padding: 10px 8px 5px;
    width: 20%;
}

.woocommerce table.my_account_orders tr.woocommerce-orders-table__row.order>td {
    transition: background 0.3s ease, border 0.3s ease;
}

.woocommerce table.my_account_orders tr.woocommerce-orders-table__row.order:hover>td,
.woocommerce table.my_account_orders tr.woocommerce-orders-table__row.order:not(.collapsed)>td {
    background: var(--color-light-gray);
}

.woocommerce table.my_account_orders tr.woocommerce-orders-table__row.order:not(.collapsed)>td:first-child {
    background: var(--color-light-gray);
    border-radius: 10px 0 0 0;
}

.woocommerce table.my_account_orders tr.woocommerce-orders-table__row.order:not(.collapsed)>td:last-child {
    background: var(--color-light-gray);
    border-radius: 0 10px 0 0;
}

.woocommerce table.my_account_orders tr.woocommerce-orders-table__row>td:has(table) {
    background: var(--color-gray);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.woocommerce table.my_account_orders td .order-total,
.woocommerce table.my_account_orders td .order-vat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-black);
}

#unpaidRequests.table>:not(caption)>*>*,
#productsBought.table>:not(caption)>*>* {
    border: none;
}

#unpaidRequests.table>:not(caption)>*>*,
#productsBought.table>:not(caption)>*>* {
    padding: 10px 12px 3px;
}

#unpaidRequests.table>:not(caption)>*>*:first-child,
#productsBought.table>:not(caption)>*>*:first-child {
    border-radius: 10px 0 0 10px;
}

#unpaidRequests.table>:not(caption)>*>*:last-child,
#productsBought.table>:not(caption)>*>*:last-child {
    border-radius: 0 10px 10px 0;
}
@media (max-width: 992px){
    .woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {
        display: flex;
        width: 100%;
        text-align: center;
    }
    .woocommerce table.my_account_orders td,
    .woocommerce table.my_account_orders th {
        width: 25%;
        min-width: 120px;
        text-align: center;
    }
    .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
        display: flex;
        flex-direction: column;
        text-align: center !important;
    }
    .woocommerce table.my_account_orders tr.woocommerce-orders-table__row.order:hover>td {
        display: flex;
        flex-direction: column;
    }
    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        content: attr(data-title);
    }
    .woocommerce table.my_account_orders tr.woocommerce-orders-table__row>td:has(table) {
        width: 100%;
    }
    .woocommerce table.shop_table_responsive thead, .woocommerce-page table.shop_table_responsive thead {
        display: flex;
    }
    .woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th {
        display: block;
    }
}
@media (max-width: 768px) {
    .woocommerce-MyAccount-content .mob-scroll {
        overflow-x: auto;
        width: 100%;
    }
}
/* My Account - Form Fields */
.woocommerce form .form-row label {
    color: var(--color-deep-gray);
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    width: 100%;
    padding: 20px 30px;
    font-size: 1.125rem;
    color: var(--color-white);
    background: transparent !important;
    border: 1px solid var(--color-white) !important;
    border-radius: 0;
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce .b-wrap {
    border: 1px solid var(--color-black);
    border-radius: 10rem;
    padding: 6px 12px 3px;
}

/* LOGIN FORM */
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border: none;
    padding: 0;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    color: var(--color-white);
}

/* .name {
    margin-top: -2%;
} */
.filters-section {
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filters-section h6 {
    color: #495057;
    margin-bottom: 1rem;
}

.form-select, .btn {
    height: 38px;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.text-muted {
    font-size: 0.875rem;
}

#totalOpenBalance {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#totalOpenBalance.updated {
    background-color: #e7f3ff;
    transform: scale(1.02);
}

#totalOpenAmount {
    color: var(--color-black);
    font-weight: bold;
}
.form-select:focus {
    border-color: #ced4da;
    outline: 0;
    box-shadow: none;
}