.accounts-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    background: var(--background-dark);
}

.accounts-title {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 500;
    padding-right: 50px;
    padding-bottom: 5px;

    border-bottom: 1px solid white;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}

.accounts-left {
    width: 300px;
    min-width: 300px;
    height: 100%;
    padding: 20px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accounts-right {
    width: 100%;
    height: 100%;
    padding: 20px 100px;
    padding-left: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.accounts-search-container {
    margin-top: 20px;
    width: 100%;
}

.accounts-search-container .explore-datasets-search {
    width: 100%;
}

.accounts-sort {
    width: 100%;
    margin-top: 20px;
}

.account-element {
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
    height: 60px;
    min-height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    color: white;
    text-decoration: none;
    background: var(--background);
    margin-bottom: 10px;
    transition: 0.1s;
}
.account-element:hover {
    transition: 0s;
    background: var(--background-lighter);
    cursor: pointer;
}

.account-element-name {
    font-size: 1.2rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 3px;
}

.account-element-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: 0 0 0 1px var(--border);
    background: var(--background-dark);
}

.account-element-part {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 45px;
}

.account-element-left {
    width: 250px;
    box-sizing: border-box;
}

.account-element-right {
    width: 600px;
    max-width: calc(100% - 250px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.account-element-downloads, .account-element-datasets, .account-element-models {
    font-size: 1.1rem;
    width: 33%;
    max-width: 33%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}

.account-element-stat-text {
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

@media all and (max-width: 1500px) {
    .accounts-right {
        padding: 20px 40px;
    }
}

@media all and (max-width: 1200px) {
    .account-element-left {
        min-width: 200px;
    }

    .account-element-end {
        width: auto;
        padding-left: 40px;
        padding-right: 0;
        border-right: none;
    }

    .account-element-center {
        width: 200px;
        min-width: 200px;
    }
    
    .account-element-downloads, .account-element-datasets, .account-element-models {
        font-size: 1rem;
    }
}

@media all and (max-width: 1100px) {
    .account-element-center {
        width: 150px;
        min-width: 150px;
    }
}

@media all and (max-width: 1000px) {
    .account-element-end {
        display: none;
    }

    .account-element-center {
        width: 50%;
        min-width: 50%;
        border: none;
    }

    .account-element-left {
        width: 50%;
        min-width: 50%;
    }

}