@charset "UTF-8";
body {
  color: #5b5e6d; }

.margen-debajo {
  margin-bottom: 40px; }

#submitLexi {
  margin: 10px 0px;
  border: none; }

.text-muted {
  color: white !important; }

iframe {
  height: 450px !important; }

.card {
  margin-bottom: 15px; }

.card-body {
  padding: 0px; }

.lexi-center-box {
  margin: 70px auto;
  color: #ffffff;
  text-align: center; }
  .lexi-center-box .login-card {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08); }

.lexi-center-box #lexiEmail,
.lexi-center-box #lexiPass,
.lexi-center-box #lexiEmailRecover,
.lexi-center-box #lexiNewPass,
.lexi-center-box #lexiConfirmNewPass,
#lexiRecoverCode,
#lexiNewPass1,
#lexiNewPass2,
#lexiUsername,
.user-section input {
  border: none;
  margin-bottom: 18px;
  padding: 12px 12px;
  width: 100%; }
  .lexi-center-box #lexiEmail :disabled,
  .lexi-center-box #lexiPass :disabled,
  .lexi-center-box #lexiEmailRecover :disabled,
  .lexi-center-box #lexiNewPass :disabled,
  .lexi-center-box #lexiConfirmNewPass :disabled,
  #lexiRecoverCode :disabled,
  #lexiNewPass1 :disabled,
  #lexiNewPass2 :disabled,
  #lexiUsername :disabled,
  .user-section input :disabled {
    background-color: #858585; }

.lexi-center-box p {
  color: white;
  font-size: 12px; }

#loginLexi, #recoverPass, #LexiRecoverPass {
  margin: 16px 0px; }

.lexi-btn {
  padding: 4px 6px;
  width: auto;
  margin-left: auto;
  transition: background .3s; }
  .lexi-btn :hover {
    border: white 1px solid; }
  .lexi-btn img {
    padding-left: 5px; }

.lexi-btn-void {
  background: white;
  color: #72b33e;
  border: #72b33e 1px solid;
  padding: 4px 6px;
  width: auto;
  transition: background .3s; }

.lexi-footer {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: 10px 0 2px 0;
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0; }

.lexi-link {
  color: #aed136; }

#loginLexi .text-danger {
  margin-bottom: 18px; }

#recoverPassBtn {
  text-align: right;
  padding-right: 0px;
  text-decoration: underline; }

.chat-container {
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 640px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  background: white; }

.chat-messages {
  flex: 1;
  padding: 40px 60px;
  overflow-y: auto;
  background: white; }

.chat-messages::-webkit-scrollbar {
  width: 20px;
  margin: 10px 0px; }

.chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1; }

.chat-messages::-webkit-scrollbar-thumb {
  background-color: #71b84f;
  /* Verde institucional */
  border: 2px solid #f1f1f1; }

.chat-messages::-webkit-scrollbar-thumb:hover {
  background-color: #5a9e3e; }

.message {
  margin-bottom: 50px;
  max-width: 80%;
  min-width: 120px;
  width: fit-content;
  padding: 30px;
  border-radius: 15px;
  font-size: 17px;
  line-height: 1.4;
  word-break: break-word;
  display: inline-block;
  background-color: #fff;
  /* por si deseas control uniforme */ }

.message.user {
  background: #aed136;
  color: white;
  border-bottom-right-radius: 0;
  text-align: right; }

.message.bot {
  background: #F2EEEE;
  border-bottom-left-radius: 0; }

.chat-input {
  position: relative;
  /* ✅ Esto permite que el botón se posicione relativo a este contenedor */
  display: flex;
  margin: 0px 60px 40px 60px;
  background: #fff; }

.chat-input textarea {
  flex: 1;
  padding: 20px;
  border: none;
  outline: none;
  font-size: 14px;
  resize: none;
  overflow-y: auto;
  max-height: 60px;
  /* Aproximadamente 3 líneas */
  line-height: 1.2em;
  background: #F2EEEE; }

.chat-container button {
  padding: 10px 15px;
  margin-left: 10px;
  border: none;
  border-radius: 20px;
  cursor: pointer; }

.message-actions {
  font-size: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-end; }

.message-actions button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 2px 5px; }

#copy-chat-btn {
  position: absolute;
  bottom: 110px;
  /* ajustado para estar encima del input */
  left: 60px;
  background-color: #F2EEEE;
  border: none;
  padding: 10px 16px;
  display: none;
  /* oculto inicialmente */
  cursor: pointer;
  z-index: 10;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s; }

#copy-chat-btn:hover, #clean-chat-btn:hover {
  background-color: #0b806a;
  color: white; }

#clean-chat-btn {
  position: absolute;
  top: 20px;
  /* ajustado para estar encima del input */
  left: 60px;
  background-color: #F2EEEE;
  border: none;
  padding: 10px 16px;
  display: none;
  /* oculto inicialmente */
  cursor: pointer;
  z-index: 10;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s; }

.typing-indicator {
  display: inline-block;
  font-style: italic; }

.typing-indicator span {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 2px;
  background-color: #333;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both; }

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s; }

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s; }

.typing-indicator span:nth-child(3) {
  animation-delay: 0; }

@keyframes typing {
  0%, 80%, 100% {
    transform: scale(0); }
  40% {
    transform: scale(1); } }

/*# sourceMappingURL=lexi.css.map */
