.users-container {
    width: 80%;
}

.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;
    }

    .centres-selectlike {
        width: 100% !important;
    }

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

    td.hoverable {
        position: relative;
    }
}

.user-overlay {
    display: none;
    width: max-content;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 10px;

    .user-overlay-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        flex: 1;
    }
}

.user-overlay.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    pointer-events: none;
}
