
.error {
    color: #b33; 
    font-weight: bold;
    font-size : 13px;
}
.marginTop{
    margin-top: 20px;
}
.marginBottom{
    margin-bottom: 20px;
}
.bootbox.custom-modal .modal-content {
    border: 1px solid white;
    color: red;
}

/* -----------------------------------modal institution detail-------------------------------------- */
.panel-info {
    display: flex;
    flex-direction: column;
}
.popup-modal-content {
    border-radius: 15px;
}

/* -----------------------------------modal institution detai-------------------------------------- */
.panel-info>.panel-heading {
    color: #31708f;
    background-color: #1b00ff;
    border-color: #1b00ff;
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}
.panel-heading{
    border-radius: 10px;
}
.panel-title{
 color: white;
}   
.panel-description {
    font-size: small;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
}

/* Styles pour les filtres de graphique */
#filterForm {
    align-items: center;
    gap: 10px;
}

#filterForm label {
    font-weight: 600;
    margin-bottom: 0;
}

#filterForm .form-control {
    min-width: 150px;
}

#chartContainer canvas {
    max-height: 400px;
}
.table-user-information > tbody > tr {
    border-top: 1px solid rgb(221, 221, 221);
}

.table-user-information > tbody > tr:first-child {
    border-top: 0;
}

.table-user-information > tbody > tr > td {
    border-top: 0;
}
.toppad
{margin-top:20px;
}
/* -----------------------------------END modal institution detai-------------------------------------- */
.user{
    display:none;
}
/* -----------------------------------Auto completion -------------------------------------- */
div.autoCompletionResults {
	max-height: 180px;
	
	padding: 2px; 
	overflow: auto;
	position: relative;  margin: auto; 

	border: 1px solid #666666;
	background-color: white;
	color:#666666;
}
div.autoCompOnTop {
	z-index:10; 
	position: absolute; 
	display:none;  
}
div.autoCompletionItem {
	text-align: left;
}
/* in IE : works with version 7 */
div.autoCompletionItem:hover {
	background-color: #EB7990;  /* #DC143C;  */
	color: white;
}
table li.autoComp {
	position:relative;
}

/* SELFDIAG TABLES */
.selfdiag-table {
    width: 300px;
    height: fit-content;
    margin-top: 20px;
    table-layout: fixed;
    border-collapse: separate;
    border-radius: 10px;
    border: 1px solid #ccc;
    border-spacing: 0;
    overflow: hidden;
}

.selfdiag-thead {
    font-weight: bold;
    color: white;
}

.selfdiag-thead th {
    padding: 10px;
    width: 300px;
}

.selfdiag-tbody {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    padding: 10px;
    width: 300px;
}

.selfdiag-subtitle {
    font-weight: bold;
    padding-block: 15px;
    padding-inline: 5px;
    width: 280px;
    padding-left: 10px;
}

.selfdiag-selected {
    color: black;
    width: 280px;
    font-weight: bold;
    padding-left: 10px;
}

.selfdiag-idle {
    background-color: #f0f0f0;
    color: #333;
    width: 280px;
    padding-left: 10px;
}

.selfdiag-result-item {
    cursor: pointer;
    width: 280px;
    padding-inline: 10px;
    padding-block: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    background-color: #f0f0f0;
    color: #333;

    &:hover {
        background-color: #e0e0e0;
    }
}

.table-calapevaluation {
table {
        border-collapse: separate;
    }

    thead {
        background-color: #4267aa;
        color: white;

        th {
            vertical-align: middle;
        }
    }
    tbody {
        text-align: center;

        td {
            border: none;
        }
    }
}

.table-selfcog {
    table {
        border-collapse: separate;
    }

    thead {
        background-color: #4267aa;
        color: white;

        th {
            vertical-align: middle;
        }
    }
    tbody {
        text-align: center;

        td {
            border: none;
        }

        & tr:nth-child(1), tr:nth-child(10), tr:nth-child(19) {
            background-color: #4267AA1A; /* 10% opacity */
            text-align: left;
            
            td {
                font-size: 16px;
            }
        }

        & :not(tr:nth-child(1)) td, :not(tr:nth-child(10)) td, :not(tr:nth-child(19)) td {
            padding: 2px;
        }
    }
}

.neurotab-pane:not(.active) {
    display: none;
}