h1 {
    text-align: center;
    color: #7b29d9;
    padding-top: 10px!important;
}
.fill{
  border-bottom-left-radius: 0px!important;
}
.info{
  text-align: left;
  border: 2px solid #51DEF0;
  /* border-bottom-left-radius: 46px; */
  /* border-top-right-radius: 46px; */
  padding: 15px;
  width: 400px;
  box-shadow: 1px saddlebrown;
  background: #96d8ec2b;
  border-radius: 15px;
  box-shadow: 0px 2px 5px 5px #aaaaaa63;
  margin-left: 10px;
}
.name{
  text-align: center;
    /* padding: 0px; */
    margin: 0px;
}
.sendbutton{
  padding: 0px!important;
  border-radius: 20px!important;
  background:none;
  display: none;
}
span.card{
    border: 2px dashed #7b29d9;
    padding: 5px;
    margin-left: 10px;
}
body {
    font-family: "GTWalsheimProRegular";
    margin: 0;
    font-size: x-large;
    padding: 0;
    overflow: auto;
    background:#f2fdff;
}
.column a{
  display: flex;
    justify-content: flex-start;
}
h1{
  margin:0;
  padding:0px;
  color:white;
}
.navbar {
display: flex;
flex-direction: column;
align-items: stretch;
background: #7b29d9;
border-bottom-left-radius: 50px;
border-bottom-right-radius: 50px;          
}
.showDropDown{
display:block!important;
}
.row {
display: flex;
align-items: center;
}

.row img.logo {
width: 100%;
height: auto;
}

.column {
flex: 1;
text-align: center;
position: relative;
color:white;
background: #51DEF0;
}

#history-button {
background: none;
border: none;
outline: none;
cursor: pointer;
padding: 5px;
font-size: 16px;
font-weight: bold;
display: flex;
justify-content: center;
margin-left: 15%;
height:30px;

}

#new-button {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 5px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  margin-left: 13%;
  height:30px;
  
  }

.nav-button1{
  border-bottom-left-radius: 30px;
  margin: 10px 10px 10px 0px;
}

.nav-button2{
  border-bottom-right-radius: 30px;
  margin: 10px 0px 10px 0px;
}
.button-change{
  background: #7b29d9!important;
}
.new-chat-link {
color: inherit;
text-decoration: none;
padding: 5px;
font-size: 16px;
font-weight: bold;
height:20px;
}

.dropdown-content {
display: none;
position: absolute;
margin-left: 35px;
    top: 53px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    background: #7b29d9;
    width:inherit;
    width: 220px;
}

.dropdown-content a {
padding: 12px;
display: block;
text-align: left;
color: white;
font-size: 15px;
text-decoration: none;
}

.showDropDown a:hover{
  color:#51def0!important
}

/*
.bot a {
  display: inline-flex;
  align-items: center;
  border: 3px solid #51DEF0;
  border-bottom-left-radius: 46px;
  border-top-right-radius: 46px;
  padding: 15px 20px;
  text-decoration: unset;
  font-family: 'GTWalsheimPro-Bold';
  font-size: 18px;
  color: #7B29D9;
  text-transform: uppercase;
  background: white;
  transition-duration: 0.5s;
}
*/

#body {
  font-family: "GTWalsheimProRegular";
  margin: 0;
  font-size: 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  margin-top: 10px;
  overflow: auto;
}
.header .header-menus a {
 
  margin-left: 0px!important;

}

.avatar-container {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    width: 100vh;
    margin: auto;
    margin-top: 10px;
    background: #7edbee;
    color:#7431d1;
    border-radius: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.avatar-info {
    display: flex;
    flex-direction: column;
}

.avatar-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 2px;
}

.avatar-description {
    font-size: 14px;
    color: #666;
}
#chat-container {
    max-height: 65vh;
    border-radius: 5px;
    overflow: auto;
    max-width: 100vh;
    
}
.online-status {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #28a745;
}

