@charset "UTF-8";
/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

body {
  background: #e6ecf0 !important;
}

#imagen-perfil {
  border-radius: 50% !important;
  width: 45% !important;
  text-align: center;
  padding: 0;
  display: block;
  margin: 2px auto !important;
}

#responder {
  display: none;
}

.container {
  margin-top: 20px;
}

#contenidoder {
  text-align: right;
}

#contenidoder button {
  color: #fff;
}

#respuesta_texto {
  font-size: 0.9em !important;
}

li {
  list-style: none;
}

#dir_agrosag {
  text-align: center;
}

#dir_agrosag img {
  margin: 0 auto;
}

#dir_agrosag h5 {
  text-align: center;
  display: block;
}

#navbarSupportedContent {
  position: relative;
}

#cerrar_busq {
  display: none;
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 3px;
  cursor: pointer;
  padding: 3px 5px 3px 4px;
  top: 8px;
  color: rgba(255, 0, 0, 0.6);
  right: 15px;
}

.imagen_formato {
  width: 70px;
  display: block;
}

#respuesta_buscador {
  margin: 0;
  display: none;
  width: 100%;
  background: #fff;
  right: 0;
  top: 100%;
  padding: 10px 20px;
  z-index: 999 !important;
  position: absolute;
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2);
}

#respuesta_buscador_usuario, #respuesta_buscador_usuario2, #respuesta_buscador_usuario3, #respuesta_buscador_usuario4, #respuesta_buscador_usuario5 {
  margin: 0;
  display: none;
  width: 100%;
  background: #fff;
  right: 0;
  top: 100%;
  z-index: 999 !important;
  position: absolute;
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2);
}
#respuesta_buscador_usuario li, #respuesta_buscador_usuario2 li, #respuesta_buscador_usuario3 li, #respuesta_buscador_usuario4 li, #respuesta_buscador_usuario5 li {
  cursor: pointer;
}

#buscador {
  float: right;
  position: relative;
  display: inline-block;
}

#imagen_mensaje {
  width: 98%;
  margin: 0 auto;
  text-align: center;
}

#upload-progress,
#upload-progress2 {
  height: 20px;
  border: 1px solid #ddd;
  width: 100%;
}

#upload-progress .progress-bar {
  background: #bde1ff;
  width: 0;
  height: 20px;
  transition: width 0.2s ease;
}

#upload-progress2 .progress-bar2 {
  background: #bde1ff;
  width: 0;
  height: 20px;
}

#campo_entre, #campo_mayor_que, #campo_menor_que {
  display: none;
}

.lista_tareas {
  border: 2px solid #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-radius: 5px !important;
  background-color: #E6D6B8;
  color: #21211A !important;
}
.lista_tareas .project-title {
  color: #21211A !important;
}
.lista_tareas .project-title:hover {
  color: #21211A !important;
}

.project-card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-radius: 12px;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.project-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.project-title {
  color: #2c3e50;
  font-weight: 600;
  font-size: 16px;
}

.project-title:hover {
  color: #3498db;
}

.project-badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 12px;
}

.progress-container {
  margin: 15px 0;
}

.progress {
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  transition: width 0.3s ease;
}

.task-stats {
  border-top: 1px solid #f8f9fa;
  padding-top: 15px;
}

.stat-item {
  padding: 8px 4px;
}

.stat-number {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: #6c757d;
  margin-top: 4px;
  line-height: 1.2;
}

.bg-primary {
  background-color: #3498db !important;
}

.bg-warning {
  background-color: #9b59b6 !important;
}

.bg-success {
  background-color: #27ae60 !important;
}

.text-primary {
  color: #3498db !important;
}

.text-warning {
  color: #9b59b6 !important;
}

.text-success {
  color: #27ae60 !important;
}

.card-body {
  padding: 20px;
}

.row {
  margin: 0 -10px;
}

.col-md-6,
.col-lg-4 {
  padding: 0 10px;
}

