.aiSettingsOptions{
  display: flex;
  cursor: pointer;
  padding: 8px;
  align-items: center;
  font-size: 16px;
  /*border-radius: 4px;*/
}

.aiSettingsOptions.active span {
  color: #1976d2;
  font-weight: bold;
}

.aiSettingsOptions.active {
  background-color: #d3d3d352;
  border-right: 3px solid #1976d2;
}

.aiSettingsOptions:hover{
  background-color: #d3d3d352;
}

/* Add this to your global styles */
.fade-in {
  opacity: 0;
  animation: fadeInAnim 0.8s forwards;
}

.fade-out {
  opacity: 1;
  animation: fadeOutAnim 0.8s forwards;
}

@keyframes fadeInAnim {
  to {
    opacity: 1;
  }
}

@keyframes fadeOutAnim {
  to {
    opacity: 0;
  }
}

.ai-model-wrapper{
  height: 94%;
}

.ai-model-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 80%;
  overflow-y: auto;
}

.ai-model-card {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.ai-model-card:hover {
  background-color: #f0f8ff;
  border-color: #1976d2;
}

.ai-model-card.disabled {
  cursor: default;
}

.ai-model-info {
  display: flex;
  flex-direction: column;
}

.ai-model-title {
  font-size: 16px;
  margin-bottom: 4px;
  color: #333;
  font-weight: normal;
}

.ai-model-title.selected {
  color: #1976d2;
  font-weight: bold;
}

.ai-model-description {
  font-size: 13px;
  color: #666;
}

.ai-model-tick {
  font-size: 16px;
  font-weight: bold;
  color: #1976d2;
}

#aiModelSaveBtn {
  margin-top: 22px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#aiModelSaveBtn:hover {
  background-color: #1976d2;
  color: #fff;
}

#promptLibrary {
  color: black;
  padding: 6px;
  /*border-radius: 50%;*/
  border-right: 1px solid #ccc;
  cursor: pointer;
  font-size: 15px;
}

#promptLibrary:hover{
  color: orange;
}

#promptDropUpContainer {
  position: absolute;
  bottom: 140px;
  width: 70%;
  max-height: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.9s ease-in-out;
}

.hidden {
  display: none;
}

.footer {
  display: flex;
  flex-direction: row;
  padding: 10px;
  /*border-top: 1px solid #ccc;*/
  align-items: center;
  justify-content: flex-start;
  background-color: transparent;
  margin-bottom: 10px;
  gap: 12px;
}

.prompt-footer-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  color: gray;
}

.prompt-footer-btn.active {
  color: #1976d2;
}

.promptContentDiv {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 40px;
  padding: 15px;
  font-family: sans-serif;
}

#systemPromptSaveBtn{
  border: none;
  border-radius: 25px;
}

#systemPromptSaveBtn:hover{
  background-color: #1976d2;
}

#downloadConversationPdfBtn:hover, #downloadConversationTxtBtn:hover{
  text-decoration: underline;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-panel {
  animation: fadeInPanel 0.9s ease-in-out;
}

@media (max-width: 768px) {
  #promptDropUpContainer{
    width: 90%;
  }
}
