


.dashboard-container{
    box-sizing: border-box;
}


.bienvenu-navbar{
    background-color: var(--blue);
    border-top: 1px solid var(--white);
    padding: 1rem 10vw;
    height: 8vh;
    width: 100%;
    align-items: center;
    position: fixed;
    top: 15vh;
    left: 0;
    z-index: 900;
}
.bienvenu-navbar h3{
    color: var(--white);
    font-size: 13pt;
    font-weight: 400;
}
.bienvenu-navbar a:hover{
    color: var(--yellow);
}

/* ==== Dashboard ==== */
.dashboard{
    position: relative;
}

/* ==== Left Part ==== */
.dashboard > .left-part{
    max-width: 25vw !important;
    width: 20vw;
    height: 77vh;
    background-color: var(--clearer_blue);
    color: var(--black_soft);
    font-size: 13pt;
    font-weight: lighter;
    padding: 2rem 0vw;
    position: fixed;
    top: 23vh;
    left: 0;
}
.dashboard > .left-part ul{
    flex-direction: column;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dashboard > .left-part ul li{
    width: 100%;
    min-height: fit-content;
    height: 2rem;
    cursor: pointer;
}
.dashboard > .left-part ul li a{
    display: block;
    height: 100%;
    width: 100%;
    padding-left: 2vw;
    transition: 0.3s ease !important;
}
.dashboard > .left-part ul li a.active{
    color: var(--blue);
    font-weight: bold;
    transform: translateX(0.5rem);
}
.dashboard > .left-part ul li:hover a{
    color: var(--blue);
    font-weight: bold;
    transform: translateX(0.5rem);
}
.dashboard > .left-part ul hr{
    margin: 1.5rem 0px;
    color: var(--black_soft);
    width: 80%;
    text-align: center;
}
.dashboard .side-navbar-header{
    width: 80% !important;
    height: fit-content !important;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    flex-direction: column;
    background-color: #c7f8ff;
    border-left: 3px solid var(--blue);
}
.dashboard .side-navbar-header p{
    font-size: 10pt;
}
.dashboard .side-navbar-header h4{
    font-size: 15pt;
    color: var(--blue2);
    margin-bottom: 0.5rem;
}
  
/* ==== Right Part ==== */
.dashboard > .right-part{
    background-color: var(--white);
    width: 80vw;
    min-height: 77vh;
    height: fit-content;
    margin-top: 23vh;
    margin-left: 20vw;
}




/* ================================================= */
.dashboard .right-part .accueil{
    flex-direction: column;
    width: 80vw;
    height: 77vh;
}
.dashboard .right-part .accueil img{
    width: 25vw;
    border-radius: 10vw;
    margin-bottom: 2rem;
}
.dashboard .right-part .accueil p{
    display: block;
    width: 60%;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.7rem;
}


/* ================================================= */


.profil{
    display: flex;
    width: 70%;
    min-height: 60vh;
    margin: 2rem;
    height: fit-content;
    background-color: #066c94;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.288);
}
.profil .photo-container{
    background-color: var(--blue2);
    width: 30%;
    flex-direction: column;
    justify-content: unset;
    padding: 2rem 0px;
    color: var(--white);
    line-height: 1.6;
}
.profil .profil-content{
    background-color: var(--white);
    width: 70%;
}
.profil .photo-container .photo{
    height: 9rem;
    width: 9rem;
    border-radius: 50%;
    background-color: var(--clear_gray);
    margin-bottom: 1rem;
}
.profil-content{
    padding: 1.5rem 4rem;
}
.profil-table{
    width: 100%;
    margin-bottom: 1rem;
}
.profil-table td, .profil-table th{
    padding: 0.2rem 0px;
}
.profil-table th{
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--clear_gray);
    margin-bottom: 5rem;
}

.profil-table td{
    font-size: 12pt;
    color: var(--gray);
}
.profil-table td strong{
    font-size: 14pt;
    color: var(--black_soft);
}
.profil-table thead tr h2{
    letter-spacing: 5px;
    font-weight: 100 !important;
    text-align: left;
}
.profil form input, .profil form select{
    height: 2rem
}
/* ================================================= */

/* ================================================= */
.dashboard .classes{
    padding: 5vh 5vw;
}
.ajout-classe{
    width: 70%;
    height: 2rem;
    border-bottom: 1px solid var(--blue);
    color: var(--clear_black);
    font-weight: 300 !important;
    margin-bottom: 1.5rem;
    align-items: center;
}
.ajout-classe h2{
    color: var(--blue)
}
.ajout-classe button{
    border: 2px solid var(--blue);
    width: 20px;
    height: 20px;
    text-align: center;
    background-color: transparent;
    color: var(--blue);
    cursor: pointer
}
.ajout-classe button:hover{
    transform: scale(1.2);
}


