:root {
  --primary-color: #00a8f6;

  --bg-color: #f7fafc;

  --sidebar-bg: #ffffff;

  --text-color: #1a202c;

  --border-color: #e2e8f0;
}

.emoji {
  font-family: "Noto Color Emoji", sans-serif;
}

/* Estilos para emojis mejorados */
.emoji-img {
  display: inline-block;
  height: 1.2em;
  width: auto;
  vertical-align: -0.2em;
  margin: 0 0.05em;
  transition: transform 0.2s ease;
}

.emoji-img:hover {
  transform: scale(1.2);
}

.message-content em,
.message-content .emoji,
.message-content span[role="img"] {
  font-family: "Noto Color Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#patyia {
  display: flex;
}

.model-selector {
  display: flex;

  align-items: center;

  gap: 8px;
}

.model-dropdown {
  padding: 6px 12px;

  border-radius: 4px;

  border: 1px solid var(--border-color);

  background-color: white;
}

.model-dropdown:focus {
  outline: none;

  box-shadow: none;
}

.sidebar {
  width: 60px;
  background-color: var(--sidebar-bg);
  border-right: 1px solid #cccccc65;
  padding: 4px 16px;
  display: flex;
  flex-direction: column;
  /* z-index: 100; */
  transition: width 0.3s ease;
  overflow: hidden; /* Oculta el contenido que sobresale durante la transición */
  gap: 8px;
  position: relative; /* Asegurar posición por defecto en desktop */
}

.sidebar.expanded {
  width: 250px;
}

