
    body, html {
      height: 100%;
      margin: 0;
      overflow-x: hidden;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      position: relative;
    }

    .form-control:focus{
      border-color: #bfaaaa;
      outline: 0;
      box-shadow: 0 0 0 .25rem rgba(100, 83, 83, 0.25);
    }

    .background-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      overflow: hidden;
    }
    .background-container::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -2;
      background-color: #474540;
    }
    .bg-image {
      position: absolute;
      height: auto;
      z-index: -1;
    }

    .bg-image.left {
      bottom: 0;
      left: 0;
      width: 50%;
      opacity: 0.9;
    }

    .bg-image.right {
      bottom: 0;
      right: 0;
      width: 50%;
      opacity: 0.5;
    }




    header {
      background: #23221f;
      height: 8rem;
      border-bottom: solid 2px #F00;
      position: fixed;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0.98;
      z-index: 10;
    }
    .container {
      margin-top:8rem;
      min-height: calc(100vh - 8.2rem);
      display: flex;
      flex-direction: column;
      align-items: center;
      color: white;
      padding: 2rem;
      position: relative;
    }
    .form-container:not(.noFormStyle) {
      background-color: rgba(255, 255, 255, 0.95);
      padding: 2rem;
      border-radius: 1rem;
      color: #000;
      margin-top: 2rem;
      max-width: 920px;
      width: 100%;
      min-height: 100%;
      position: relative;
    }



    .logo {
      max-width: 400px;
      display: block;
    }



    .ctn_btns{
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      align-items: center;
    }






    @media (min-width: 992px) {
      .logo {
        max-width: 500px;
      }
    }
   

    .btn {
        background-color: #FFFdFd;
        border: none;
        padding: 0.75rem 2rem;
        margin: 1rem;
        font-size: 1.2rem;
        color: #2f2425;
        font-weight: 500;
        box-shadow: inset -1px -2px 3px #332;
        border: 1px solid #888;
        transition: 0.4s all;
    }

    .btn:hover {
        background-color: #EfEfEf;
        box-shadow: inset 1px 2px 2px #332,inset -2px -2px 1px #666;
    }

    .btn.red{
        color: #FFF;
        background-color: #b02836e0;
    }
    .btn.red:hover{
        background-color: #ba3845f0;
        transform: scale(1.05);
    }

    @keyframes blinkZoom {
        10%, 90% {
            transform: scale(1);
            filter: brightness(1);
        }
        50%, 55% {
            transform: scale(1.05);
            filter: brightness(1.25);
        }
        
    }

    @keyframes idle {
        0%, 90% {
            transform: scale(1);
            filter: brightness(1);
        }
    }

    .btn.animate {
        animation: blinkZoom 2s infinite ease-in-out;
    }

    .btn.animate.delay {
        animation-delay: 1s;
    }


    .ctn_btns:hover .btn.animate{
      animation-iteration-count: 1;
    }
    

    #main-buttons{
      margin-top:2rem;
      margin-bottom: 3rem;
    }
    
    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 1.5rem;
      color: #000;
      cursor: pointer;
    }

    .message {
      margin-top: 1rem;
      font-weight: bold;
    }

    .espace-pro-content section {
      margin-bottom: 3.5rem;
    }

    .espace-pro-content h2 {
      margin-bottom: 1.8rem;
      font-size: 1.8rem;
      border-bottom: 2px solid #333;
      padding-bottom: 0.5rem;
    }

    .espace-pro-content h3 {
        margin-top: 0.2rem;
        margin-bottom: 1rem;
        font-size: 1.4rem;
    }

    .espace-pro-content img {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 1rem auto;
        display: block;
        border-radius: 0.5rem;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }

    .espace-pro-content ul {
      padding-left: 1.2rem;
      list-style-type: disc;
    }

    .espace-pro-content li {
      margin-bottom: 0.5rem;
    }


    .message.success {
      color: #155724;
      background-color: #d4edda;
      border: 1px solid #c3e6cb;
      padding: 0.75rem;
      border-radius: 0.5rem;
      margin-top: 1rem;
      animation: fadeIn 0.6s ease forwards;
    }
    .message.error {
      color: #721c24;
      background-color: #f8d7da;
      border: 1px solid #f5c6cb;
      padding: 0.75rem;
      border-radius: 0.5rem;
      margin-top: 1rem;
      animation: fadeIn 0.6s ease forwards;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }






    #form-thi-questionnaire table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 1.5rem;
    border: none;
    background-color: transparent;
    }

    #form-thi-questionnaire thead {
    display: none; /* cacher l'en-tête pour un rendu plus minimaliste */
    }

    #form-thi-questionnaire tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-bottom: 0.5rem;
        background-color: rgba(21, 15, 15, 0.02);
        transition: background-color 0.3s ease;
    }

    #form-thi-questionnaire tr:nth-child(even) {
        background-color: rgba(0, 0, 0, 0.09);
    }

    #form-thi-questionnaire td {
        flex: 1;
        text-align: left;
        border: none;
        background: none;
    }

    #form-thi-questionnaire td:first-child {
        flex: 4;
        padding-right: 1rem;
        font-weight: 500;
    }

    #form-thi-questionnaire td input[type="radio"] {
        transform: scale(1.2);
        cursor: pointer;
    }

  
    


    
    #form-patient[thi_level="0"] #contact-form,
    #form-patient[thi_level="1"] #contact-form{
      display: none;
    }

    #form-patient div[thi_level="0"],
    #form-patient div[thi_level="1"],
    #form-patient div[thi_level="2"],
    #form-patient div[thi_level="3"],
    #form-patient div[thi_level="4"]{
      display:none;
    }

    #form-patient[thi_level="0"] div[thi_level="0"],
    #form-patient[thi_level="1"] div[thi_level="1"],
    #form-patient[thi_level="2"] div[thi_level="2"],
    #form-patient[thi_level="3"] div[thi_level="3"],
    #form-patient[thi_level="4"] div[thi_level="4"]{
      display:block
    }


    #form-patient h3{
        margin-bottom:2.5rem;
    }

    .THI_score {
        float: right;
        padding: 0.4rem 1rem;
        border-radius: 100%;
        box-shadow: 1px 2px 3px 0px #444;
        margin-right: 2rem;
        background: #FFF;
        text-align: center;
        font-weight: bold;
        overflow: hidden;
        position: relative;
        animation: blinkZoom 2s infinite ease-in-out;
    }

    .THI_score > span{
        border-bottom:1px solid #555;
        display: block;
        width: 100%;
    }
    #form-patient[thi_level="0"] .THI_score > input{
        color: rgb(0, 101, 3);
    }
    #form-patient[thi_level="1"] .THI_score > input{
        color: rgb(82, 98, 0);
    }
    #form-patient[thi_level="2"] .THI_score > input{
        color: rgb(156, 148, 0);
    }
    #form-patient[thi_level="3"] .THI_score > input{
        color: rgb(211, 67, 0);
    }
    #form-patient[thi_level="4"] .THI_score > input{
        color: rgb(153, 0, 0);
    }

    .THI_score > input {
        user-select: none;
        pointer-events: none;
        margin: auto;
        width: 2.6rem;
        padding: 0;
        font-size: 26px;
        border: none;
        background: none;
        display: block;
        text-align: center;
        animation: blinkZoom 2s infinite ease-in-out;
    }


    /*****************************************************************************************
                                RADIO SLIDER (POUR THI)
    ******************************************************************************************/

    .radio-slider {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 30px;
        height: 45px;
        margin: auto;
        width: 220px;
        overflow: hidden;
    }

    .radio-slider .slider-bg {
        position: absolute;
        top: 0px;
        width: 0;
        height: 45px;
        background-color: #FEFFFF;
        border-radius: 25px;
        box-shadow: inset 1px 1px 2px #444, 1px 1px 0px 1px #EEE;
        transition: left 0.5s ease, width 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
        z-index: 1;
        opacity: 0;
    }

    .radio-slider input[type="radio"] {
        display: none;
        color: #555;
    }

    .radio-slider label {
        flex: 1;
        z-index: 2;
        text-align: center;
        font-weight: 500;
        cursor: pointer;
        padding: 0.5rem 0;
        transition: font-weight 0.4s ease;
        border-radius: 25px;
        user-select: none;
    }

    /* Coloration du texte sélectionné */
    .radio-slider input[type="radio"]:checked + label {
        color: #111;
        font-weight: bold;
    }

    /* Positionner la bulle en fonction du radio sélectionné */
    .radio-slider input[id^="oui"]:checked ~ .slider-bg {
        left: 10px;
        width: calc(33.33% - 20px);
        opacity: 1;
    }

    .radio-slider input[id^="parfois"]:checked ~ .slider-bg {
        left: calc(33.33% - 5px);
        width: calc(33.33% + 10px);
        opacity: 1;
    }

    .radio-slider input[id^="non"]:checked ~ .slider-bg {
        left: calc(66.66% + 10px);
        width: calc(33.33% - 20px);
        opacity: 1;
    }

    
    .radio-slider input[id^="genreF"]:checked ~ .slider-bg {
        left: calc(50% + 12px);
        width: calc(50% - 20px);
        opacity: 1;
    }
    .radio-slider input[id^="genreH"]:checked ~ .slider-bg {
        left: 5px;
        width: calc(50% - 20px);
        opacity: 1;
    }


    .img-blur-borders {
        position: relative;
        display: inline-block;
        mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 75%);
        mask-size: 78% 98%;
        mask-position: 50px;
        mask-repeat: no-repeat;
    }







    #form-thi-yesNo .ctn_btns p{
      border-radius: 10px;
      box-shadow: inset 1px 1px 2px #332;
      padding-left: 1.5rem;
      margin: 1.1rem;
      display: inline-block;
      background: #FFF;
    }


    #form-main{
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      min-height: 40vh;
      margin-top: 5vh;
    }

    .ctn_profil-card{
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
    }

    .profil-card{
      width: 400px;
      border-radius: 6px;
      box-shadow: 1px 2px 3px 2px #666;
      margin: 0.8rem 0.8rem;
      overflow: hidden;
      display: flex;
      flex-direction: row;
    }

    .profil-card>img{
      height: 200px;
      margin-left:-10px;
      margin-right: -2px;
    }
    .profil-card>div{
      margin: 0 15px;
      margin-top: 10px;
      margin-bottom: -10px;
    }
    .profil-card h6{
      font-size: 0.90rem;
      line-height: 1.4rem;
      margin-bottom: 0.6rem;
    }

    .profil-card p {
        margin-bottom: 0.3em;
    }


    .rounded-box{
        display: block; 
        border-radius: 10px; 
        text-align: center; 
        box-shadow: 1px 2px 2px #555; 
        background-color: #FFF; 
        font-size: 1.2rem; 
        padding: 0.6rem 1rem; 
        margin: 0.4rem auto;
        margin-top: 1rem; 
        overflow: hidden;
    }

    
    .espace-pro-content section#market>div,
    .espace-pro-content section#reconnaissance>div,
    .espace-pro-content section#introduction>div,
    .espace-pro-content section#implantation>div{
        display: flex; 
        flex-direction: row;
    }

    .espace-pro-content section#implantation>div,
    .espace-pro-content section#market>div{
        padding: 0 3rem;
        align-items: center;
    }

    .espace-pro-content section#introduction .ctn_fondateur{
        margin-left: 5rem;  
        min-width: 245px;
    }

    .espace-pro-content section#introduction img{
        width:170px
    }

    .espace-pro-content section#solution .ctn_screenshot{
        display: flex; 
        flex-direction: row; 
        justify-content: space-around;
    }

    .espace-pro-content section#partenariat>p>span{
        margin-top: 1rem;
    }
    .espace-pro-content section#partenariat>p>span>span {
        padding-left: 3rem;
        display: block;
    }

    .espace-pro-content section#reconnaissance .ctn_video {
        width: 200px;
        border-radius: 20px;
        overflow: hidden;
        height: 240px;
        margin: 3rem 0.5rem;
        box-shadow: 1px 1px 5px #555;
        border: 3px outset #999;
    }
    .espace-pro-content section#implantation>div>p{
        padding: 2rem
    }

    .espace-pro-content section#solution .ctn_screenshot img{
        height: 280px;
    }
    

    @media (max-width: 768px) {

      .close-btn {
        position: absolute;
        top: 0px;
        right: 10px;
        font-size: 1.8rem;
        color: #000;
        cursor: pointer;
      }
      h3{
        margin-left: -15px;
        text-align: center;
        padding-right: 20px;
        margin-bottom:1.8rem;
      }

      .bg-image.right {
        display: none;
      }
      .bg-image.left {
        width: 150%;
      }
      .logo{
        max-width: 300px;
      }
      header{
        height: 6.5rem;
      }
      #main-buttons{
        display: flex;
        flex-direction: column;
        margin-bottom: 3rem;
      }
      .container{
        padding: 0.2rem 0.6rem;
        margin-top: 6.5rem;
      }

      .ctn_btns{
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
      }

      .form-container:not(.noFormStyle){
        margin-top: 0;
        padding: 1.4rem;
      }
      #form-thi-yesNo .ctn_btns p{
        background: transparent;
        display: flex;
        flex-direction: column;
        margin: 0;
        justify-content: center;
        text-align: center;
        padding: 0px;
        box-shadow: none;
        border: none;
      }

      #form-thi-yesNo .ctn_btns p > *{
        margin-top: 0.5rem;
      }


      #form-main{
        margin-top: 1rem;
        padding: 1rem;
        text-align: center;
      }

      #form-main .lead{
        font-size: 1rem;
        margin: 1rem 0;
      }
      /*#00a38e*/

        .THI_score {
            float: left;
            margin-top: -10px;
        }
        .THI_score span{
            font-size: 0.8rem;
        }
        .THI_score input{
            font-size: 1.3rem;
            width: 2rem;
        }
   


        .profil-card {
            margin: 0.8rem -0.8rem;
            align-items: center;
        }

        .profil-card>img {
            height: 140px;
            margin-left: -20px;
            margin-right: -2px;
            border-radius: 35px 100px 100px 35px;
            box-shadow: -1px 1px 2px 0px #FFF, 0px 1px 1px 2px #444;
        }


        .profil-card>div {
            margin: 0.6rem;
            margin-top: 10px;
        }

        .profil-card p {
            margin-bottom: 0.15rem;
        }

        .profil-card h6 {
            font-size: 0.90rem;
            line-height: 1.2rem;
            margin-bottom: 0.2rem;
        }


        .espace-pro-content h2{
            font-size:1.24rem;
        }

        .espace-pro-content h3{
            font-size:1.17rem;
        }



        
        .espace-pro-content section#implantation>div{
            padding: 0.4rem 0;
            flex-direction: column-reverse;
        }
        .espace-pro-content section#introduction>div,
        .espace-pro-content section#reconnaissance>div,
        .espace-pro-content section#market>div{
            padding: 0.4rem 0;
            flex-direction: column;
            justify-content: center;
        }

        .espace-pro-content section#reconnaissance .ctn_video {
            margin: 3rem auto;
        }


        .espace-pro-content section#introduction .ctn_fondateur{
            margin-left:auto;  
            min-width: auto;
            display: flex;
            text-align: left;
            align-items: center;
        }

        .espace-pro-content section#introduction .ctn_fondateur>.comment{
            margin: 1rem 0.5rem
        }
        .espace-pro-content section#introduction .ctn_fondateur>.pic img{
            margin-left: 1rem;
            width: 7.5rem;
        }

        .espace-pro-content section#solution .ctn_screenshot{
            flex-direction: column;
        }


        .espace-pro-content section#repartition ul{
            font-size: 1rem;
        }
        .espace-pro-content section#repartition ul>div>b{
            font-size: 0.9rem;
            margin-bottom:0.5rem;
            display: block;
        }
        .espace-pro-content section#repartition ul strong{
            font-size: 1rem;
            display: block;
        }


        .espace-pro-content section#implantation>div>img{
            margin: 1rem;
            margin-left: -15px;
        }
        .espace-pro-content section#implantation>div>p{
            padding: 0.5rem
        }
    
        .espace-pro-content section#solution .ctn_screenshot img{
            height: auto;
        }
    
        .rounded-box{
            font-size: 1.1rem;
            padding: 0.6rem 0.1rem;
        }


    }



    @media (max-width: 365px) {
        .container{
            padding: 0.25rem;
        }
    }
