/* //inputs */
.search-filter .form-select-input {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding-left: 36px; 
    background-image: url('/vidal/static/src/omar/img/icons/search-icon.png');
    background-repeat: no-repeat;
    background-position: 10px center; 
    background-size: 16px; 
}

input[type="text"].search-input {
    height: 43px;
    font-size: 16px;
    color: var(--c-grey-500);
    outline: none;
}

input[type="text"].search-input::placeholder {
    color: var(--c-grey-300);
}
input[type="text"].search-input:focus {
    border-color: #1985ac; 
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25);
}



/* termine badge */
#Termine-warring {
    color: #F3B414;
    position: relative;
}

#Termine-warring span {
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #F3B414;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 4px rgba(243, 180, 20, 0.24);;
    position: relative;
    left: -10px;
    top: 5px;
    transform: translateY(-50%);
}

#Termine-success {
    color: #2EA47C;
    position: relative;
}

#Termine-success span {
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #2EA47C;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 4px rgba(46, 164, 124, 0.24);
    position: relative;
    left: -10px;
    top: 5px;
    transform: translateY(-50%);
}


#Termine-failed {
    color: #E40D0D;
    position: relative;
}
#Termine-failed span {
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #E40D0D;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 4px rgba(228, 13, 13, 0.24);
    position: relative;
    left: -10px;
    top: 5px;
    transform: translateY(-50%);
}

#badge-message-failed span{
    width: 8px;
    height: 8px;
    display: inline-block;
    background-color: #E40D0D;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 2px rgba(228, 13, 13, 0.24);
    position: relative;
    left: -5px;
    top: -70px;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
}


/* message modal */


.message-container {
    display: flex;
    flex-direction: column; 
    margin-bottom: 20px;
}

.message-left-top {
    display: flex;
    align-items: center;
    margin: 15px 15px 10px 15px;
    position: relative;
}

.profil-cercle {
    position: absolute;
    top: 50%; 
    left: 25px; 
    transform: translate(-50%, -50%);
    border: 2px solid #E40D0D;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    z-index: 2;
}

.profil-badge {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #E40D0D;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 2px rgba(228, 13, 13, 0.24);
    left: 35px; 
    bottom: 5px; 
    z-index: 3; 
}

.user-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    z-index: 1;
}

.user-info-message {
    flex: 1;
}

.user-info-message .user-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.message-date-time {
    color: #A9A9A9;
    font-size: 13px;
}

.message-center {
    display: flex;
    flex-direction: column; 
    flex: 1;
    margin: 0 15px 0 80px;
}

.message-title {
    font-weight: 400;
    font-size: 14px;
}

.message-text {
    color: #6C87AE;
    margin-bottom: 10px;
}

.message-footer {
    text-align: right;
}

/* upload file styling */

.new-comment-file{
    background-color: rgba(58, 142, 246, 0.1);
    border: 3px dotted #3A8EF6;
    padding: 20px;
}

.file-upload {
    width: 300px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
}

.file-upload input[type="file"] {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.label-file{
    color: #3A8EF6;
}


.file-upload .img-cercle img{
    background-color: #CAE3FF;
    border-radius: 50%;
    width: 37px;
    height: 37px;
    margin-right: 15px;
}


.upload-text {
    position: relative;
    left: 40px;
    margin-left: 15px;
    font-size: 12px;
    color: #6C87AE;
}
.btn-importer {
    margin-left: auto;
    display: inline-block;
    background: linear-gradient(to right, #3A8EF6, #2D7DBE);
    color: #fff;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.btn-importer:hover {
    color: #ffffff;
    background-color: linear-gradient(to right, #2D7DBE, #3A8EF6);
    border-color: #0056b3;
}

/* for the loading file */




.uploaded-files-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uploaded-files-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: #FEFEFE;
    border: 1px solid #B5B5B5; 
    border-radius: 5px; 
    padding: 10px;
}

.uploaded-files-list li .file-details {
    flex-grow: 1;
}

.uploaded-files-list li .file-details .file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.uploaded-files-list li .file-details .file-info .file-name {
    flex-grow: 1;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    font-size: 13px;
}

.uploaded-files-list li .file-details .file-info .file-size {
    margin-right: 10px;
    color: #A9A9A9;
    font-size: 12px;
}

.progress-bar {
    width: 50%;
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, #3A8EF6, #2D7DBE);
    transition: width 0.3s ease-in-out;
}


.uploaded-files-list li .file-actions {
    display: flex;
    align-items: center;
}

.uploaded-files-list li .file-actions .delete-icon {
    cursor: pointer;
}

.file-icon{
    margin-right: 20px;
}

/* for the select input */


.select-container {
    position: relative;
    width: 100%;
}

.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: right center;
    padding: 8px 10px 8px 40px; 
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.icon-left {
    position: absolute;
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
}

.custom-select option {
    padding: 8px 10px; 
}

#tableBody{
    font-size: 12px;
}