/* Conteneur principal pour le Player et ses Devices */
.player-row {
    display: flex;
    align-items: flex-start;
    gap: 100px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.search-serial-container .form-group{
    display:flex;
    flex-direction:row;
}


.tab-container {
    flex: 1;
    display: flex;
    height: 100%;
    min-height: 0;
}

.devices-container {
    flex: 1; 
    min-width: 300px;
}

.player-info {
    flex: 0 0 30%;
    padding-left: 20px; 
}

.player-details ul {
    list-style-type: none;
    padding-left: 0;
}

.device-details-item {
    margin-bottom: 10px;
    padding: 5px;
    text-align: left;
    align-items:center
}

.device-details-item > div:not(.edit-buttons) {
    flex: 1;
    min-width: 150px;
}

.edit-buttons {
    display: flex;
    flex-wrap:nowrap;

}
.edit-buttons > img:hover {
    opacity:0.6;
}
.btnOpenModal:hover {
    opacity: 0.6;
}
.device-details-item ul {
    list-style-type: none;
    padding-left: 0;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.device-details-item ul li {
    padding: 0;
    margin: 0;
}



.clients-sidebar {

    display:flex;
    flex-direction: column;
    height: 100%;
    min-width: 200px;
    z-index: 100;
/*    transition: all 0.5s ease-in;*/
    border-right: thin solid;
    border-color: lightgray;
    scroll-behavior:auto;
}


.clients-sidebar.close {
    min-width: auto; /* Collapsed width */
    opacity:1;
    padding:0;
}

.clients-sidebar.close .side-expand{
    height:100%;
}

.clients-sidebar input{
    width:100%;
}

/* Nav Links */
.clients-sidebar .nav-links {
/*    height: calc(100%+100vh);*/
    padding: 0;
    margin:0;
    overflow: auto;
}

.clients-sidebar ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

.clients-sidebar ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.clients-sidebar .nav-links li {
    display: flex;
    list-style: none;
    transition: all 0.4s ease;
    height: 50px;
    align-items: center;
    font-weight: bolder;
    padding: 1rem;
    cursor: pointer;
    line-height:1;
    scroll-snap-align: start;
/*    word-break: break-all;*/
}

.clients-sidebar .nav-links li:hover {
    background: rgb(39, 93, 132);
    color:white;
    opacity:0.5;
}

/* Highlight active link */
.clients-sidebar .nav-links li.active {
    background: rgb(39, 93, 132);
    color: white;
}
.sidebarSearch{
    display:flex;
    flex-direction:row;
    margin-bottom:1px;
}
.side-expand {
    margin:0;
    padding:8px;
}

.expanded{
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

.display-none{
    display:none;
}

/* --- MAIN CONTENT AREA --- */
.content-section {
    /*    background: #f4f7fa;
    min-height: 100vh;*/
    display:flex;
    flex-direction:column;
    transition: all 0.5s ease;
    padding: 20px;
    width:100%;
    overflow: hidden;
}

.content-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.device-details {
    width: 100%;
    overflow: auto;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 !important;
}

.sticky-column {
    position: -webkit-sticky;
    position: sticky;
    right: 0; /* Pin to the right edge */
    background-color: white; /* Matches your table background */
    z-index: 2;
}

.config-gear {
    color: rgb(70, 116, 149);
    font-size: 2em;
}

.config-gear:hover{
    opacity:0.6;
    cursor:pointer;
}

.input-section{
    display:flex;
    flex-direction:column;
}

.device-details thead {
    position: sticky;
    top: 0;
    z-index: 5;
}