#sms_table{
    max-height: 70vh;
    overflow: auto;
    padding-right: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    background: #fff;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}
#sms_table table{
    margin-bottom: 0;
}
#sms_table thead th{
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 2;
}
.sms-results-count{
    font-weight: 600;
    margin: 8px 0 6px;
}
.sms-pagination{
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    align-items: center;
}
.sms-pagination .btn{
    min-width: 90px;
}
.sms-alert-badge{
    display: inline-block;
    min-width: 22px;
    padding: 2px 7px;
    margin-left: 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background-color: #e53935;
    vertical-align: middle;
}
.sms-admin-link .sms-alert-badge{
    margin-left: 6px;
}
.sms-alert-button{
    position: relative;
}
.sms-alert-button .sms-alert-badge{
    position: absolute;
    top: -6px;
    right: -6px;
}

.sms-rating-select{
    min-width: 64px;
}

.sms-rating-log{
    white-space: pre-wrap;
    line-height: 1.2;
}

.sms-rating-filter-row{
    cursor: pointer;
}

.table_sms_rating{

    max-height: 50vh;
    overflow: scroll;

}

.bordered{

    border:solid;

}

#rating_table{
    max-height: 40vh;
    overflow: scroll;
}

#rating_clinique{
    max-height: 30vh;
    overflow: scroll;
}

/* Layout par ressource */
.sms-ressource-layout {
    margin: 0;
}
.sms-ressource-sidebar {
    min-width: 240px;
    max-width: 280px;
}
@media (max-width: 767.98px) {
    .sms-ressource-sidebar {
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    .sms-ressource-menu .nav {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .sms-ressource-menu .nav-item {
        flex: 1 1 45%;
    }
    #revue_rating_right_column.sms-ressource-content {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}
