body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

.sub-nav {
    background-color: #007bff;
    box-shadow: 0 5px 5px -3px #00000096;
    z-index: 9;
    position: sticky;
    padding: 0 2rem;
}

.sub-nav svg {
    border-right: 1px solid #cacaca;
    padding: 0 0.5rem;
}


.tab-item {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

.tab-item.active {
    border-bottom: 2px solid white;
}

.content-container {
    /* padding: 20px; */
    background-color: #f9f9f9;
    display: none;
    height: 100%;
    position: relative;
}

.content-container.active {
    display: block;
}

.instructions-content {
    background-color: white;
    color: #333;
    /* padding: 20px; */
    /* border-radius: 8px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    line-height: 1.5;
    /* background-color: #2d3e5b;
    color: white; */
    min-height: 100%;
    box-sizing: border-box;
}



.editor-ui-container {
    width: 50%;
    border-right: 1px solid #ccc;
    display: flex;
    flex-direction: column;
}

.editor-ui-container .tabs {
    display: flex;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.editor-ui-container .tab {
    padding: 10px 20px;
    cursor: pointer;
    border-right: 1px solid #ccc;
    color: black;
}

.editor-ui-container .tab.active {
    background-color: #fff;
    font-weight: bold;
}

#editor {
    flex: 1;
}

.preview-container {
    width: 50%;
    flex: 1;
    height: auto;
    overflow: hidden; 
}

.preview {
    width: 100%;
    height: 100%;
    padding: 0px;
    background-color: #f9f9f9;
    overflow: auto;
}
.testcase {
    display: none;
}

.tabs #btnSaveFiles {
    cursor: pointer;
    position: absolute;
    right: 6px;
    top: 0;
    color: #000000;
    fill: #000000;
}

#btnCorrector {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
}

.inscructions-container {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 33vh;
}

.editor-container {
    display: flex;
    overflow: visible;
    min-height: 500px;
    height: 100%;
    border-top: 2px solid #b8b8b8;
    width: 100%;
    align-items: stretch;
    flex-direction: row;
    margin-top: 0;
    position: relative;
    align-self: flex-start;
}
.submit-container {
    height: 80px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    background-color: #2d3e5b;
    padding: 10px 0;
}

.tab-item.active {
    border-bottom: 3px solid #FFEB3B;
}


.tab-bar, .bar-preview {
    display: flex;
}

.tab-new, .tab-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dadada;
    width: 28px;
    height: 17px;
    border-radius: 4px;
}
  
.tab-new svg {
    pointer-events: none; /* pour éviter la sélection au clic */
}

.bar-preview .bar-group.url {
    width: calc( 100% - 37px );
}

.bar-preview .bar-group.url input[type=text] {
    padding: 9px 10px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

.bar-preview .bar-group.buttons {
    display: flex;
    align-items: stretch;
    flex-direction: row-reverse;
    width: 37px;
}





/* .tab-container {
    display: flex;
    align-items: center;
    justify-content: start; 
    background-color: #007bff;
    color: white;
    border-bottom: 1px solid #ccc;
    padding: 10px 20px; 
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
} */

/* Style pour le logo */
.logo {
    height: 40px; /* Ajuste la taille selon ton logo */
    margin-right: 10px;
}

.tab-container .tabs {
    display: flex;
    gap: 20px; /* Espacement entre les onglets */
    padding-left: 2rem;
}

/* Onglets */
.tab-container .tab-item {
    padding: 10px 15px;
    cursor: pointer;
}

.tab-container .tab-item.active {
    border-bottom: 2px solid yellow; /* Accentuation jaune sous l'onglet actif */
}
