﻿.block-account-navigation ul li a {
    display: inline-flex;
    align-items: center;
    width: 100%;
    padding: .625rem;
    border: .0625rem solid #ddd;
    border-radius: 4px;
    margin: 0 0 .3125rem 0;
}
.block-account-navigation ul li a.active, .block-account-navigation ul li a:hover  {
    color: var(--purple);
    border-color: var(--purple);
}
.block-account-navigation ul li svg {
    font-size: 1.75rem;
    margin: 0 .625rem 0 0;
}
.block-account-navigation ul li span {
    font-size: 1rem;
}

/* merchandise table */

.merchandise-table {
    display: flex;
    flex-direction: column;
    padding: 0 0 1.5625rem 0;
    position: relative;
}
.merchandise-table thead tr {
    display: flex;
    width: 100%;
    padding: 0 0 0 3.125rem;
    border: 0;
}
.merchandise-table thead th {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    min-width: 7.8125rem;
    display: flex;
    align-items: center;
    border-bottom: 0;
    border-top: 0;
}
.merchandise-table thead th:first-child {
    display: flex;
    align-items: center;
}
.merchandise-table tbody {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 100%;
}
.merchandise-table tbody tr:nth-child(1) {
    display: flex;
    flex-direction: column;
    min-width: 3.125rem;
}
.merchandise-table tbody tr:nth-child(1) td {
    height: 100%;
    padding: 0;
    border: 0;
}
.merchandise-table tbody tr:nth-child(1) td > div {
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.merchandise-table tbody tr:nth-child(1) td > div > div {
    min-height: 6.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.merchandise-table tbody tr:nth-child(2) {
    width: calc(100% - 3.125rem);
}
.merchandise-table tbody tr:nth-child(2) td {
    display: inline-flex;
    width: 100%;
    padding: 12px 0;
    height: 6.875rem;
}
.merchandise-table tbody tr:nth-child(2) td > div {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 7.8125rem;
}
.merchandise-table .product a {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.merchandise-table .field-validation-error {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
}

@media (max-width: 48rem) {
    .merchandise-table tbody tr:nth-child(2) td > div {
        max-width: 7.8125rem;
    }
    .merchandise-table {
        padding: 0 0 2.8125rem 0;
    }
    .merchandise-table .field-validation-error {
        font-size: .875rem;
    }
}

/* status */

table .status.badge {
    font-size: 1rem;
    padding: .375rem .5rem;
}
table .status.pending {
    background-color: #d1ecf1;
}
table .status.processing {
    background-color: #fff3cd;
}
table .status.complete {
    background-color: #d4edda;
}
table .status.cancelled {
    background-color: #f8d7da;
}

/* pagination */

.pagination .current-page.page-item .page-link {
    color: #fff;
    background-color: #0E606C;
    border-color: #0E606C;
}

/* dark customer */

[dark-theme="true"] .block-account-navigation ul li a.active, [dark-theme="true"] .block-account-navigation ul li a:hover {
    color: #fff;
    border-color: #1fb0c7;
    background-color: #2d3133;
}