/* Estilos para Drag and Drop de proyectos */
.draggable-project {
  cursor: move;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.draggable-project:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.draggable-project.dragging {
  opacity: 0.5;
  transform: rotate(2deg) scale(1.02);
}

.drop-zone-projects {
  min-height: 100px;
  transition: all 0.2s ease;
}

.drop-zone-projects.drag-over {
  background-color: #e3f2fd;
  border: 2px dashed #2196f3;
  border-radius: 12px;
  padding: 10px;
}

.project-drag-handle {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #6c757d;
  font-size: 16px;
}

.draggable-project:hover .project-drag-handle {
  opacity: 1;
}

.bg-primary {
  background-color: #3498db !important;
}

.bg-warning {
  background-color: #9b59b6 !important;
}

.bg-success {
  background-color: #27ae60 !important;
}

.btn-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-close:hover {
  background: #e9ecef;
  color: #495057;
}

.task-field-container {
  margin-bottom: 12px;
}

.task-field {
  background: #ffffff;
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.task-field:hover {
  border-color: #dee2e6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.task-field-readonly {
  background: #f8f9fa;
  cursor: default;
}

.task-field-readonly:hover {
  border-color: #e9ecef;
  box-shadow: none;
}

.task-input,
.task-textarea {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #495057;
  outline: none;
  padding: 0;
}

.task-input::placeholder,
.task-textarea::placeholder {
  color: #adb5bd;
}

.task-textarea {
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

.task-label {
  font-weight: 600;
  color: #495057;
  margin-right: 8px;
}

.task-value {
  color: #6c757d;
  flex: 1;
}

.datepicker {
  cursor: pointer;
}

/* Indicadores visuales para campos */
.task-input.loading,
.task-textarea.loading {
  background: #fff3cd;
  border-color: #ffeaa7;
}

.task-input.success,
.task-textarea.success {
  background: #d4edda;
  border-color: #c3e6cb;
}

.task-input.error,
.task-textarea.error {
  background: #f8d7da;
  border-color: #f5c6cb;
}

.task-field.loading {
  border-color: #ffeaa7;
}

.task-field.success {
  border-color: #c3e6cb;
}

.task-field.error {
  border-color: #f5c6cb;
}

/* Estilos para autocompletado de usuarios */
.sugerencias-usuarios {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sugerencia-usuario {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f8f9fa;
  transition: background-color 0.2s ease;
}

.sugerencia-usuario:hover {
  background-color: #f8f9fa;
}

.sugerencia-usuario:last-child {
  border-bottom: none;
}

.nombre-sugerencia {
  font-weight: 500;
  color: #495057;
}

.email-sugerencia {
  font-size: 12px;
  color: #6c757d;
}

/* Estilos para usuarios asignados */
.usuarios-asignados {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.usuario-asignado {
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: 16px;
  padding: 4px 8px 4px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.nombre-usuario {
  color: #1976d2;
  font-weight: 500;
}

.rol-usuario {
  color: #666;
  font-size: 11px;
}

.btn-desasignar {
  background: #ff5252;
  color: white;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.btn-desasignar:hover {
  background: #d32f2f;
}

.task-field {
  position: relative;
}

/* Estilos para Drag and Drop */
.draggable-task {
  cursor: move;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.draggable-task:hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.draggable-task > .sugerencias-usuarios {
  z-index: 9999 !important;
}

.draggable-task.dragging {
  opacity: 0.5;
  transform: rotate(5deg);
}

.drop-zone {
  min-height: 100px;
  transition: all 0.2s ease;
}

.drop-zone.drag-over {
  background-color: #e3f2fd;
  border: 2px dashed #2196f3;
  border-radius: 8px;
}

.drop-zone.drag-over h5 {
  color: #2196f3;
}

.drop-zone.empty {
  background-color: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-style: italic;
}

/* Estilos para botones de prioridad */
.prioridad-botones {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  margin-top: 8px;
}

.btn-prioridad {
  border: none;
  border-radius: 15px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 50px;
  text-align: center;
  height: 28px;
}

.btn-prioridad:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-prioridad-baja {
  background-color: #90EE90;
  /* Verde claro */
  color: #000000;
  /* Texto negro */
}

.btn-prioridad-baja:hover {
  background-color: #7FDD7F;
}

.btn-prioridad-media {
  background-color: #FFD700;
  /* Amarillo */
  color: #000000;
  /* Texto negro */
}

.btn-prioridad-media:hover {
  background-color: #E6C200;
}

.btn-prioridad-alta {
  background-color: #FF8C00;
  /* Naranja */
  color: #FFFFFF;
  /* Texto blanco */
}

.btn-prioridad-alta:hover {
  background-color: #E67A00;
}

.btn-prioridad-critica {
  background-color: #DC143C;
  /* Rojo */
  color: #FFFFFF;
  /* Texto blanco */
}

.btn-prioridad-critica:hover {
  background-color: #B8112E;
}

/* Estado seleccionado */
.btn-prioridad[data-selected=true] {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #007bff;
  transform: scale(1.02);
}

/* Estilos para badges de prioridad */
.badge-prioridad {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.badge-prioridad-baja {
  background-color: #90EE90;
  color: #000000;
}

.badge-prioridad-media {
  background-color: #FFD700;
  color: #000000;
}

.badge-prioridad-alta {
  background-color: #FF8C00;
  color: #FFFFFF;
}

.badge-prioridad-critica {
  background-color: #DC143C;
  color: #FFFFFF;
}

.badge-prioridad-sin {
  background-color: #6c757d;
  color: #FFFFFF;
}

/* Estilos para archivos */
.archivos-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archivo-item {
  display: flex;
  align-items: center;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.archivo-enlace {
  color: #007bff;
  text-decoration: none;
  flex: 1;
}

.archivo-enlace:hover {
  text-decoration: underline;
}

.btn-eliminar-archivo {
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 3px;
}

.btn-eliminar-archivo:hover {
  background-color: #dc3545;
  color: white;
}

/* Estilos para las pestañas de actualizaciones/conversación */
.nav-tabs {
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 0;
}

.nav-tabs .nav-link {
  border: none;
  color: #6c757d;
  font-weight: 500;
  padding: 12px 24px;
  transition: all 0.3s ease;
  border-radius: 8px 8px 0 0;
  margin-right: 4px;
  background-color: transparent;
}

.nav-tabs .nav-link:hover {
  color: #495057;
  background-color: #f8f9fa;
}

.nav-tabs .nav-link.active {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.tab-content {
  min-height: 200px;
}

.tab-pane {
  padding: 10px 0;
}

/* Estilos para el chat */
.chat-container {
  height: 400px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}

.chat-messages {
  height: 100%;
  overflow-y: auto;
  padding: 15px;
  background-color: #f8f9fa;
}

.mensaje-item {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.mensaje-item.propio {
  flex-direction: row-reverse;
}

.mensaje-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin: 0 10px;
  flex-shrink: 0;
}

.mensaje-contenido {
  max-width: 70%;
  background: white;
  padding: 10px 15px;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
}

.mensaje-item.propio .mensaje-contenido {
  background-color: #007bff;
  color: white;
}

.mensaje-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 12px;
}

.mensaje-usuario {
  font-weight: 600;
  color: #495057;
}

.mensaje-item.propio .mensaje-usuario {
  color: rgba(255, 255, 255, 0.8);
}

.mensaje-fecha {
  color: #6c757d;
  font-size: 11px;
}

.mensaje-item.propio .mensaje-fecha {
  color: rgba(255, 255, 255, 0.7);
}

.mensaje-texto {
  margin: 0;
  line-height: 1.4;
}

.chat-input-container {
  border-top: 1px solid #dee2e6;
  padding: 15px;
  background-color: white;
}

.mensaje-archivo {
  margin-top: 8px;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.mensaje-item.propio .mensaje-archivo {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.archivo-enlace {
  color: #007bff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mensaje-item.propio .archivo-enlace {
  color: rgba(255, 255, 255, 0.9);
}

.archivo-enlace:hover {
  text-decoration: underline;
}

/* Scroll personalizado para el chat */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}

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

.chat-messages::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Estilos para menciones */
.mensaje-texto .mention {
  background-color: #e3f2fd;
  color: #1976d2;
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
}

.mensaje-item.propio .mensaje-texto .mention {
  background-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

/* Estilos para autocompletado de menciones */
.mention-suggestions {
  position: absolute;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999;
  min-width: 250px;
}

.mention-suggestion {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f8f9fa;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.2s ease;
}

.mention-suggestion:hover {
  background-color: #f8f9fa;
}

.mention-suggestion:last-child {
  border-bottom: none;
}

.mention-suggestion.active {
  background-color: #e3f2fd;
}

.mention-suggestion-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mention-suggestion-info {
  flex: 1;
}

.mention-suggestion-name {
  font-weight: 500;
  color: #495057;
  margin: 0;
}

.mention-suggestion-role {
  font-size: 12px;
  color: #6c757d;
  margin: 0;
}

.mention-suggestion-highlight {
  background-color: #fff3cd;
  padding: 1px 2px;
  border-radius: 2px;
}

.mention-selected {
  background-color: #e3f2fd;
  color: #1976d2;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid #bbdefb;
  display: inline-block;
  margin: 0 2px;
}

#mensaje-texto:empty:before {
  content: attr(data-placeholder);
  color: #6c757d;
  pointer-events: none;
}

#mensaje-texto:focus {
  outline: none;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Estilos para el panel de búsqueda */
.search-panel {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.search-highlight {
  background-color: #fff3cd;
  padding: 1px 2px;
  border-radius: 2px;
  font-weight: 500;
}

.search-result-item {
  border-left: 3px solid #007bff;
  padding-left: 10px;
  margin-bottom: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  padding: 8px 12px;
}

.search-result-item:hover {
  background-color: #e9ecef;
}

#btn-toggle-search {
  color: #6c757d !important;
  font-size: 0.8em;
}

#btn-toggle-search:hover {
  color: #007bff !important;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
*:before,
*:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]:after,
a[href^="javascript:"]:after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
img {
    page-break-inside: avoid;
  }

  p,
h2,
h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
h3 {
    page-break-after: avoid;
  }
}
#imagen_mensaje_cont {
  display: inline-block;
  width: 38%;
  vertical-align: top;
  text-align: center;
  margin-right: 1%;
}

#texto_mensaje {
  display: inline-block;
  vertical-align: top;
  width: 60%;
}

#logofagro {
  width: 110px;
  padding: 10px 0 5px;
}
#logofagro img {
  width: 100%;
}

#thumb_perfil {
  width: 38px;
  border-radius: 50%;
  margin: 0 5px 0 0;
}

#thumb_perfil2 {
  width: 55px;
  border-radius: 50%;
  margin: 0 auto 5px;
  border: 2px solid #fff;
}

#nombre_header {
  margin: 0 10px 0 0;
}

#footer {
  font-size: 0.9em;
  padding: 10px 0;
  text-align: center;
}
#footer a {
  color: #fff !important;
}

