.workoutscrud {
    padding-right: 20px;
}

.workoutscrud .errorMessageContainer {
    padding: 0 0 20px 0;
}

.workoutscrud .header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.workoutscrud .header .title {
    font-family: "Metropolis Bold";
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.24px;
    color: #0d4962;
}

/* .workoutscrud .tableRow.header {
    display: table-row;
} */

.workoutscrud .tblContainer table .header {
    position: sticky;
    inset-block-start: 0; /* "top" */
}

.workoutscrud .tblContainer table {
    overflow-y: auto;
}

.workoutscrud .list {
    overflow-y: auto;
}

.workoutscrud table .nameAndIcon {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

.workoutscrud table .nameAndIcon .workout-name {
    color: #0d4962;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workoutscrud .tblContainer table::-webkit-scrollbar,
.workoutscrud .list::-webkit-scrollbar {
    display: none;
}

.workoutscrud .tblContainer table,
.workoutscrud .list {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.workoutscrud .workout-icon {
    min-width: 42px;
    max-width: 42px;
    height: 42px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 8px;
}

/* DARK MODE */
.dark .workoutscrud .header .title,
.dark .workoutscrud table .nameAndIcon .workout-name {
    color: rgba(255, 255, 255, 0.87);
}

/* Mobile */
@media (max-width: 767px) {
    .workoutscrud {
        padding: 0 16px;
    }
    .workoutscrud .header .title {
        font-size: 18px;
        letter-spacing: 0.18px;
    }
}