.classes-container{
    width: 70%;
    height:fit-content;
}
.classes-container .classe{
    height: 6rem;
    width: 100%;
    border-radius: 15px;
    border: 1px solid var(--gray2);
    padding: 0.7rem 1rem;
    cursor: pointer;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.classes-container .classe:hover{
    background-color: var(--clearer_gray);
}
.classes-container .classe .left-part{
    gap: 15px !important;
}
.classes-container .classe .left-part img{
    background-color: var(--clearer_blue);
    padding: 5px;
    border-radius: 15px;
}
.classes-container .classe .left-part h4{
    color: var(--blue);
}
.classes-container .classe .left-part .right-part, .classes-container .classe .right-part{
    display: flex;
    flex-direction: column;
}
.classes-container .classe .left-part .right-part div, .classes-container .classe .right-part a{
    margin-top: auto;
}
.classes-container .classe .left-part .right-part div h6:first-child{
    margin-bottom: 0.5rem;
}
.classes-container .classe .left-part .right-part div h6, .classes-container .classe .right-part h6{
    font-size: 11pt;
    font-weight: normal;
}
.classes-container .classe > .right-part{
    text-align: right;
}
.classes-container .classe > .right-part h4{
    color: var(--yellow)
}


.ajout-classe-form{
    background-color: rgba(0, 0, 0, 0.521);
    width: 100%;
    height: 100%;
    z-index: 99999;
    position: fixed;
    top: 0px;
    left: 0px;
    display: none;
    justify-content: center;
    align-items: center;
}
.show{
    display: flex !important;
}
.ajout-classe-form form{
    width: 50vw;
    height: fit-content;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: 20px;
    padding: 1rem 3rem;
    padding-bottom: 2rem;
}
.ajout-classe-form .header{
    border-bottom: 2px solid var(--clear_blue);
    align-items: center;
    margin-bottom: 1rem;
    width: 100%
}
.ajout-classe-form .header img{
    width: 60px;
    height: 60px;
}
.ajout-classe-form .header .left-part{
    display: flex;
    align-items: center;
    gap: 15px;
}
.ajout-classe-form .header .left-part h3{
    color: var(--clear_blue);
}
.ajout-classe-form .input-container{
    width: 90%;
}
.ajout-classe-form .input-container label{
    font-weight: bold;
    color: var(--black_soft);
    display: block;
    margin-bottom: 0px !important;
}
.ajout-classe-form .input-container p{
    color: var(--gray);
}
.ajout-classe-form .input-container input{
    width: 100%;
    height: 2rem;
}
.ajout-classe-form .input-container input, .ajout-classe-form .input-container select{
    margin-bottom: 0.5rem;
}
.ajout-classe-form .input-container label, .ajout-classe-form .input-container p{
    margin-bottom: 0.2rem;
    margin-top: 0px !important
}
.ajout-classe-form .input-container .modifier-classe{
    font-size: 9pt;
    color: rgb(150, 25, 25);
}
.ajout-classe-form .input-container .form-select{
    width: 100%;
    height: 2rem;
}
.ajout-classe-form .input-container .btn-container{
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}
.ajout-classe-form .input-container button{
    width: 50%;
    height: 2.8rem;
    box-shadow: none;
    border: none;
    background-color: var(--clear_blue);
    font-family: "Nunito", sans-serif;
    font-size: 14pt;
    color: var(--white);
    z-index: 9999999;
}
.ajout-classe-form .input-container button:hover{
    background-color: var(--blue);
    width: 60%;
}


/* ========================================================= */

/* ========================================================= */
.classe-details{
    width: 70%;
    padding: 1rem 5vw;
}

.classe-details {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.classe-details h1 {
    text-align: center;
    color: var(--blue);
    margin-bottom: 20px;
}

.classe-card {
    background-color: var(--clearer_gray);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(1, 88, 122, 0.1);
    transition: transform 0.3s ease;
}

.classe-card:hover {
    transform: translateY(-5px);
}

.classe-card p {
    margin: 12px 0;
    color: var(--clear_black);
    font-size: 16px;
}

.classe-card strong {
    color: var(--blue);
}

.inscription-message {
    background-color: var(--clear-green);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-danger {
    background-color: var(--red);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #b10000;
}


.form-inscription-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background-color: var(--clearer_gray);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(1, 88, 122, 0.08);
}

.form-inscription {
    display: flex;
    flex-direction: column;
}

.form-inscription label {
    font-weight: bold;
    color: var(--blue);
    margin-bottom: 5px;
}

.instruction {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
}

.input-code {
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid var(--gray2);
    border-radius: 6px;
    background-color: white;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.input-code:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--clearer_blue);
}

.btn-submit {
    background-color: var(--blue);
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--clear_blue);
}


