/* Account dashboard page only */
body.account-account {
    background: #f8f9fa;
}

#account-account {
    padding-top: 8px;
    padding-bottom: 24px;
}

#account-account .breadcrumb {
    margin: 8px 0 12px;
    padding: 0;
    background: transparent;
}

#account-account .breadcrumb > li,
#account-account .breadcrumb > li a {
    font-size: 12px;
    color: #9aa3af;
}

#account-account .breadcrumb > li + li:before {
    color: #c7cdd6;
}

#account-account .breadcrumb > li:last-child,
#account-account .breadcrumb > li:last-child a {
    color: #e15f5f;
}

body.account-account h3 {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    font-family: "Inter", "Roboto", Arial, sans-serif;
    font-size: 31px;
    font-weight: 700;
    color: #1f2937;
}

#account-account #content > .account-list > h3 {
    font-size: 30px;
    margin-bottom: 18px;
}

#account-account .account-list .list-unstyled {
    margin: 0 0 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

#account-account .account-list .list-unstyled li {
    float: none;
    width: auto;
    margin: 0;
}

#account-account .account-list .list-unstyled a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 88px;
    padding: 18px;
    margin: 0;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #4b5563;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform .25s ease, box-shadow .25s ease, color .25s ease;
}

#account-account .account-list .list-unstyled a i {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #6b7280;
    background: #f4f6f8;
    transition: color .25s ease, background-color .25s ease;
}

#account-account .account-list .list-unstyled a span {
    margin: 0;
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

#account-account .account-list .list-unstyled a:hover {
    background: #fff;
    color: #d4a100;
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

#account-account .account-list .list-unstyled a:hover i {
    color: #d4a100;
    background: #fff7dd;
}

#account-account .account-module {
    border: none;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

#account-account .account-module .title {
    margin: 0;
    padding: 16px 18px 12px;
    border: 0;
    font-size: 30px;
    font-weight: 700;
    color: #1f2937;
}

#account-account .account-module .title i {
    color: #6b7280;
}

#account-account .account-module .list-unstyled {
    margin: 0;
    padding: 0 0 8px;
}

#account-account .account-module .list-group-item {
    border: 0;
    border-top: 1px solid #f2f4f7;
    margin: 0;
    padding: 11px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
    background: transparent;
    position: relative;
}

#account-account .account-module .list-group-item i {
    font-size: 14px;
    color: #9aa3af;
    transition: color .2s ease;
}

#account-account .account-module .list-group-item:hover {
    color: #d4a100;
    background: #fafbfd;
}

#account-account .account-module .list-group-item:hover i {
    color: #d4a100;
}

#account-account .account-module .list-group-item[href*="route=account/account"] {
    color: #1f2937;
    font-weight: 700;
    background: #f9fafb;
}

#account-account .account-module .list-group-item[href*="route=account/account"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    background: #f3b700;
}

#account-account .account-module .account-logout {
    color: #d66f6f;
}

#account-account .account-module .account-logout i {
    color: #d66f6f;
}

@media (max-width: 991px) {
    #account-account .account-list .list-unstyled {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #account-account .account-list .list-unstyled {
        grid-template-columns: 1fr;
    }

    #account-account .account-module {
        margin-top: 12px;
    }
}

/* Shared style for account detail routes */
#account-edit,
#account-password,
#account-address,
#account-wishlist,
#account-order,
#account-download,
#account-reward,
#account-return,
#account-transaction,
#account-newsletter {
    padding-top: 8px;
    padding-bottom: 24px;
}

#account-edit .breadcrumb,
#account-password .breadcrumb,
#account-address .breadcrumb,
#account-wishlist .breadcrumb,
#account-order .breadcrumb,
#account-download .breadcrumb,
#account-reward .breadcrumb,
#account-return .breadcrumb,
#account-transaction .breadcrumb,
#account-newsletter .breadcrumb {
    margin: 8px 0 12px;
    padding: 0;
    background: transparent;
}

#account-edit #content > h1,
#account-password #content > h1,
#account-address #content > h1,
#account-wishlist #content > h1,
#account-order #content > h1,
#account-download #content > h1,
#account-reward #content > h1,
#account-return #content > h1,
#account-transaction #content > h1,
#account-newsletter #content > h1 {
    margin: 0 0 16px;
    font-family: "Inter", "Roboto", Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #1f2937;
}

