/* =========================================================
 * DESIGN PORTAIL B2B EDGE-TO-EDGE (Dashboard App)
 * ========================================================= */

body.woocommerce-account {
    background: #f5f5f5;
}

body.woocommerce-account .container.page-content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.woocommerce-account .woocommerce {
    display: flex !important;
    flex-wrap: nowrap !important;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    align-items: stretch;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 260px !important;
    flex-shrink: 0;
    background: #2b2b2b !important;
    color: #ffffff;
    padding: 40px 0 !important;
    border: none !important;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    color: #b0b0b0 !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #3a3a3a !important;
    color: #ffffff !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border-left: 4px solid #6e0018 !important;
    font-weight: 600;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    flex-grow: 1;
    width: calc(100% - 260px) !important;
    background: #ffffff !important;
    padding: 50px 60px !important;
    box-sizing: border-box;
    min-height: 100vh;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-size: 26px;
    font-weight: 300;
    text-transform: uppercase;
    color: #111;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    border: 1px solid #eaeaea;
}

body.woocommerce-account .woocommerce-MyAccount-content table th {
    background: #fafafa;
    color: #444;
    font-weight: 600;
    text-align: left;
    padding: 18px 15px;
    border-bottom: 2px solid #ddd;
    text-transform: uppercase;
    font-size: 13px;
}

body.woocommerce-account .woocommerce-MyAccount-content table td {
    padding: 15px;
    border-bottom: 1px solid #eaeaea;
    color: #555;
    vertical-align: middle;
}

body.woocommerce-account .woocommerce-MyAccount-content table tr:hover td {
    background: #fdfdfd;
}

body.woocommerce-account .woocommerce-MyAccount-content .button {
    background: #111 !important;
    color: #fff !important;
    border: none;
    padding: 10px 20px !important;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover {
    background: #6e0018 !important;
}