/* ========================================================= */

/* ========================================================= */
.eleves{
    padding: 2rem 2rem;
    width: 80%;
}
.eleves h2{
    color: var(--blue);
    margin-bottom: 1.5rem;

}

/* ========================================================= */

/* ========================================================= */
.supports{
    padding: 2rem 2rem;
    width: 80%;
}
.supports h1{
    color: var(--white);
    background-color: var(--blue);
    padding: 1rem 2rem;
}
.supports > p{
    margin-bottom: 1.5rem;
    background-color: var(--clearer_gray);
    padding: 1rem 1rem;
}
.supports .form-container{
    padding-bottom: 2.5rem;
    border-bottom: 2px solid var(--blue);
    margin-bottom: 2.5rem;
}
.supports .form-container form{
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0.5rem;
    background-color:#b9dee4;
}
.supports .form-container form label{
    font-weight: bold;
}
.supports .form-container form input{
    height: 2rem;
    width: 100%;
}
.supports .form-container form .custom-file-input{
    display: block;
  width: 100%;
  height: fit-content;
  padding: 8px;
  font-size: 14px;
  border: 1px solid var(--gray2);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.supports .form-container form button{
    width: 100%;
    height: 2.5rem;
    border: none;
    color: var(--white);
    background-color: var(--blue);
    font-size: 12pt
}
.supports .form-container form button:hover{
    background-color: #066c94;
}
.supports h2{
    color: var(--blue);
    margin-bottom: 2rem
}
.supports h3{
    color: var(--blue);
    margin-bottom: 1.5rem;
    font-size: 20pt;
}
.negatif-msg{
    margin: 1rem;
}

/* ========================================================= */

/* ========================================================= */
.capsules-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
}
.capsule{
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 10px;
      width: 15rem; /*18vw*/
      height: 18rem;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.2s;
      padding: 1rem 0.5rem;
      position: relative;
}
.capsule:hover{
      transform: translateY(-5px);
}
.capsule img{
      width: 100%;
      height: 40%;
      object-fit: cover;
}
.capsule-content{
      padding: 15px;
}
.capsule h3 {
      margin: 0 0 10px;
      font-size: 12pt;
      color: #222;
}
.capsule p {
      font-size: 10pt;
      color: #666;
      margin-bottom: 15px;
}
.capsule a {
      display: inline-block;
      padding: 8px 15px;
      background-color: var(--clear_blue);
      color: white;
      text-decoration: none;
      border-radius: 5px;
      font-size: 14px;
      position: absolute;
      bottom: 1rem;
      left: 1.5rem
}
.capsule a:hover {
      background-color: var(--blue);
}

.video{
    padding: 2rem 0;
    color: var(--blue);
}
.left-part-video{
    width: 70%;
    padding: 0rem 2rem;
    border-right: 2px solid var(--blue);
}
.left-part-video h2{
    margin-bottom: 1.5rem;
}
.right-part-video{
    width: 30%;
    color: var(--black_soft);
    padding: 0 1rem;
}
.right-part-video h3{
    margin-bottom: 1rem;
}
.right-part-video p{
    font-size: 11pt;
    line-height: 1.6;
}
.video-container {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.459); 
  border-radius: 10px; 
  overflow: hidden;
  display: inline-block;
  margin-bottom: 0; 
  border: 1px solid #ccc;        
  padding: 5px;                  
  background-color: #fff;
}

.video-container video {
  display: block;     
  width: 100%;       
  height: auto; 
  border-radius: 10px;
}


/* ================================================= */

