html {
    background: rgb(251, 252, 253);
}

body {
    padding: 20px;
    font-family: 'Roboto';
    margin: 0;
}
div, span {
    box-sizing: border-box;
}

.metrics {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 5px -3px rgb(0 0 0 / 20%), 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%);
}

.row, .apps-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0,0,0, .12);
    padding: 0 20px;
    position: relative;
}

.apps {
    width: 100%;
}

.apps-row {
    width: calc(100% + 20px);
    margin-left: -10px;
    padding: 0 10px;
    background-color: #f2f2f2;
}

.apps-row span:first-child {
    padding-left: 20px;
}

.apps-row:last-child {
    border-bottom: 1px solid transparent;
    margin-bottom: 10px;
}

.row span {
    display: flex;
    width: 33.3333%;
    align-items: center;
    color: rgba(0,0,0,.87);
    font-size: 14px;
    word-break: break-all;
    min-height: 48px;
}

.row span:last-child {
    padding-right: 15px;
}

.icon-collapse {
    position: absolute;
    right: 10px;
    top: 13px;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0,0,0,.87);
    border-radius: 50%;
    color: rgba(0,0,0,.87);
    font-weight: 300;
    cursor: pointer;
}

.table-header {
    height: 56px;
}

.table-header span {
    color: rgba(0,0,0,.54);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.table-header span:active {
    background-color: #fff;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header input {
    border: 1px solid rgba(0,0,0,.12);
    height: 48px;
    padding: 0 20px;
    border-radius: 24px;
    outline: none;
    box-sizing: border-box;
}

.table-header span:hover .arrow-up {
    border-bottom: 5px solid rgba(0,0,0, .38)
}

.table-header span i {
    margin-left: 10px;
}


.arrow-up {
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #fff;
}

.arrow-up.down {
    transform: rotate(180deg);
}


.arrow-up.active {
    border-bottom: 5px solid #757575!important;
}

@media (max-width: 399px) {
    .page-header {
        flex-direction: column;
    }
    .page-header input {
        width: 100%;
        margin-bottom: 20px;
    }

    body {
        padding: 20px 15px;
    }
}