.archivo p {
  line-height: 1.1em;
}

.fecha_actualizacion {
  margin-top: -4px !important;
  display: block;
}

.borrar .fas {
  display: none !important;
}

#tdepartamento {
  display: block;
  margin: 0px 8px -10px;
  border-bottom: 1px solid #a4a3a3;
  padding: 2px 0 4px;
}

#tnombre {
  font-size: 0.9em;
  font-weight: 700;
}

#tpuesto {
  color: #737373;
  font-size: 0.9em;
}

#torg table {
  border-collapse: inherit;
}

.pie {
  width: 935px;
  margin: 0 auto;
  position: relative;
  border-radius: 100%;
  overflow: hidden;
}
.pie::after {
  content: "";
  padding-bottom: 100%;
  display: block;
}
.pie_inner {
  transform: translate(-50%, -50%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.pie_segment {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transform-origin: bottom right;
  width: 100%;
  height: 100%;
}
.pie_segment_data {
  width: 100%;
  height: 100%;
  transform-origin: bottom left;
  transition: opacity 0.5s;
}

.pie_segment:nth-child(1) .pie_segment_data {
  background-color: #ffd26e;
}
.pie_segment:nth-child(2) .pie_segment_data {
  background-color: #9ad8e6;
}
.pie_segment:nth-child(3) .pie_segment_data {
  background-color: #b3d663;
}
.pie_segment:nth-child(4) .pie_segment_data {
  background-color: #a5a5a5;
}
.pie_segment:nth-child(5) .pie_segment_data {
  background-color: #f0a381;
}

.orbit {
  position: absolute;
  border: 1px solid #fff;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  z-index: 999;
  left: 70px;
  top: 60px;
}

pie2 {
  position: relative;
  text-align: center;
  margin: 0 auto;
}

.orbitx {
  background: url(../img/fondo-organigrama.png) center center;
  background-size: contain;
  width: 900px;
  height: 900px;
  margin: 0 auto;
}

.orbit2 {
  position: absolute;
  border: 1px solid #fff;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  margin: 50px 0 0 50px;
  z-index: 999;
}

.orbit-center {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  top: 100px;
  left: 100px;
  position: relative;
  border: 1px solid #fff;
}

.orbit-center2 {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  top: -390px;
  left: 210px;
  position: relative;
  border: 1px solid #fff;
}

.orbit-center3 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  top: -680px;
  left: 300px;
  position: relative;
  border: 1px solid #fff;
  text-align: center;
  background: #fff;
  font-size: 1.1em;
}
.orbit-center3 i {
  display: block;
  margin-top: 75px;
}

.bajarc2 span {
  margin-top: 16px !important;
  display: block;
}

.circulos1 {
  line-height: 120%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: absolute;
  text-align: center;
}
.circulos1 span {
  margin-top: 26px;
  display: block;
}

.circulos2 {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  position: absolute;
  text-align: center;
}
.circulos2 span {
  margin-top: 38px;
  display: block;
}

.bajartexto span {
  margin: 20px auto 0 !important;
}

.bajartexto3 span {
  margin: 30px auto 0 !important;
}

.bajartexto2 span {
  margin: 16px auto 0 !important;
}

.circulos3 {
  width: 87px;
  height: 87px;
  border-radius: 50%;
  position: absolute;
}
.circulos3 span {
  font-size: 0.9em;
  display: block;
  margin: 29px auto 0;
  text-align: center;
}
.circulos3 small {
  text-align: center;
  display: block;
  font-size: 0.8em;
  line-height: 100%;
}

.circulos4 {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  position: absolute;
}
.circulos4 span {
  font-size: 0.9em;
  display: block;
  margin: 29px auto 0;
  text-align: center;
}
.circulos4 small {
  text-align: center;
  display: block;
  font-size: 0.8em;
  line-height: 100%;
}

#circ1 {
  bottom: -9px;
  right: 31px;
  background: #eabfe6;
  color: #fff;
  text-shadow: 1px 1px 1px #674672;
}