/* ================================================= */
.quizz{
    width: 100%;
    margin-bottom: 3px;
    border-radius: 10px;
}
.quizz .bouton-standard{
    background-color: var(--clear_blue) !important;    
}
.quizz .bouton-standard:hover{
    background-color: #6ac2cf !important;
    transform: translateX(2%)
}
.quizz-header{
    background-color: #b5dfe2;
    color: var(--blue);
    align-items: center;
    padding-left: 2rem;
    border-radius: 3px;
    height: 3rem;
}
.quizz-header > div{
    display: flex;
    height: 100%
}
.quizz-header button{
    background-color: transparent;
    border: none;
    font-size: 15pt;
}
.quizz-header .delete-quizz-form{
    display: none;
}
.quizz-header .delete-quizz-form button{
    color: rgb(230, 1, 1);
    padding: 0px 15px;
    height: 100%;
}
.quizz-header .delete-quizz-form button:hover{
    background-color:  rgba(230, 1, 1, 0.377);
}
.quizz-header .btn-show-quizz{
    padding: 0px 15px;
    border-radius: 3px;
    height: 100%;
    color: var(--blue);
}
.quizz-header .btn-show-quizz:hover{
    background-color: #01587a5d;
}
.quizz-header .fa-circle-question{
    font-weight: bold;
    font-size: 15pt;
    margin-right: 0.5rem;
}
.quizz-content{
    padding: 0.5rem 2rem;
    margin-top: 1px;
    background-color: #d5eef0;
    display:none;
}
.quizz-content h4{
    margin-bottom: 0.8rem;
}
.quizz-content p.quizz-score{
    color: var(--blue);
    margin: 1rem 0px;
    text-align: center;
}
.quizz-content .quizz-score.span{
    background-color: var(--yellow);
}
.quizz-content span{
    color: var(--clear_black);
}
.quizz-question{
    border-bottom: 2px solid var(--white);
    padding: 1.5rem 0px;
}
.quizz-content .quizz-reponse{
    background-color: #e8f8fa;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.233);
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
}
.repondre-question-form .bouton-standard{
    width: 100%;
    background-color: var(--blue);
    color: var(--white);
    margin-bottom: 1rem;
}
.btn-afficher-resultats-quizz{
    border: none;
    background-color: transparent;
    color: var(--blue);
    font-size: 14pt;
}
.btn-afficher-resultats-quizz:hover{
    transform: translateX(5%)
}

.resultats-container{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999999;
    background-color: #000000d8;
    width: 100%;
    height: fit-content;
    min-height: 100%;
    padding: 2rem;
    display: none;
    justify-content: center;
}
.resultats-content{
  background-color: var(--white);
  border: 1px solid var(--gray2);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 50vw;
  width: 100%;
  min-height: 90vh;
  height: fit-content;
  animation: fadeIn 0.5s ease-in-out;
}
.resultats-header{
    border-bottom: 1px solid var(--blue);
    height: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}
.resultats-header h3{
    font-size: 16pt;
    color: var(--blue)
}
.resultats-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resultat-item {
  background-color: var(--clearer_gray);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.resultat-item:hover {
  background-color: var(--clearer_blue);
}

.eleve-nom {
  color: var(--black_soft);
  font-weight: 500;
}

.eleve-score {
  background-color: var(--blue);
  color: white !important;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Formulaire: ajouter un quizz */
.ajout-quizz-form{
    display: flex !important;
}
.ajout-quizz{
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 3rem 5rem !important
}
.ajout-quizz .close-button{
    position: absolute;
    top: 1rem;
    right: 1rem;
}
/* Formulaire: ajouter des questions */
.ajout-question-form{
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.521);
    display: none;
}
.ajout-question-form form{
    background-color: var(--white);
    width: 60vw;
    height: fit-content;
    padding: 2rem 3rem;
    position: relative;
}
.ajout-question-form .form-content{
    display: flex;
    flex-direction: column;
}
.ajout-question-form form h2{
    color: var(--blue);
    border-bottom: 2px solid var(--blue);
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
    width: fit-content
}
.ajout-question-form .close-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
}
.ajout-question-form textarea{
    width: 45vw;
    height: 4rem;
    margin-bottom: 1rem;
}
.ajout-question-form label{
    font-weight: bold;
    font-size: 14pt;
    color: var(--blue);
    margin-bottom: 0.5rem
}
.ajout-question-form form > div{
    display: flex;
    min-width: 45vw;
}
.ajout-question-form form > div input:first-child{
    width: 45vw;
    height: 2rem;
    margin-right: 1rem;
}
.ajout-question-form form p{
    margin-bottom: 0.6rem;
}
.ajout-question-form form .ajout-question-button{
    border: none;
    width: 45vw;
}