.pin-sidebar-btn {
  /* background-color: var(--primary-color); */
  color: var(--primary-color);
  background-color: white;
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.mobile-sidebar-btn {
  position: fixed;
  top: 35px;
  width: 100%;
  color: #337ab7;
  background-color: white;
  border: none;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  font-size: 18px;
}

.pin-sidebar-btn:hover {
  background-color: #e2e8f0;
  transform: scale(1.1);
}

.pin-sidebar-btn:active {
  transform: scale(0.95);
}

.new-chat-btn {
  all: unset;
}

.new-chat-btn svg {
  display: block;
  width: 27px;
  height: auto;
}

.new-chat-btn span {
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  font-size: 2rem;
}

.toggleSidebar {
  display: none;
}

.new-chat-btn-expanded {
  background-color: inherit;
  color: var(--primary-color);
  border: none;
  /* border-radius: 12px; */
  padding: 6px 16px;
  font-weight: 500;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* margin-bottom: 3px; */
  /* Mejorar la respuesta táctil en móviles */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.new-chat-btn-expanded svg {
  position: relative;
  right: 2.5px;
}

.conversations {
  flex: 1;
  display: none;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.conversation-item {
  padding: 8px;
  /* margin-bottom: 4px; */
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
}

.conversation-item:hover {
  background-color: #e2e8f0;
}

.conversation-item.active {
  background-color: #e2e8f0;
  font-weight: 600;
}

.sidebar-footer {
  background-color: var(--primary-color);

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 12px;

  height: 55px;
}

.sidebar-footer img {
  width: 119px;

  height: auto;
}

.main-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-chat {
  padding: 12px 20px;
  font-weight: 600;
  font-size: 16px;
  color: #4a5568;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--sidebar-bg);
  display: none;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
}

.header-chat.show {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.header-chat .logo {
  width: 38px;
  height: auto;
  object-fit: cover;
}

.header-chat .title {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-color);
}

.chat-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.message {
  max-width: 80%;

  margin-bottom: 24px;

  line-height: 1.5;
}

.user-message {
  margin-left: auto;
}

.assistant-message {
  margin-right: auto;
}

.message-content {
  padding: 12px 16px;

  border-radius: 12px;
}

.user-message .message-content {
  background-color: var(--primary-color);

  color: white;
}

.assistant-message .message-content {
  background-color: white;

  border: 1px solid var(--border-color);
}

.message-input-wrapper {
  position: relative;

  /* display: flex;

  flex-direction: column; */

  align-items: center;

  background-color: white;

  border-radius: 8px;

  border: 1px solid var(--border-color);
}

textarea:focus {
  border: none;

  outline: none;

  box-shadow: none;
}

.message-input {
  flex: 1;

  padding: 12px 40px 12px 16px;

  resize: none;

  min-height: 56px;

  max-height: 200px;

  font-size: 16px;

  border: none;

  border-radius: 8px 8px 0 0;
}

.input-actions {
  display: flex;

  align-items: center;

  justify-content: space-between;

  width: 100%;

  padding: 8px 16px;
}

.send-button {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  height: 24px;
  padding: 0px;
}

/* Botón para mostrar/ocultar sidebar en móvil */

.toggle-sidebar {
  background-color: inherit;
  color: var(--primary-color);
  border: none;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  align-items: center;
  cursor: pointer;
  display: none;
  transition: background-color 0.3s ease;
}

/* Overlay para cerrar sidebar al tocar fuera en móvil */

.sidebar-overlay {
  position: fixed;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background-color: rgba(0, 0, 0, 0.5);

  z-index: 99;

  display: none;
}

.loading .message-content {
  opacity: 0.7;
}

.loading .message-content::after {
  content: "...";

  animation: typing 1s steps(3) infinite;
}

.loading .message-content p {
  display: inline-block;
}

.message-time {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
  margin-top: 4px;
}

.assistant-message .message-time {
  color: rgba(0, 0, 0, 0.6);
}

/* Mensaje informativo */
.info-message {
  max-width: 700px;
  margin: 0 auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 10px; */
  animation: gentleFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.info-icon {
  font-size: 24px;
  margin-bottom: 5px;
}

.info-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--primary-color);
}

.info-content {
  line-height: 1.5;
  color: #4a5568;
  text-align: justify;
}

/* Posición centrada para el input container */
.input-container.centered {
  position: relative;
  padding: 0 20px;
  border: none;
  animation: gentleFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.input-container.centered .message-input-wrapper {
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Posición centrada para el input container */
.input-container {
  position: relative;
  padding: 16px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Transición más suave */
  opacity: 1;
  padding: 16px;
  width: 100%;
}

/* Hacer espacio para el chat cuando el input vuelve a su posición normal */
.chat-container {
  /* padding-bottom: 80px; */
  transition: padding 0.3s ease;
}

/* Mejora visual para el foco en el selector de módulo */
.model-dropdown:focus {
  box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.2);
}

/* Animación para la entrada y salida del mensaje de alerta de módulo */
.modulo-alerta {
  max-width: 600px;
  animation: slideDown 0.3s ease-in-out;
  border-radius: 12px;
  margin: 0 auto;
}

/* Titulo ¨¿En qué puedo ayudarte?¨ */
.help-message {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -60px;
  transform: translateY(-70%);
  animation: gentleFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.chat-image {
  max-width: 100%;
  border-radius: 8px;
  margin: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.chat-error {
  border: 1px solid #f8d7da;
  background-color: #f8d7da;
  color: #721c24;
  padding: 8px;
  border-radius: 8px;
  margin: 10px 0;
  font-size: 14px;
}
.modulo-error {
  text-align: center;
}

.greetingMessage {
  display: none;
  justify-content: center;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 18px;
  color: black;
  /* margin: 0 auto; */
  /* animation: gentleFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1); */
  /* transform: translateY(-20%); */
}

.youtube-embed {
  margin: 15px 0;
  max-width: 560px;
}

.youtube-embed h4 {
  margin-bottom: 8px;
  font-weight: 500;
}

.youtube-embed iframe {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.message-feedback {
  display: flex;
  flex-direction: row;
  margin-right: 10px;
}

.feedback-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #ccc;
  padding: 3px;
  margin: 2px 0;
  transition: color 0.2s;
}

.feedback-btn:hover {
  color: #888;
}

.feedback-btn.selected {
  color: #0084ff;
}

.like-btn.selected {
  color: #4caf50;
}

.dislike-btn.selected {
  color: #f44336;
}

.logo-patyia {
  width: 100%;
  height: auto;
  max-width: 80px;
}

.avatar-patyia {
  width: 170px;
  height: auto;
}

.greeting-title {
  font-size: 26px;
  /* margin-bottom: 15px; */
  color: black;
  text-align: center;
  font-weight: 600;
}

.info-box {
  background-color: #f0f7ff;
  /* border-radius: 12px; */
  padding: 15px;
  max-width: 600px;
  border-left: 4px solid var(--primary-color);
}

.info-box-title {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.info-box-content {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
  text-align: justify;
}

/* Estilos para YouTube Playlist - Diseño limpio sin card */
.youtube-playlist-item {
  display: flex;
  gap: 20px;
  /* margin: 20px 0; */
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  transition: all 0.3s ease;
  max-width: 100%;
  overflow: hidden;
}

.youtube-playlist-item:hover {
  transform: none;
  box-shadow: none;
}

.video-thumbnail {
  display: flex;
  /* flex: 0 0 360px; */
  height: 202px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-thumbnail iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 4px;
}

.video-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding-left: 5px;
}

.video-title {
  width: 65%;
  font-size: 17px;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-date {
  font-size: 13px;
  color: #718096;
  margin: 0 0 12px 0;
  font-weight: 400;
}

.video-link {
  color: #00a8f6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
  align-self: flex-start;
}

.video-link:hover {
  color: #0080c7;
  text-decoration: underline;
}

.video-link::after {
  content: "↗";
  font-size: 12px;
}

/* Estilos para el modal */
.modal-container {
  display: flex;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 500px;
  animation: modalFadeIn 0.3s ease-in-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #e1e1e1;
}

.modal-header h2 {
  margin: 0;
  font-size: 20px;
  color: #333;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #777;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0;
}

.btn-modal {
  color: #4caf50 !important;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  background: inherit;
}

.btnTk-modal {
  background-color: inherit;
  color: #4caf50 !important;
}

.btn-cancelar-ticket {
  color: #f44336 !important;
}

.contact-support-icon {
  width: 16px;
  height: auto;
  display: flex;
  opacity: 0.5;
  cursor: pointer;
}

/* Responsive Design */

@media (max-width: 480px) {
  .youtube-playlist-item {
    margin: 15px 0;
    padding: 0;
  }

  .video-thumbnail {
    height: 160px;
  }

  .video-title {
    font-size: 15px;
    /* -webkit-line-clamp: 3;
    line-clamp: 3; */
  }

  .message {
    max-width: 100%;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Definir una animación más suave para la entrada */
@keyframes gentleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10%);
  }
  100% {
    opacity: 1;
  }
}

/* Mejorar la visibilidad del foco en el input */
.message-input:focus {
  box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.1);
}

/* Mejorar la apariencia del botón Nueva Conversación en hover */
.new-chat-btn-expanded:hover {
  /* background-color: #00aeff; */
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.new-chat-btn-expanded:active {
  transform: translateY(0);
  background-color: #e2e8f0;
}

.new-chat-btn-expanded {
  transition: all 0.2s ease;
}

/* Mejorar visualmente el botón de enviar */
.send-button {
  transition: transform 0.2s ease;
}

.send-button:hover {
  transform: scale(1.1);
}

.send-button:active {
  transform: scale(0.95);
}

.history-title {
  font-weight: 600;
  font-size: 13px;
  color: #0c0c0c65;
  /* margin-bottom: 10px; */
  position: sticky;
  display: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-top: 1px solid #cccccc65 !important;
  padding-top: 10px;
  margin-bottom: 3px;
}

.linksAsistente {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
}

.linksAsistente:hover {
  text-decoration: none;
  color: #20b9ff;
}

/* Animación para el indicador de carga */
@keyframes typing {
  0% {
    content: ".";
  }

  33% {
    content: "..";
  }

  66% {
    content: "...";
  }

  100% {
    content: ".";
  }
}

.resAnimate {
  animation: fadeIn 0.5s ease-in-out;
}

/* Animación para el mensaje del asistente */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Media queries para diseño responsive */

/* Asegurar comportamiento correcto en desktop */
@media (min-width: 769px) {
  /* Sidebar debe comportarse como elemento estático en desktop */
  .sidebar {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    z-index: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 60px !important; /* Ancho base por defecto */
  }
  
  /* Remover cualquier estado activo de móvil */
  .sidebar.active {
    transform: none !important;
    position: static !important;
    width: 60px !important;
  }
  
  /* Cuando está expandido, usar el ancho correcto */
  .sidebar.expanded {
    width: 250px !important;
  }
  
  /* Ocultar elementos de móvil completamente */
  .toggle-sidebar {
    display: none !important;
  }
  
  .sidebar-overlay {
    display: none !important;
  }
  
  .sidebar-overlay.active {
    display: none !important;
  }
  
  .mobile-sidebar-btn {
    display: none !important;
  }
  
  /* Estados expandidos para desktop */
  .sidebar.expanded .new-chat-btn-expanded {
    display: flex !important;
    opacity: 1 !important;
  }
  
  .sidebar.expanded .conversations {
    display: flex !important;
    opacity: 1 !important;
  }
  
  .sidebar.expanded .history-title {
    display: block !important;
    opacity: 1 !important;
  }
  
  .sidebar.expanded .conversation-item {
    opacity: 1 !important;
  }
  
  /* Asegurar que el botón colapsado se muestre cuando no está expandido */
  .sidebar:not(.expanded) .new-chat-btn {
    display: block !important;
  }
  
  .sidebar:not(.expanded) .new-chat-btn-expanded {
    display: none !important;
  }
  
  .sidebar:not(.expanded) .conversations {
    display: none !important;
  }
  
  .sidebar:not(.expanded) .history-title {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .youtube-embed iframe {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;

    top: 0;

    left: 0;

    bottom: 0;

    width: 250px;

    z-index: 100;

    transform: translateX(-100%);

    transition: transform 0.3s ease;

    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  /* Forzar que el sidebar se muestre expandido en móviles cuando está activo */
  .sidebar.active {
    width: 250px;
  }

  .sidebar.active .new-chat-btn-expanded {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Ocultar botón de nueva conversación cuando no hay conversación activa (nueva conversación) */
  .sidebar.active.no-active-conversation .new-chat-btn-expanded {
    display: none !important;
    opacity: 0 !important;
  }

  .sidebar.active .conversations {
    display: flex !important;
    opacity: 1 !important;
  }

  .sidebar.active .history-title {
    display: block !important;
    opacity: 1 !important;
  }

  /* Remover border-top cuando no hay conversación activa */
  .sidebar.active.no-active-conversation .history-title {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 10px;
  }

  .sidebar.active .new-chat-btn {
    display: none !important;
  }

  .sidebar.active .conversation-item {
    opacity: 1 !important;
  }

  /* Asegurar que el pin button también se muestre */
  .sidebar.active .pin-sidebar-btn {
    opacity: 1 !important;
  }

  .toggle-sidebar {
    display: flex;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .model-selector span {
    display: none;
  }

  .input-container.centered {
    padding: 0 15px;
  }

  .info-message {
    margin: 0;
    padding: 0;
  }

  .modulo-alerta {
    width: 98%;
  }

  .greetingMessage {
    text-align: center;
  }

  .avatar-patyia {
    width: 120px;
    height: auto;
  }

  .greeting-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .info-box {
    width: 90%;
    margin: 0 auto;
    padding: 15px;
    border-radius: 8px;
  }

  .greetingMessage {
    padding: 8px 0;
  }

  .header-chat {
    padding: 12px 10px;
  }

  .toggleSidebar {
    display: flex;
  }

  .youtube-playlist-item {
    flex-direction: column;
    gap: 15px;
  }

  .video-thumbnail {
    flex: none;
    height: 180px;
    width: 100%;
  }

  .video-info {
    text-align: left;
    padding-left: 0;
  }

  .video-title {
    font-size: 16px;
    width: 100%;
  }

  .message {
    max-width: 100%;
  }

  .main-content{
    margin-top: 30px;
  }
}

/* Optimizaciones adicionales para transiciones del sidebar */
.sidebar .new-chat-btn-expanded,
.sidebar .conversations,
.sidebar .history-title {
  /* Evitar el flash durante las transiciones al mantener tamaños consistentes */
  box-sizing: border-box;
  min-height: 0; /* Evita problemas de altura mínima durante transiciones */
}

.sidebar .conversation-item {
  /* Evitar cambios de layout durante las animaciones */
  box-sizing: border-box;
  min-width: 0; /* Permite que el elemento se contraiga apropiadamente */
}

/* Mejorar la suavidad de las transiciones cuando el sidebar se expande */
.sidebar.expanded .new-chat-btn-expanded,
.sidebar.expanded .conversations,
.sidebar.expanded .history-title,
.sidebar.expanded .conversation-item {
  /* Asegurar que los elementos mantengan sus dimensiones durante la expansión */
  flex-shrink: 0;
}

/* Optimización para evitar reflows durante las animaciones */
.sidebar .new-chat-btn-expanded,
.sidebar .conversations,
.sidebar .history-title {
  /* Usar transform en lugar de cambios de width para mejor rendimiento */
  will-change: opacity;
  backface-visibility: hidden;
  perspective: 1000px;
}

.conversation-item {
  /* Optimización de renderizado para los elementos de conversación */
  transform: translateZ(0);
  will-change: opacity;
}

/* Estilos para información de ticket */
.ticket-info {
  background-color: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 8px;
  padding: 12px;
  margin: 10px 0;
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  color: #1976d2;
  box-shadow: 0 2px 4px rgba(33, 150, 243, 0.1);
  /* Animaciones optimizadas para transiciones suaves */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
}

.ticket-info-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.ticket-info .emoji-img {
  flex-shrink: 0;
  font-size: 18px;
  margin-top: 2px;
}

.ticket-details {
  flex: 1;
}

.ticket-details strong {
  color: #1565c0;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.ticket-details p {
  margin: 4px 0;
  line-height: 1.4;
}

.ticket-details small {
  color: #1976d2;
  opacity: 0.8;
  font-size: 12px;
}

/* Estilos para input deshabilitado cuando hay ticket */
.message-input:disabled {
  background-color: #f5f5f5;
  color: #9e9e9e;
  cursor: not-allowed;
  opacity: 0.7;
}

.send-button:disabled {
  background-color: #e0e0e0;
  color: #9e9e9e;
  cursor: not-allowed;
  opacity: 0.5;
}

.send-button:disabled:hover {
  background-color: #e0e0e0;
  transform: none;
}
