@charset "UTF-8";
@import url("chat-input.css");

#chat-input {
    width: 100%;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: relative;
    padding: 10px 26px;
    min-height: 40px;
    max-height: 120px; /* About 4 lines, adjust as needed */
    overflow-y: auto;
    resize: none;
    background-color: #f4f6f9;
    white-space: pre-wrap;
    word-wrap: break-word;
  }
  #chat-input2 {
    width: 70%;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 10px 26px;
    flex-grow: 1;
  }
  #send-icon {
    font-size: 20px;
    color: #a9a9a9;
    cursor: pointer;
    right: 10px;
    position: absolute;
    margin: 10px;
  }
  #send-icon.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

  #send-button {
    padding: 10px;
    font-size: 16px;
    color: rgb(136, 134, 134);
    border-radius: 5px;
    cursor: pointer;
    left: 60%;
    background: none;
    border: none;
  }
  
  .is-live {
    border-left-color: green; /* Green left border for live chats */
}

.live-indicator {
  font-size: 12px;
  color: green;
  margin-right: 5px;
}

  .admin-active-indicator {
    display: none; /* Hidden by default */
    color: #FF0000; /* Red text for visibility */
    font-weight: bold;
}

.chat-session.admin-active .admin-active-indicator {
    display: block; /* Show the indicator when admin is active */
}

  .admin-name {
    font-size: 1em; /* Adjust the size as needed */
    font-weight: bold; /* Makes the name stand out */
    /* Add more styles if needed */
}
  .admin-info {
    flex-grow: 1; /* User info takes the available space */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Handle overflowing text */
}

.chat-session.selected {
  background-color: #f0f0f0; /* Or any indication color */
  border-left: 5px solid #007bff; /* Or any highlight color */
}

  #chatWithBot {
    position: relative;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 20px;
    border: 1px;
    z-index: 1000;
    display: flex;
    text-align: left;
    width: 100%;
    cursor: pointer;
    background-color: transparent;
    font-size: 18px;
}

  #chatWithIframeUser{
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 26px;
    border-radius: 5px;
  }
  .offline {
    position: absolute;
    top: 65%;
    left: 86%;
    display: flex;
    align-items: center;
    width: 5.2rem;
    height: 1.75rem;
  }
  



#prompt1 {
	    position: absolute;
    bottom: 10%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Container around model selector */
.model-selector {
  margin-top: 12px;
  font-size: 14px;
}

/* Dropdown label */
.model-selector label {
  font-weight: 500;
  margin-bottom: 4px;
  display: inline-block;
}

/* Select box itself */
#model-dropdown {
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  width: 100%;
  max-width: 300px;
}

/* Optional: style <optgroup> label */
#model-dropdown optgroup {
  font-weight: bold;
  font-style: italic;
  color: #555;
}
