/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    background-color: #f4f4f4;
}

.botlink {
    margin-top: 5px;
}
.ftlink {
  color: #333333;             /* Testo grigio scuro */
  font-weight: bold;          /* Testo in grassetto */
  background-color: #e0f0e0;    /* Sfondo grigio molto chiaro */
  border-radius: 8px;         /* Bordi arrotondati */
  border: 1px solid gray;
  padding: 2px 10px;          /* Spaziatura interna */
  margin-top: 5px;
  margin-bottom: 5px;
  text-decoration: none;      /* Rimuove la sottolineatura */
}

.chat-bubble.user {
    background-color: rgb(208 209 246);
    margin-left: auto;
    margin-right: 0;
    border-top-left-radius: 15px;
      border-top-right-radius: 15px;
      border-bottom-left-radius: 15px;
      border-bottom-right-radius: 0;
}



.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}


.top-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.left-column-video {
    flex: 1;
    max-width: 170px;
    margin-right: 20px;
}

.videoContainer {
    position: relative;
    width: 100%;
    height: auto;
}

.right-column-video {
    flex: 2;
    display: flex;
    flex-direction: column;
    max-height: 300px;
}

.chatbox {
    flex: 1;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
    overflow-y: auto;
    height: 300px;
    box-sizing: border-box;
}

.bottom-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.myprompt {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.mysendbutton {
    align-self: flex-end;
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.mysendbutton:hover {
    background-color: #0056b3;
}

.chat-bubble {

    padding: 10px;
    margin: 10px 0;
    //border-radius: 15px;
    max-width: 90%;

    width: fit-content;
    position: relative;
    clear: both;
    word-wrap: break-word;
}

.bot {
    background-color: rgb(248 249 246);
    color: #155724;
    text-align: left;
    margin-left: 0;
    min-width: 50%;
    border-top-left-radius: 15px;
      border-top-right-radius: 15px;
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 15px;
}

.waiting {
    background-color: #ffffff;
    color: #155724;
    text-align: left;
    margin-left: 0;
}

.imgwaiting {
    width: 20px; /* Dimensione normale su schermi piccoli */
}

@media (max-width: 100px) {
    .imgwaiting {
      width: 80px; /* Riduzione al 50% solo su schermi più grandi */
    }
}