@import "assets/css/_lib";

.table_wrapper {
    margin-top: 20px;
    font-size: 12px;
    @include pc {
        font-size: 16px;
    }
    &>table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;

        thead {
            tr {
                th {
                    height: 40px;
                    padding: 0 10px;
                    font-size: 1em;
                    font-weight: 400;
                    color: #888;
                    text-align: left;
                    border-bottom: 1px solid #ddd;

                    &:first-child {
                        padding-left: 0;
                    }

                    &:last-child {
                        padding-right: 0;
                        text-align: center;
                    }
                }
            }
        }

        tbody {
            tr {
                height: 60px;
                cursor: pointer;
                td {
                    padding: 0 10px;
                    font-size: 1em;
                    font-weight: 400;
                    color: #333;
                    border-bottom: 1px solid #ddd;
                    padding: 20px 10px;

                    &:first-child {
                        padding-right: 0;
                    }

                    &:last-child {
                        padding-right: 0;
                    }
                }

                .rank {
                    margin-right: 10px;
                    &>div {
                        margin: auto;
                        width: 24px;
                        height: 24px;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-family: 'HelveticaNeue', 'Helvetica', arial, 'sans-serif' !important;
                        font-size: 0.8em;
                        color: #fff;
                        z-index: 1;
                    }
                }

                .name{
                    max-width: 100px;
                    @include ellipsis;
                }
                .thumbnail_image {
                    width: 64px;

                    &>img {
                        width: 64px;
                        height: 64px;
                        margin-right: 10px;
                        border-radius: 50%;
                        vertical-align: middle;
                    }
                }
                .total_revenue{
                    text-align: center;
                }
            }
        }
    }
}