.online-icon {
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    margin-right: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
.message {
    margin-bottom: 10px;
    border-radius: 5px;
}

.user {
    color: #7b29d9;
    font-family: 'GTWalsheimPro-Bold';
}

/* CSS code for the fancy button and popup */
@font-face {
    font-family: "GTWalsheimProRegular";
    src: url("/font/GTWalsheimProRegular.ttf") format('truetype');
}

@font-face {
    font-family: "GTWalsheimProBold";
    src: url("/font/GTWalsheimProBold.ttf") format('truetype');
}

@font-face {
    font-family: "GTWalsheimProMeidum";
    src: url("/font/GTWalsheimPro-Medium.ttf") format('truetype');
}

@keyframes inputAnimation {
    from { width: initial; }
    to { width: 300px; }
}

.slideleft{
    margin-left:2%;
    font-weight: 100!important;
    font-family: 'GTWalsheimProRegular';
}
/* Apply the animation to the input box */
textarea {
    animation: inputAnimation 0.3s ease;
}

#input-container {
    color: #7b29d9;
}

#input-container textarea {
    font-family: "GTWalsheimProRegular";
    width: 100vh;
    margin-right: 10px;
    font-size: 18px;
    color: #7b29d9;
    border: none;
    background: #f2fdff;
    border: 3px solid #7b29d9;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 10px;
}
.fade-element {
    opacity: 1;
    transition: opacity 2s ease-in-out; /* Smooth fade-out effect */
}

/* Class to trigger the fade-out */
.hidden {
    opacity: 0; /* Fades out the element */
}

textarea:focus {
    outline: none;
}

#input-container button {
    border: none;
    color: white;
    border-radius: 5px;
}
.suggestion{
    color: green!important;
    border: 1px solid #7b29d9!important;
    font-family: "GTWalsheimProRegular";
    padding: 5px!important;
    font-size: large!important;
}

.suggestionlf{
    color: #7b29d9!important;
    border: 1px solid #7b29d9!important;
    font-family: "GTWalsheimProRegular";
    background: white;
    padding: 5px!important;
    font-size: large!important;
    display:none;
}

.suggestion:hover{
    color: #7b29d9!important;
    border: 1px solid #7b29d9!important;
    background: #0080003b!important;
    font-family: "GTWalsheimProRegular";
}
.cards {
display: inline-flex;
align-items: center;
width: 20%;
margin: 5px;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 5px;

}
.review{
background: none;
border:none;
margin-left: 5px;
margin-right: 5px;
font-size: x-small;
font-family: "GTWalsheimProRegular";
}
.cards img {
width: 33%;
height: 33%;
border-radius: 50%;
margin-right: 10px;
}

.card-content {
flex: 1;

}
.card-content h5{
margin: 5px;
}
.card-content p{
font-size: large;
}
.cards h3 {
margin-top: 0;
}

/* Media Queries */
@media only screen and (max-width: 600px) {
    /* Adjust styles for smaller screens */

    #input-container textarea{
        margin-left:3px;
    }
    h1 {
        font-size: xx-large;
    }
    .cards {
        width: 75%;
    }
    body {
        font-size: 18px;
        scrollbar-color: blueviolet;
    }
    ::-webkit-scrollbar {
        width: 5px;
      }
       
      ::-webkit-scrollbar-thumb {
        background: blueviolet; 
      }
      
      ::-webkit-scrollbar-thumb:hover {
        background: #555; 
      }
    #body {
        min-height: 65vh;
        max-height: 70vh!important;
    }
    .message{
        max-width:360px;
    }

    #chat-container {
        max-width: 100vh;
        padding: 20px;
    }
    #input-container {
        width: 96%;
        scrollbar-color: blueviolet;
    }

    #input-container textarea {
        width: 77%;
        border: 1px solid #7b29d9;
        border-radius: 25px;
        padding: 10px;
    }
    #footer{
        padding-top: 0px!important;
    }
}
.header {
	padding: 0px!important;
}
.header .header-menus button {
	height: 85px!important;
}
.dropdown-content {
	padding-bottom: 25px!important;
}
.dropdown-content a {
	text-align: center!important;
}
.avatar-rating {
    font-size: 14px;
    color: #ffcc00;
    margin-bottom: 2px;
}