#circ2 {
  bottom: 40px;
  left: -30px;
  background: #eabfe6;
  color: #fff;
  text-shadow: 1px 1px 1px #674672;
}

#circ3 {
  top: 13px;
  left: 14px;
  background: #eabfe6;
  color: #fff;
  text-shadow: 1px 1px 1px #674672;
}

#circ4 {
  top: -25px;
  right: 48px;
  background: #eabfe6;
  color: #fff;
  text-shadow: 1px 1px 1px #674672;
}

#circ5 {
  top: 138px;
  right: -50px;
  background: #eabfe6;
  color: #fff;
  text-shadow: 1px 1px 1px #674672;
}

#circ21 {
  width: 130px !important;
  height: 130px !important;
  bottom: -35px;
  left: 351px;
  background: #73aae0;
  color: #fff;
  text-shadow: 1px 1px 3px #611c7b;
}
#circ21 span {
  margin-top: 48px !important;
}

#circ22 {
  bottom: 40px;
  left: 40px;
  width: 110px !important;
  height: 110px !important;
  background: #73aae0;
  color: #fff;
  text-shadow: 1px 1px 3px #218608;
}
#circ22 span {
  margin-top: 38px !important;
}

#circ23 {
  top: 46px;
  left: 22px;
  background: #73aae0;
  color: #fff;
  text-shadow: 1px 1px 3px #af7f01;
}