#account-edit #content > .form-horizontal,
#account-password #content > .form-horizontal,
#account-address #content > .form-horizontal,
#account-newsletter #content > form,
#account-wishlist #content > .table-responsive,
#account-order #content > .table-responsive,
#account-download #content > .table-responsive,
#account-reward #content > .table-responsive,
#account-return #content > .table-responsive,
#account-transaction #content > .table-responsive,
#account-order #content > .no-items,
#account-download #content > .no-items,
#account-return #content > .no-items,
#account-transaction #content > .no-items,
#account-wishlist #content > .no-items {
    background: #fff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 18px;
}

#account-edit #content .form-group,
#account-password #content .form-group,
#account-address #content .form-group,
#account-newsletter #content .radio {
    border-bottom: 1px solid #f1f3f6;
    margin: 0;
    padding: 14px 0;
}

#account-edit #content .form-group:last-child,
#account-password #content .form-group:last-child,
#account-address #content .form-group:last-child {
    border-bottom: 0;
}

#account-edit #content .buttons,
#account-password #content .buttons,
#account-address #content .buttons,
#account-newsletter #content .buttons {
    margin-top: 14px;
}

#account-edit #content .btn-primary,
#account-password #content .btn-primary,
#account-address #content .btn-primary,
#account-newsletter #content .btn-primary {
    border-radius: 999px;
    padding: 9px 18px;
    background: #f3b700;
    border-color: #f3b700;
    color: #1f2937;
    font-weight: 600;
}

#account-edit #content .btn-default,
#account-password #content .btn-default,
#account-address #content .btn-default,
#account-newsletter #content .btn-default {
    border-radius: 999px;
    padding: 9px 16px;
}

#account-wishlist #content .table,
#account-order #content .table,
#account-download #content .table,
#account-reward #content .table,
#account-return #content .table,
#account-transaction #content .table {
    margin-bottom: 0;
    border: 0;
}

#account-wishlist #content .table > thead > tr > td,
#account-order #content .table > thead > tr > td,
#account-download #content .table > thead > tr > td,
#account-reward #content .table > thead > tr > td,
#account-return #content .table > thead > tr > td,
#account-transaction #content .table > thead > tr > td {
    background: #f7f9fb;
    border-bottom: 1px solid #edf0f4;
    font-weight: 600;
    color: #4b5563;
}

#account-wishlist #content .table > tbody > tr > td,
#account-order #content .table > tbody > tr > td,
#account-download #content .table > tbody > tr > td,
#account-reward #content .table > tbody > tr > td,
#account-return #content .table > tbody > tr > td,
#account-transaction #content .table > tbody > tr > td {
    border-top: 1px solid #f0f2f5;
}

/* Account side nav active states for listed routes */
body.account-account .account-module .list-group-item[href*="route=account/account"],
body.account-edit .account-module .list-group-item[href*="route=account/edit"],
body.account-password .account-module .list-group-item[href*="route=account/password"],
body.account-address .account-module .list-group-item[href*="route=account/address"],
body.account-wishlist .account-module .list-group-item[href*="route=account/wishlist"],
body.account-order .account-module .list-group-item[href*="route=account/order"],
body.account-download .account-module .list-group-item[href*="route=account/download"],
body.account-reward .account-module .list-group-item[href*="route=account/reward"],
body.account-return .account-module .list-group-item[href*="route=account/return"],
body.account-transaction .account-module .list-group-item[href*="route=account/transaction"],
body.account-newsletter .account-module .list-group-item[href*="route=account/newsletter"] {
    color: #1f2937;
    font-weight: 700;
    background: #f9fafb;
}

body.account-account .account-module .list-group-item[href*="route=account/account"]::before,
body.account-edit .account-module .list-group-item[href*="route=account/edit"]::before,
body.account-password .account-module .list-group-item[href*="route=account/password"]::before,
body.account-address .account-module .list-group-item[href*="route=account/address"]::before,
body.account-wishlist .account-module .list-group-item[href*="route=account/wishlist"]::before,
body.account-order .account-module .list-group-item[href*="route=account/order"]::before,
body.account-download .account-module .list-group-item[href*="route=account/download"]::before,
body.account-reward .account-module .list-group-item[href*="route=account/reward"]::before,
body.account-return .account-module .list-group-item[href*="route=account/return"]::before,
body.account-transaction .account-module .list-group-item[href*="route=account/transaction"]::before,
body.account-newsletter .account-module .list-group-item[href*="route=account/newsletter"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    background: #f3b700;
}