.responsestar{
    text-align: center;
    font-size:medium;
}

.users-helped {
    font-size: 12px;
    color: #7431d1;
    margin-top: 2px;
}
.loader {
  display: flex;
  margin-left: 5px;
  display:none;
}
.line-with-buttons {
    display: flex;
    align-items: center;
    padding: 3px;
    text-align: center;
    font-size: 15px;
    justify-content: center;
    background: #7431d170;
    color: white;
    flex-direction: column;
}

.animate-hr {
    position: relative;
    overflow: hidden;
}

.review {
  opacity: 0; /* Start with opacity 0 (fully transparent) */
  animation: fadeIn 4s forwards; /* Apply the fadeIn animation over 2 seconds */
}

@keyframes fadeIn {
  to {
      opacity: 1; /* Fade to opacity 1 (fully visible) over the duration of the animation */
  }
}

.animate-hr::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #51def0;
    transform: translateX(-100%);
    animation: slideIn 2s forwards;
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.line {
  flex-grow: 1;
  height: 0px;
  background-color: #f2fdff;
  border: none;
}

.buttons button {
  padding: 5px;
  margin: 0 5px;
}
.loader div {
  width: 10px;
  height: 10px;
  margin: 5px; 
  border-radius: 50%;
  background: blueviolet;
  animation: bounce 0.5s infinite alternate;
}

.loader div:nth-child(2) {
  animation-delay: 0.2s; 
}

.loader div:nth-child(3) {
  animation-delay: 0.4s;
}
.loader div:nth-child(4) {
  animation-delay: 0.5s;
}
.loader div:nth-child(5) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(20px);
  }
}

.loading-container {
    width: 35px;
height: 30px;
position: relative;
/* margin: 10px; */
font-size: initial;
}
#footer{
text-align: center;
bottom: 0;
font-size:12px;
left: 0;
right: 0;
margin: auto;
}
.loading-sign {
width: 20px;
height: 20px;
background-color: #333;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
animation: spin 1s linear infinite;
}

@keyframes spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.testing-mode {
font-size: 0.8em;
color: red;
}

  ::placeholder {
    color: #d8d8d8;
  }
  ::-webkit-input-placeholder {
    color: #d8d8d8;
  }
 
  :-moz-placeholder {
    color: #d8d8d8;
  }

  :-ms-input-placeholder {
    color: #d8d8d8;
  }

  
.file-upload-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 15px;
}

.upload-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #7b29d9;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.2s ease;
}

.feedback-btn {
  padding: 8px 16px;
  margin: 0 8px;
  border: 1px solid #7431d1;
  background-color: white;
  color: #7431d1;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feedback-btn:hover {
  background-color: #7431d1;
  color: white;
}

.line-with-buttons p {
  margin-bottom: 12px;
  color: #333;
  margin-top: 0px;
}

.upload-button:hover {
  background-color: #e0e0e0;
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #f8f8f8;
  border-radius: 4px;
  margin: 8px 15px;
}

.file-preview .file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-preview .remove-file {
  cursor: pointer;
  color: #ff4444;
  padding: 4px;
}

.pdf-message {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 4px 0;
  font-size: 14px;
  color: #666;
}

/* Inline “thinking” row — full width so bubble sits on the right with user messages */
.thinking-row {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: right;
  margin-top: -4px;
  margin-bottom: 12px;
}
.thinking-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(123, 41, 217, 0.1);
  border-radius: 14px;
  font-family: "GTWalsheimProRegular", sans-serif;
  font-size: 14px;
  color: #7b29d9;
}
.thinking-bubble .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7b29d9;
  opacity: 0.35;
  animation: thinking-dot 1.15s ease-in-out infinite;
}
.thinking-bubble .dot:nth-child(2) {
  animation-delay: 0.2s;
}
.thinking-bubble .dot:nth-child(3) {
  animation-delay: 0.4s;
}
.thinking-label {
  margin-left: 2px;
  letter-spacing: 0.02em;
}
@keyframes thinking-dot {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