#circ24 {
  width: 130px !important;
  height: 130px !important;
  top: 53px;
  right: 6px;
  background: #73aae0;
  color: #fff;
  text-shadow: 1px 1px 3px #ba3a00;
}
#circ24 span {
  margin-top: 50px !important;
}

#circ25 {
  width: 130px !important;
  height: 130px !important;
  bottom: 118px;
  right: -32px;
  background: #73aae0;
  color: #fff;
  text-shadow: 1px 1px 3px #ba3a00;
}
#circ25 span {
  margin-top: 50px !important;
}

#f1 {
  bottom: 192px;
  left: -20px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #218608;
}

#f2 {
  bottom: 403px;
  left: -44px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #218608;
}

#f3 {
  bottom: 481px;
  left: -27px;
  z-index: 999;
  background: #9fd88a;
  color: #fff;
  text-shadow: 1px 1px 3px #218608;
}

#f4 {
  bottom: 555px;
  left: 0px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #af7f01;
}

#f5 {
  top: 98px;
  left: 42px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #af7f01;
}

#f6 {
  top: 43px;
  left: 101px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #af7f01;
}

#f7 {
  top: 1px;
  left: 168px;
  z-index: 999;
  background: #9fd88a;
  color: #fff;
  text-shadow: 1px 1px 3px #af7f01;
}

#f8 {
  top: -30px;
  left: 241px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #af7f01;
}

#f9 {
  top: -45px;
  left: 319px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #af7f01;
}

#f10 {
  top: -45px;
  right: 304px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #ba3a00;
}

#f11 {
  top: -11px;
  right: 190px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #ba3a00;
}

#f12 {
  top: 61px;
  right: 78px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #ba3a00;
}

#f12x {
  top: 165px;
  right: -1px;
  z-index: 999;
  background: #fff;
  color: #000;
}

#f13 {
  top: 279px;
  right: -40px;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #ba3a00;
}

#f14 {
  bottom: 283px;
  right: -43px;
  z-index: 999;
  background: #fff;
  color: #000;
}

#f15 {
  bottom: 132px;
  right: 12px;
  z-index: 999;
  background: #fff;
  color: #000000;
}

#f16 {
  bottom: 0px;
  right: 117px;
  color: #fff;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #008293;
  width: 100px !important;
  height: 100px !important;
}
#f16 span {
  margin-top: 35px !important;
}

#f17 {
  bottom: -59px;
  right: 252px;
  background: #fff;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #611c7b;
  width: 100px !important;
  height: 100px !important;
}
#f17 span {
  margin-top: 35px !important;
}

#f18 {
  bottom: 104px;
  left: 17px;
  background: #fff;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #611c7b;
  width: 100px !important;
  height: 100px !important;
}
#f18 span {
  margin-top: 35px !important;
}

#f19 {
  bottom: 256px;
  left: -57px;
  background: #fff;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #611c7b;
  width: 100px !important;
  height: 100px !important;
}
#f19 span {
  margin-top: 35px !important;
}

#f19x {
  bottom: -2px;
  left: 125px;
  background: #fff;
  z-index: 999;
  background: #ffba00;
  color: #fff;
  text-shadow: 1px 1px 3px #611c7b;
  width: 100px !important;
  height: 100px !important;
}
#f19x span {
  margin-top: 35px !important;
}

