.gradient-background {
  background: linear-gradient(300deg, #00baff, #01488a);
  background-size: 180% 180%;
  animation: gradient-animation 18s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  from { border-color: transparent }
  to { border-color: white; }
}

@keyframes appear {
  from { opacity: 0;}
  to { opacity: 1;}
}

.icon-square {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
}

.profile-img {
  height: 100px;
  border-radius: 50%;
}

.header-text{
  font-size: 1.5rem;
  font-weight: bold;
  font-style: italic;
}

.feature-list{
  display: inline-flex;
  align-items: center;
}

.feature-list-icon {
 padding: 20px;
 padding-right: 30px;
 text-align: center;
 }

.example-prompt {
  background-color: #00baff;
  color: white;
  border-radius: 10px;
  padding:20px;
  text-align: left;
}

.example-response {
  background-color: whitesmoke;
  border-radius: 10px;
  padding: 20px;
  margin-top:10px;
}

.medication-name {
  font-weight: bold;
}

h5 {
  text-decoration: underline;
}
.example-prompt>.container {
  display:inline-block
}
.typed-out {
  overflow: hidden;
  border-right: .15em solid white;
  white-space: nowrap;
  width: 0;
  animation: 
    typing 2s steps(40, end) forwards,
    blink 0.8s infinite;
  animation-delay: 1s;

}

#text-stopper {
  display: inline-block;

}

.appearing-text>* {
  opacity:0;
  animation: appear .5s forwards;
}

.rounded-corners {
  border-radius: 25px;
}

#featured-3 {
  color: white;
}

.btn-primary {
  background-color:#00baff; 
  border-color: #00baff;
}

.btn-outline-primary {
  border-color: #00baff;
  color: #00baff;
}

.nav-link {
  color: #00baff;
}

/* Chat container */
.chat-container {
  width: 100%;
  max-width: 800px;
  height: 80vh;
  background: white;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Chat history area */
.chat-history {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Chat message styles */
.chat-message {
  max-width: 75%;
  min-width: 80px;
  padding: 8px 12px;
  margin: 5px 0;
  border-radius: 15px;
  word-wrap: break-word;
}

/* User messages */
.user-message {
  align-self: flex-end;
  background-color: #007bff;
  color: white;
}

/* Chatbot messages */
.bot-message {
  align-self: flex-start;
  background-color: #e0e0e0;
  color: black;
}

/* Input container */
.chat-input-container {
  display: flex;
  padding: 10px;
  background: white;
  border-top: 1px solid #ddd;
}

/* Input field */
#user-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Send button */
#send-btn {
  margin-left: 10px;
  padding: 10px 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#send-btn:hover {
  background: #0056b3;
}

/* Style for the 'Copy' text */
.copy-text {
  font-size: 12px; /* Smaller font size */
  color: #888; /* Gray color */
  cursor: pointer; /* Pointer cursor for clickability */
  margin-bottom: 8px; /* Space between the "Copy" text and the message */
  display: block; /* Makes the "Copy" text appear on its own line */
  text-align: right; /* Align the "Copy" text to the right */
}

.copy-text:hover {
  color: #555; /* Darker gray when hovered */
}
