@font-face {
    font-family: 'avenir-light';  src: url('../fonts/avenir-lt-w01_35-light1475496.woff2') format('woff2');
    font-family: 'avenir-heavy';  src: url('../fonts/avenir-lt-w01_85-heavy1475544.woff2') format('woff2');
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; 
}
body {
    background-color: #ffffff;
    color: #082e50;
    font-family: "avenir-light", sans-serif !important;
 
}

label{
    font-size: 13px;
    font-family: "avenir-heavy", sans-serif !important;
    user-select: none !important;
}
p, h1, h2, h3, h4, h5, h6{
    margin-bottom: 0px !important;
}

a:link{
    color: #082e50;
}
option{
    cursor: pointer !important;
}
#login-page{
    max-width: 970px;
    max-width: 970px;
    margin: auto;
}

.pink-theme-color{
    color: #e439bd !important;
}

#forgottenPasswordLink{
    text-decoration: none;
    color: #082e50 !important;
    font-weight: 600;
}
#forgottenPasswordLink:hover{
    color:  #e439bd !important;
}

.custom-header {
    background-color: #ffffff; 
    color: white;
    padding: 0.5rem 1rem; 
    position: sticky; 
    top: 0; 
    z-index: 1030; 
}

.button-logout{
    position: absolute;
    top: 20px;
    right: 20px;
}

#navbarContent{
    max-width: 970px;
    margin: auto;
}
.logoCamtekTransfer{
    user-select: none;
}
.logoCamtekTransfer > img{
    width: 230px;
}

.completeDatawarehouseLogo{

    object-fit: contain;
    height: fit-content;
    max-height: 45px;
    object-position: left;
    min-width: 150px;
}


.infoContactContainerOne{
    gap: 1px;
    font-weight: 600;
    font-size: 12px;
    min-width: 150px;
}

.infoContactContainerTwo{
    gap: 1px;
    font-weight: 600;
    font-size: 12px;
    min-width: 125px;
}

.btn-primary {
    background-color: #e439bd !important;
    border-color: #e439bd !important;
    border-radius: 0px !important;
    transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    font-weight: 700 !important;
}
.btn-primary:hover{
    color: #e439bd !important;
    background-color: #ffffff !important;
}

.btn-warning {
    background-color: #e49a39 !important;
    border-color: #e49a39 !important;
    color: white !important;
    border-radius: 0px !important;
    transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    font-weight: 700 !important;
}
.btn-warning:hover{
    color: #e49a39 !important;
    background-color: #ffffff !important;
}

.inputLogin {
    border-top: 1px solid #e439bd00 !important;
    border-right: 1px solid #e439bd00 !important;
    border-left: 1px solid #e439bd00 !important;
    border-bottom: 1px solid grey !important;
}
textarea{
    border: 1px solid #082e50 !important;
}
textarea, .inputLogin, #envoiSujetInput{
    border-radius: 0px !important;
    background-color: #303030;
    outline: none !important;
    border: 1px solid black;
    background-color: white !important;
}

textarea:hover, .inputLogin:hover, #envoiSujetInput:hover {
    border: 1px solid #e439bd !important;
}
textarea:focus, .inputLogin:focus, #envoiSujetInput:focus{
    border: 1px solid #e439bd !important;
    box-shadow: 0 0 0 .25rem #e439bd3b !important;
}

#footer{
    margin-bottom: 50px;
}
.footerContact{
    display: flex;
    flex-direction: row;
}
.pink-line{
    border-top: 2px solid #e13abd;
    width: 100%;
}



/* FORMULAIRE D'ENVOI */

#emailInputSend{
    font-weight: 600;
    padding: 5px 8px 5px 8px;
    user-select: none !important;
    outline: none;
    border: 1px solid transparent;
    border-bottom: 1px solid grey;
}
#emailInputSend:hover{
    border: 1px solid #e439bd !important;
}
#emailInputSend:focus{
    border: 1px solid #e439bd;
    box-shadow: 0 0 0 .25rem #e439bd3b !important;
}


#typeDonneesInput{
    outline: none;
    background-color: none;
    border-radius: 0px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: 1px solid grey;
    padding: 5px 8px 5px 8px;
    transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
}
#typeDonneesInput:hover{
    border: 1px solid #e439bd !important;
}
#typeDonneesInput:focus{
    border: 1px solid #e439bd;
    box-shadow: 0 0 0 .25rem #e439bd3b !important;
}

.checkboxLignesCommerciales, .checkboxLignesCommerciales label{
    cursor: pointer;
}
#infosTransmettreCalendrier{
    display: none;
}
#infosTransmettreCalendrier label{
    pointer-events: none;
    font-size: 13px;
    padding-left: 32px;
}



.custom-checkbox {

    border-radius: 0px !important;
    border: 1px solid #082e50;
    width: 25px !important;
    height: 25px !important;
    cursor: pointer;
    box-shadow: 0 0 0 .25rem #e439bd00 !important;
    
    appearance: none;

    background-color: white;
    position: relative;
    cursor: pointer;
   
}


