.account-wrap {
    margin-top: 42px;

    .account-left {
        min-width: 267px;
    }

    .account-right {
        width: 100%;
        margin-left: 30px;
        overflow: hidden;
    }
}

.account-wrap-inner {
    display: flex;

    .account-right {
        .table {
            tbody {
                tr {
                    td {
                        vertical-align: middle;
                    }
                }
            }
        }

        .btn-view,
        .btn-download,
        .btn-add-to-cart,
        .btn-delete {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 30px;
            width: 30px;
            border: 1px solid var(--color-gray-lite);
            background: var(--color-white-lite);
            padding: 0;

            &:hover,
            &:focus {
                border: 1px solid var(--color-primary-alpha-15);
                background: var(--color-primary-alpha-10) !important;

                > i {
                    color: var(--color-primary);
                }

                svg {
                    path {
                        stroke: var(--color-primary);
                    }
                }
            }

            &.btn-loading {
                &:after {
                    background-image: conic-gradient(
                        transparent 5deg,
                        var(--color-primary) 360deg
                    );
                    mask: radial-gradient(
                        farthest-side,
                        transparent calc(100% - 1.3px),
                        var(--color-primary) 0
                    );
                }

                > i,
                svg {
                    opacity: 0;
                }
            }

            > i {
                color: var(--color-black-20);
                transition: var(--transition-150);
            }

            svg {
                path {
                    stroke: var(--color-black-20);
                }
            }
        }
    }
}

.account-sidebar {
    li {
        margin: 6px 0;

        &:last-child {
            margin-bottom: 0;
        }

        &.active {
            a {
                font-weight: var(--font-medium);
                color: var(--color-primary);

                &:after {
                    position: absolute;
                    content: "";
                    left: 0;
                    top: 50%;
                    height: 15px;
                    width: 7px;
                    background: var(--color-primary);
                    border-radius: 0 12px 12px 0;
                    transform: translateY(-50%);
                }
            }
        }

        a {
            font-size: 16px;
            line-height: 36px;
            position: relative;
            display: flex;
            align-items: center;
            color: var(--color-black);
            padding-left: 28px;

            .count {
                font-size: 10px;
                line-height: 16px;
                height: 16px;
                width: 16px;
                margin-left: 4px;
                color: var(--color-white);
                background: var(--color-red);
                text-align: center;
                border-radius: 50%;
                display: none;
                transform: translateY(-6px);
            }

            &:hover {
                color: var(--color-primary);
            }

            > i {
                font-size: 24px;
                margin-right: 15px;
                color: var(--color-gray);
            }
        }
    }
}

.account-wrap {
    .empty-message {
        padding: 64px 15px 63px;
        text-align: center;

        > h3 {
            font-weight: var(--font-normal);
        }
    }
}

@media screen and (max-width: 1400px) {
    .account-wrap {
        .account-left {
            min-width: 245px;
        }
    }
}

@media screen and (max-width: 991px) {
    .account-wrap {
        margin-top: 23px;

        .account-left {
            min-width: 0;
        }

        .account-right {
            margin: 30px 0 0 0 !important;
        }
    }

    .account-wrap-inner {
        flex-direction: column;
    }

    .account-sidebar {
        li {
            a {
                .count {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
            }
        }
    }
}