#f19a {
  bottom: -50px;
  left: 260px;
  background: #fff;
  z-index: 999;
  background: #fff;
  color: #000000;
  width: 100px !important;
  height: 100px !important;
}
#f19a span {
  margin-top: 35px !important;
}

#diroper {
  font-weight: 600;
  left: 230px;
  z-index: 999;
  text-align: center;
  position: absolute;
  bottom: 170px;
  font-size: 0.9em;
}

#diradmin {
  font-size: 0.9em;
  z-index: 999;
  font-weight: 600;
  left: 147px;
  text-align: center;
  transform: rotate(-60deg);
  position: absolute;
  bottom: 322px;
}

#dircomer {
  font-size: 0.9em;
  z-index: 999;
  font-weight: 600;
  right: 147px;
  text-align: center;
  transform: rotate(60deg);
  position: absolute;
  bottom: 322px;
}

#contenidome {
  font-size: 1.2em !important;
}

.topclientes li div {
  display: inline-block;
  margin-bottom: 4px;
  vertical-align: middle;
}
.topclientes li div p {
  margin: 0 0 -5px;
  padding: 0;
  line-height: 110%;
}
.topclientes li div small {
  text-transform: capitalize;
}
.topclientes li div:first-child {
  padding: 4px 10px;
}
.topclientes li div:last-child {
  width: 85%;
}

.titulotop {
  font-size: 0.9em;
  margin-bottom: 10px;
}

#contetabla {
  /* Just common table stuff. Really. */
}
#contetabla thead th {
  position: sticky;
  top: -1px;
  z-index: 1;
  background: #c3c3c3 !important;
}
#contetabla table {
  border-collapse: collapse;
  width: 100%;
}
#contetabla th, #contetabla td {
  padding: 8px 16px;
}

.formresp {
  display: none;
}

#prospectacion {
  display: none;
}

#fecha_visita {
  display: none;
}

#venta {
  display: none;
}

#acuerdos {
  display: none;
}

#registroventa {
  display: none;
}

#diascredito {
  display: none;
}

#cobranza {
  display: none;
}

#programacionpago {
  display: none;
}

#razonseguimiento {
  display: none;
}

#entregaproducto {
  display: none;
}

#atencionreclamacion {
  display: none;
}

#desarrollo {
  display: none;
}

#platicacapacitacion {
  display: none;
}

#promotor {
  display: none;
}

.colaboradord {
  position: relative;
}

#enviar_informacion {
  display: none;
}

.noregistro {
  text-align: center;
  display: block;
  width: 115px;
  height: 98px;
  border: 1px solid #efefef;
  border-radius: 5px;
  padding: 18px 10px 11px;
}
.noregistro b {
  font-size: 2em;
  line-height: 100%;
}

.tablarepor {
  font-size: 0.8em;
}

#cont_tarjeta {
  display: none;
}

#cont_transferencia {
  display: none;
}

.color_solicitud {
  background: #f1f1f1;
  border: 1px solid #ddd;
  padding: 10px 20px;
  border-radius: 6px;
}

#titulo_solicitud {
  text-transform: uppercase;
  padding: 20px 0;
}

#solicitudgg p {
  margin: 0;
}
#solicitudgg h6 {
  margin: 0;
}

#otra_fechapago {
  display: none;
}

.fondo_sol {
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px 20px;
  border-radius: 6px;
}

#conXML, #sinXML {
  display: none;
}

#nueva_fecha {
  display: none;
}

.nombrev {
  font-size: 1em;
}

.listavends {
  border-bottom: 1px dashed #efefef;
  padding: 6px 0;
}

#botonem {
  font-size: 0.9em !important;
}

.titulo-dash {
  font-size: 0.9em !important;
  font-weight: 700 !important;
  color: #3e3e3e;
  margin-bottom: 20px;
}

.cantidadvn_dash {
  font-size: 1.3em;
  color: #000 !important;
  margin: 5px 0 10px 20px;
  font-weight: 700;
  text-align: right;
}

.cantidadmeta_dsh {
  margin: 5px 0 5px 20px;
  color: #646464;
}

.cantidadmeta_dsh_agr {
  margin: 9px 0 5px 20px;
  color: #646464;
  font-size: 0.9em;
}

.dashedds {
  border-top: 1px dashed #cfcfcf;
  padding: 10px 0 0 0;
}

.dashedds_ag {
  border-top: 1px dashed #cfcfcf;
  padding: 18px 0 0 0;
  text-align: right;
}

.tituloemp {
  background: #00abff;
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 34px;
  padding: 6px 0 1px;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
}

.cantidadvn_dashag {
  font-size: 1em;
  color: #000 !important;
  margin: 5px 0 16px 20px;
  font-weight: 700;
  text-align: right;
}

