.users-container {
    width: 80%;
}

.degrade {
    background: red;
    width: 200px;

    &:hover {
        background: darkred;
    }
}

.promote {
    background: limegreen;
    width: 200px;

    &:hover {
        background: darkgreen;
    }
}

.delete {
    border: 2px solid red;
    border-radius: 100%;
    background: white;
    color: red;
    font-weight: bold;
    padding: 5px 10px;
    aspect-ratio: 1 / 1;

    &:hover {
        background: red !important;
        color: white !important;
    }
}

.pagination-nav a {
    color: var(--cts-main);
    text-decoration: none;

    &:hover {
        color: var(--cts-alt);
    }
}

/* The "td-centres-selectlike" column is 100% width on CTS list pages.
   On the users list it must remain compact, otherwise it starves other columns. */
table.users-list {
    .td-centres-selectlike {
        width: fit-content !important;
        max-width: 260px;
    }

    td.td-centres-selectlike,
    th.td-centres-selectlike {
        max-width: 260px;
        overflow: clip;
        text-overflow: ellipsis;
    }

    .td-centres-selectlike .centres-selectlike {
        width: 100% !important;
        max-width: 260px;
    }

    .td-centres-selectlike .selectlike-multi {
        width: 100% !important;
        max-width: 260px;
    }

    .td-centres-selectlike .selectlike-multi__control {
        width: 100%;
        max-width: 260px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }

    thead tr:first-child {
        box-shadow: none;
    }
}