.custom-checkbox:checked{
    border: 1px solid black;
}

.custom-checkbox:checked::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 13px;
    border: solid #e439bd; /* Couleur noire */
    border-width: 0 2px 2px 0;
}

#dateApplication, #dateMiseEnOeuvre{
    cursor: pointer;
    margin-top: 5px;
    border-radius: 0px !important;
}
#dateApplication:focus, #dateMiseEnOeuvre:focus{
    box-shadow: 0 0 0 .25rem #e439bd42 !important;
    border-color: #e439bd !important; 
}
#buttonUploadFiles{
    cursor: pointer;
    border: 1px solid #082e50;
    padding: 6px;
    background-color: #f8f9fa;
    box-shadow: 0 0 0 .25rem #e439bc00 !important;
}
#fileUpload, #buttonUploadFiles{
    border-radius: 0px !important;
}

.notesInfos{
    font-style: italic;
    font-weight: 300;
    font-size: 13px;
    padding-top: 4px;
}

#buttonUploadFiles:hover, #fileUpload:hover{
    border: 1px solid #e439bd !important;
    box-shadow: 0 0 0 .25rem #e439bd42 !important;
}
#fileUpload:focus{
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 0 0 .25rem #e439bc00 !important;
}

#fileListCloseOpen{
    cursor: pointer;
    user-select: none;
    padding-right: 10px;
    width: fit-content;

}
#fileListCloseOpen span{
    transition: color 0.1s ease-in-out;
}
#fileListCloseOpen:hover span{
    color: #e439bd;
}
#fileListToSend{
    user-select: none;
    overflow: hidden;
    height: auto;
}
#fileListToSend.closedList{
    height: 0px !important;
}

#accepterTermesConditionContainer{
    position: relative;
    width: fit-content;
}
#accepterTermesConditionsLabel{
    cursor: pointer;
}
#seeTermesConditions{
    cursor: pointer;
    padding: 3px;
    background-color: rgb(95, 95, 95);
    color: white;
    font-weight: 800;
    font-size: 16px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    user-select: none;
    font-family: initial;
    letter-spacing: 3px;
}
#termesConditionsPopUp{
    position: absolute;
    z-index: 100;
    display: none;
    flex-direction: column;
    row-gap: 7px;
    border: 2px solid grey;
    border-radius: 6px;
    left: calc(100% + 10px);
    top: -270px;
    width: 600px;
    max-width: 50vw;
    height: 300px;
    background-color: white;
    padding: 10px;
    font-size: 13px;
    overflow: auto;
    scrollbar-width: thin;
}
#termesConditionsPopUp > div{
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}
#termesConditionsPopUp.showTerms{
    display: flex;
}
#termesConditionsPopUp h6{
    font-weight: 700;
    text-decoration: underline;
}

#buttonUploadFiles.blockedButton{
    border-color: red !important;
    color: red !important;
}

#buttonSubmitDatas.blockedButton{
    background-color: grey !important;
    border-color: grey !important;
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

.errorAnim {
    animation: shake 0.1s ease, color 0.1s ease-in-out;
    color: red !important;
}

@keyframes shake {
    0%, 100% { padding-left: 0px;  }
    25% { padding-left: 7px; }
    50% { padding-left: 3px; }
    75% { padding-left: 7px; }
}

#sendDatasPage, .otherPagesContainer{
    max-width: 970px !important;
}



/* UPLOADED FILES */

#userFilesContainer{
    padding: 5px;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    max-height: 300px;
    margin-bottom: 60px;
    border-top: 3px solid rgba(128, 128, 128, 0.562);
    margin-bottom: 104px;
}


.filesSentContainerList{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
}
.uniqueGroupFiles{
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid rgba(211, 60, 176, 0.774);
    height: 40px;
    overflow: hidden;
}
.referenceButton{
    cursor: pointer;
}
.openGroupFiles .referenceButton{
    cursor: auto;
}

.uniqueGroupFiles.openGroupFiles{
    height: auto !important;
    user-select: auto !important;
    background-color: #8080801f !important;
}

.uploadFilesDates{
    max-width: 80%;
}
.uploadFilesDates{
    font-size: 16px;
}
.filesSentContainerList ul{
    padding-left: 25px !important;
}

.uniqueGroupFiles li{
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    max-width: 100%; 
    display: flex; 
}
.uniqueGroupFiles li > p{
    padding-right: 8px;
}

#loadingCircle{
    width: 100%;
    height: 45px;
    margin: auto;
    display: flex;
    object-fit: contain;
    object-position: center;
}

#backToForm{
    display: none;
    font-size: 15px;
    cursor: pointer;
    border-bottom: 2px solid #ffffff00 !important;
    width: fit-content;
}
#backToForm:hover{
    border-bottom: 2px solid #e439bd !important;
    box-shadow: 0px 4px 6px -2px #e439bd3b !important;
}


@media screen and (max-width: 670px) {
    #termesConditionsPopUp{
        left: 0px;
        top: 40px;
        width: 600px;
        max-width: 90vw;
        height: 300px;
    }
  }