.titulosempagr {
  background: #ebebeb;
  border: 1px solid #d7d7d7;
  display: block;
  padding: 5px 0 0px;
  border-radius: 32px;
  text-align: center;
  margin: 0 0 8px 0;
}

#listavends {
  padding: 0;
  margin: 0;
  list-style: none;
}

#tablavends {
  font-size: 0.9em;
}

.cantidad_grp {
  margin: 10px 0 8px;
  font-weight: 700;
  font-size: 1.1em;
}

.cdcifrasp {
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.titulocantsp {
  font-weight: 300;
  font-size: 1em;
}

#canttotal {
  background: #087bc1;
}

#cantdesc {
  background: #469acd;
}

#cantvn {
  background: #09afa1;
}

.boton-trans {
  border: 1px solid #007eff;
  padding: 4px 0px;
  border-radius: 5px;
  text-align: center;
  margin: 1px 0;
  display: inline-block;
  width: 45px;
}

#supclinu {
  border-bottom: 1px dashed #c9c9c9;
}

#respuesta_cliente, #respuesta_producto_1, #respuesta_producto_2, #respuesta_producto_3, #respuesta_producto_4, #respuesta_producto_5 {
  position: absolute;
  top: 70px;
  background: #fff;
  padding: 10px;
  display: none;
  width: 100%;
  z-index: 9;
}
#respuesta_cliente li, #respuesta_producto_1 li, #respuesta_producto_2 li, #respuesta_producto_3 li, #respuesta_producto_4 li, #respuesta_producto_5 li {
  padding: 4px 0;
  cursor: pointer;
}

.cont_resp {
  position: relative;
}

#mp2, #mp3, #mp4, #mp5, #mp6, #mp7, #mp8, #mp9, #mp10, #mp11, #mp12, #mp13, #mp14, #mp15, #mp16, #mp17, #mp18, #mp19, #mp20 {
  display: none;
}

#cerrar_bus, #cerrar_bus_prod_1, #cerrar_bus_prod_2, #cerrar_bus_prod_3, #cerrar_bus_prod_4, #cerrar_bus_prod_5, #cerrar_bus_cliente, #cerrar_bus_prod_6, #cerrar_bus_prod_7, #cerrar_bus_prod_8, #cerrar_bus_prod_9, #cerrar_bus_prod_10, #cerrar_bus_prod_11, #cerrar_bus_prod_12, #cerrar_bus_prod_13, #cerrar_bus_prod_14, #cerrar_bus_prod_15, #cerrar_bus_prod_16, #cerrar_bus_prod_17, #cerrar_bus_prod_18, #cerrar_bus_prod_19, #cerrar_bus_prod_20 {
  display: none;
  position: absolute;
  top: 35px;
  right: 17px;
  z-index: 9;
}

.cerrarpp {
  display: none;
  position: absolute;
  top: 3px;
  right: 17px;
  z-index: 9;
}

#rp1, #rp2, #rp3, #rp4, #rp5 {
  position: absolute;
  top: 37px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #8f8f8f;
  height: 300px;
  overflow-y: scroll;
  padding: 10px;
  display: none;
  width: 100%;
  z-index: 9;
}
#rp1 li, #rp2 li, #rp3 li, #rp4 li, #rp5 li {
  padding: 4px 6px;
  cursor: pointer;
  border-bottom: 1px solid #efefef;
}
#rp1 li:hover, #rp2 li:hover, #rp3 li:hover, #rp4 li:hover, #rp5 li:hover {
  background: #8f8f8f;
}

#respuesta_cliente, #respuesta_producto_1, #respuesta_producto_2, #respuesta_producto_3, #respuesta_producto_4, #respuesta_producto_5, #respuesta_producto_6, #respuesta_producto_7, #respuesta_producto_8, #respuesta_producto_9, #respuesta_producto_10, #respuesta_producto_11, #respuesta_producto_12, #respuesta_producto_13, #respuesta_producto_14, #respuesta_producto_15, #respuesta_producto_16, #respuesta_producto_17, #respuesta_producto_18, #respuesta_producto_19, #respuesta_producto_20 {
  position: absolute;
  bottom: 0;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #8f8f8f;
  height: 300px;
  overflow-y: scroll;
  padding: 10px;
  display: none;
  width: 100%;
  z-index: 9;
}
#respuesta_cliente li, #respuesta_producto_1 li, #respuesta_producto_2 li, #respuesta_producto_3 li, #respuesta_producto_4 li, #respuesta_producto_5 li, #respuesta_producto_6 li, #respuesta_producto_7 li, #respuesta_producto_8 li, #respuesta_producto_9 li, #respuesta_producto_10 li, #respuesta_producto_11 li, #respuesta_producto_12 li, #respuesta_producto_13 li, #respuesta_producto_14 li, #respuesta_producto_15 li, #respuesta_producto_16 li, #respuesta_producto_17 li, #respuesta_producto_18 li, #respuesta_producto_19 li, #respuesta_producto_20 li {
  padding: 4px 6px;
  cursor: pointer;
  border-bottom: 1px solid #efefef;
}
#respuesta_cliente li:hover, #respuesta_producto_1 li:hover, #respuesta_producto_2 li:hover, #respuesta_producto_3 li:hover, #respuesta_producto_4 li:hover, #respuesta_producto_5 li:hover, #respuesta_producto_6 li:hover, #respuesta_producto_7 li:hover, #respuesta_producto_8 li:hover, #respuesta_producto_9 li:hover, #respuesta_producto_10 li:hover, #respuesta_producto_11 li:hover, #respuesta_producto_12 li:hover, #respuesta_producto_13 li:hover, #respuesta_producto_14 li:hover, #respuesta_producto_15 li:hover, #respuesta_producto_16 li:hover, #respuesta_producto_17 li:hover, #respuesta_producto_18 li:hover, #respuesta_producto_19 li:hover, #respuesta_producto_20 li:hover {
  background: #8f8f8f;
}