.quizz-ajouter-publier{
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.quizz-ajouter-publier button{
    background-color: #77b8c2;
}
.quizz-ajouter-publier button:hover{
    background-color: #5daebb;
}

.delete-question-form button{
    background-color: var(--clear_blue);
    margin-top: 1rem;
}


/* ================================================= */

/* ================================================= */
.utilisateurs{
    padding: 1rem;
}
.utilisateurs h2{
    color: var(--blue);
}





/* ===================================================================== */

/* ===================================================================== */
@media (max-width: 1280px) {
    /* ====== Dashboard ====== */
    .bienvenu-navbar{
      padding: 0px 10vw;
    }
    .dashboard > .left-part{
      width: 25vw !important;
    }
    .dashboard > .right-part{
      width: 75vw !important;
      margin-left: 25vw;
      overflow-x: hidden;
    }

   
    .classes-container, .ajout-classe{
    width: 90%;
    }
    .classes-container .classe .left-part{
        width: 60%
    }

    .ajout-classe-form form{
    width: 70vw;
    max-height: 95vh;
    padding: 1rem 3rem;
}

.ajout-classe-form .header{
    margin-bottom: 0.5rem;
}
.ajout-classe-form .header img{
    width: 40px;
    height: 40px;
}
.ajout-classe-form .header .left-part{
    gap: 15px;
    width: 50%
}
.ajout-classe-form .header .left-part h3{
    font-size: 14pt
}
.ajout-classe-form .input-container label{
    font-size: 10pt
}
.ajout-classe-form .input-container p{
    font-size: 9pt;
}
.ajout-classe-form .input-container input{
    height: 1.5rem;
}
.ajout-classe-form .input-container input, .ajout-classe-form .input-container select{
    margin-bottom: 0.2rem;
}
.ajout-classe-form .input-container label, .ajout-classe-form .input-container p{
    margin-bottom: 0.1rem;
}
.ajout-classe-form .input-container .form-select{
    height: 1.5rem;
}
.ajout-classe-form .input-container .btn-container{
    margin-top: 0.5rem;
}
.ajout-classe-form .input-container button{
    height: 2rem;
    font-size: 11pt;
}

.ajout-classe-form .input-container button:hover{
    background-color: var(--blue);
    width: 60%;
}

/* Supports */
.supports{
    width: 95%
}
.supports h1{
    font-size: 13pt;
}
.supports p, .supports form label{
    font-size: 10pt
}

.supports h2{
    font-size: 14pt;
}
.supports .form-container form input{
    height: 1.5rem;
}
.supports .form-container form .custom-file-input{
  padding: 4px;
  font-size: 12px;
}
.supports .form-container form button{
    height: 2rem;
    font-size: 10pt
}




.capsule{
      width: 12rem; /*18vw*/
      height: 16rem;
      padding: 1rem 0.5rem;
}
.capsule img{
      width: 100%;
      height: 40%;
      object-fit: cover;
}
.capsule-content{
      padding: 8px;
}
.capsule h3 {
      font-size: 10pt;
}
.capsule p {
      font-size: 9pt;
      margin-bottom: 15px;
}
.capsule a {
      padding: 5px 15px;
      font-size: 12px;
      bottom: 1rem;
      left: 1.5rem
}

.right-part-video h3{
    font-size: 12pt;
}
.right-part-video p{
    font-size: 9pt;
    margin-bottom: 1rem
}



.profil{
    width: 90%;
    min-height: 60vh;
    margin: 2rem;
}
.profil .photo-container{
    width: 30%;
}
.profil .photo-container .photo{
    height: 7rem;
    width: 7rem;
}
.profil-content{
    padding: 1.5rem 2rem;
}
.profil-table td{
    font-size: 10pt;
    color: var(--gray)
}
.profil-table td strong{
    font-size: 12pt;
}
.profil-table thead tr h2{
   font-size: 15pt
}
.profil form input, .profil form select{
    height: 2rem
}




}


  
@media (max-width: 1024px) {
    .bienvenu-navbar h3{
      font-size: 11pt;
    }
    .dashboard .left-part{
      width: 20vw;
    }
    .dashboard .right-part{
      width: 80vw;
    }
}

#ai-chat-launcher {
    position: fixed; bottom: 20px; right: 20px;
    background: #e67e22; width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000; transition: 0.3s;
}

#ai-chat-window {
    position: fixed; bottom: 90px; right: 20px;
    width: 300px; height: 400px; background: white;
    border-radius: 15px; box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: flex; flex-direction: column; z-index: 1000;
    overflow: hidden; transition: 0.3s;
}

.chat-hidden { display: none !important; }

.chat-header { background: #e67e22; color: white; padding: 15px; display: flex; justify-content: space-between; }

.chat-body { flex: 1; padding: 15px; overflow-y: auto; background: #fdf2e9; font-size: 14px; }

.bot-msg { background: white; padding: 10px; border-radius: 10px; margin-bottom: 10px; border-right: 4px solid #e67e22; }

.chat-footer { padding: 10px; display: flex; gap: 5px; background: white; }

.chat-footer input { flex: 1; padding: 8px; border: 1px solid #ddd; border-radius: 5px; }

.chat-footer button { background: #e67e22; color: white; border: none; padding: 8px 15px; border-radius: 5px; cursor: pointer; }