body {
    background: linear-gradient(135deg, #29176f, #e385ec);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
#logo {
  position: fixed;             
  top: 1rem;                  
  left: 1rem;                 
  width: clamp(50px, 10vw, 100px); 
  height: auto;                
  z-index: 1000;              
}
  .modal {
    position: fixed;
    bottom: 20px;
    width: 95%;
    height: 100%;
    color: white;
    border: none;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
    }

  .modal-header {
    padding: 10px;
    position: relative;
    border-radius: 10px;
    cursor: move;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
    gap: 10px;
  }

  .modal-header .center-text {
    text-align: center;
    font-size: 16px;
  }

  .modal-header .side-texts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    color: white;
    padding: 0 20px;
  }

  .modal-body {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-left: 40px;
    padding: 10px;
  }

  .modal-body::-webkit-scrollbar,
  .read-only-div::-webkit-scrollbar,
  #chatContainer::-webkit-scrollbar {
    width: 8px;
  }

  .modal-body::-webkit-scrollbar-track,
  .read-only-div::-webkit-scrollbar-track,
  #chatContainer::-webkit-scrollbar-track {
    background: #e6e6e6;
  }

  .modal-body::-webkit-scrollbar-thumb,
  .read-only-div::-webkit-scrollbar-thumb,
  #chatContainer::-webkit-scrollbar-thumb {
    background: #181645;
    border-radius: 10px;
  }

  .modal-body::-webkit-scrollbar-thumb:hover,
  .read-only-div::-webkit-scrollbar-thumb:hover,
  #chatContainer::-webkit-scrollbar-thumb:hover {
    background: #2E2E2E;
  }

  .read-only-div {
    width: 95%;
    padding: 10px;
    color: #f8f9fa;
    font-size: 14px;
  }

  #chatContainer {
    border-radius: 10px;
    padding: 10px;
    flex: 1;
  }

  .chat-message {
    margin: 5px 0;
    padding: 10px;
    border-radius: 8px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 14px;
  }

  .user-message {
    background: #E6E6FA;
    color: #181645;
    align-self: flex-end;
    text-align: right;
    margin-left: 220px;
  }

  .bot-message {
    background: #181645;
    color: #E6E6FA;
    align-self: flex-start;
    text-align: left;
  }

  .icon-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px 0;
    background-color: #181645;
    flex-wrap: wrap;
    gap: 10px;
  }

  .icon-container .material-icons {
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
  }

  .icon-container i:hover {
    color: #D3D3D3;
  }

  input#question {
    width: calc(100% - 60px);
    padding: 10px;
    font-size: 14px;
    border-radius: 10px;
    border: 2px solid #181645;
    background-color: #181645;
    color: white;
    margin-right: 40px;
    margin-top: 10px;
    box-sizing: border-box;
  }

  input#question::placeholder {
    color: #ccc;
  }

  .send-button,
  .top-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    color: white;
  }

  .send-button {
    right: 10px;
  }

  .top-button {
    right: -10px;
  }

  .send-button:hover,
  .top-button:hover {
    color: #D3D3D3;
  }

  .minimized {
    width: 420px;
    height: 50px;
    overflow: hidden;
  }

  .loading-message {
    color: #ffffff;
    font-style: italic;
    margin-top: 5px;
  }

  .loading-dots::after {
    content: '...';
    animation: dots 1.5s steps(3, end) infinite;
  }

  @keyframes dots {
    0% {
      content: '.';
    }

    33% {
      content: '..';
    }

    66% {
      content: '...';
    }

    100% {
      content: '....';
    }
  }

  .modal-whisper,
  #modalWhisper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 10px;
    border-radius: 20px;
    display: flex;
  }

  .modal-content-whisper {
    background: #181645;
    width: 750px;
    padding: 20px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 30px;
    z-index: 9999;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  }

  .dropzone .dz-default.dz-message {
    display: none !important;
  }

  .modal-backdrop-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
  }

  .modal-custom-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    z-index: 1050;
    border-radius: 8px;
    display: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }

  .modal-header-dialog,
  .modal-footer-dialog {
    padding-bottom: 10px;
  }

  .modal-close-dialog {
    float: right;
    cursor: pointer;
    font-size: 20px;
  }

  .modal-body-dialog {
    padding-top: 10px;
  }

  .btn-primary {
    background-color: #181645 !important;
    border-color: #181645 !important;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
  }

  .btn-primary:hover {
    background-color: #635c97 !important;
    border-color: #635c97 !important;
    transform: scale(1.05);
    box-shadow: 0px 2px 5px rgba(1, 0, 0, 0.5);
  }

  /* -------------------------- RESPONSIVE -------------------------- */

  @media screen and (max-width: 1024px) {
    .modal {
      height: 90vh;
      width: 98%;
    }

    .modal-content-whisper {
      width: 90%;
      padding: 15px;
    }

    .modal-body {
      margin-left: 0;
      padding: 5px;
    }

    input#question {
      width: calc(100% - 20px);
      margin-right: 0;
    }

    .send-button,
    .top-button {
      font-size: 20px;
      right: 5px;
    }

    .read-only-div {
      font-size: 13px;
    }

    .chat-message {
      font-size: 13px;
      max-width: 95%;
    }

    .user-message {
      margin-left: 0;
    }

    textarea#userInput {
      width: 90%;
      height: 160px;
    }

    .btn-primary {
      font-size: 14px;
      padding: 8px 16px;
    }
  }

  @media screen and (max-width: 768px) {
    .modal {
      height: 92vh;
    }

    .modal-content-whisper {
      padding: 10px;
    }

    .modal-header {
      font-size: 18px;
    }

    .icon-container .material-icons {
      font-size: 16px;
    }

    .btn-primary {
      font-size: 13px;
      padding: 8px 12px;
    }
  }

  @media screen and (max-width: 480px) {
    .modal {
      height: 95vh;
    }

    .modal-content-whisper {
      width: 100%;
      padding: 8px;
    }

    .modal-header {
      font-size: 16px;
    }

    .modal-body {
      padding: 5px;
    }

    input#question {
      font-size: 12px;
    }

    .send-button,
    .top-button {
      font-size: 18px;
    }

    .chat-message {
      font-size: 12px;
    }

    .read-only-div {
      font-size: 12px;
    }

    .icon-container {
      gap: 5px;
    }

    .btn-primary {
      font-size: 12px;
    }
  }