#mis_tickets {
  background: #0ca438;
}

#directoriof {
  background: #e42235;
}

#mis_estrategicos {
  background: #59c62c;
}

#mis-vacaciones {
  background: #14562f;
}

.tarjeta {
  background-image: url("../img/fondo-cumple.png");
  background-size: cover;
  background-position: center;
  color: white;
  /* Ajustar el color del texto según el fondo */
}

#pfisica, #pmoral {
  display: none;
}

/* ==================== ESTILOS PARA COMENTARIOS DE TAREAS ==================== */
.comentarios-container {
  margin-top: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #e9ecef;
}

.comentarios-lista {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 15px;
  padding-right: 5px;
}

.comentarios-lista::-webkit-scrollbar {
  width: 6px;
}

.comentarios-lista::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.comentarios-lista::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.comentarios-lista::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.comentario-item {
  background: white;
  border-radius: 12px;
  padding: 12px 15px;
  margin-bottom: 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  position: relative;
}

.comentario-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
}

.comentario-item:last-child {
  margin-bottom: 0;
}

.comentario-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comentario-autor {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.comentario-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #007bff;
}

.comentario-nombre {
  font-weight: 600;
  color: #495057;
  font-size: 14px;
}

.comentario-fecha {
  font-size: 11px;
  color: #6c757d;
  margin-left: auto;
}

.comentario-modificado {
  font-size: 10px;
  color: #6c757d;
  font-style: italic;
}

.comentario-contenido {
  color: #212529;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
  padding-left: 40px;
}

.comentario-acciones {
  display: flex;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.comentario-item:hover .comentario-acciones {
  opacity: 1;
}

.btn-comentario {
  padding: 4px 8px;
  font-size: 12px;
  border: none;
  background: none;
  color: #6c757d;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-comentario:hover {
  background-color: #f8f9fa;
  color: #495057;
}

.btn-comentario.btn-editar:hover {
  color: #007bff;
}

.btn-comentario.btn-eliminar:hover {
  color: #dc3545;
}

.comentario-form {
  border-top: 1px solid #e9ecef;
  padding-top: 15px;
}

.comentario-form textarea {
  resize: vertical;
  min-height: 60px;
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 10px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comentario-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

.comentario-form .btn {
  min-width: 80px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.comentario-form .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.comentario-form .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.comentario-form .btn-primary:active {
  transform: translateY(0);
}

.comentario-editar-form {
  padding-left: 40px;
  margin-top: 10px;
}

.comentario-editar-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 60px;
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 10px;
  font-size: 14px;
  margin-bottom: 8px;
}

.comentario-editar-form .btn-group {
  display: flex;
  gap: 8px;
}

.comentarios-vacio {
  text-align: center;
  padding: 30px 20px;
  color: #6c757d;
}

.comentarios-vacio i {
  font-size: 36px;
  color: #dee2e6;
  margin-bottom: 10px;
}

.comentarios-vacio p {
  margin: 0;
  font-size: 14px;
}

/* Animación para nuevos comentarios */
@keyframes slideInComment {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.comentario-item.nuevo {
  animation: slideInComment 0.3s ease;
}

/* Estados de carga */
.comentario-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #6c757d;
}

.comentario-loading i {
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .comentario-contenido {
    padding-left: 0;
    margin-top: 8px;
  }

  .comentario-autor {
    flex-wrap: wrap;
  }

  .comentario-acciones {
    opacity: 1;
  }

  .comentarios-container {
    padding: 10px;
  }

  .comentario-form .d-flex {
    flex-direction: column;
  }

  .comentario-form .btn {
    width: 100%;
  }
}

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