/*.container-fluid{
    width: 80%;
}*/


.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}
li.first .disabled  > a{
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

ul.pagination > li > a{
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

ul.pagination > li.active > span{
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    
    
    border: 1px solid #dee2e6;
    background-color: #605daf;
    border-color: #605daf;
    color: #ffffff;
}
ul.pagination > li >span{
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
li.cardinality {
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

ul.pagination > li.cardinality > span {
    position: relative;
    display: inline;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.mt-button{
    margin-top:2.2rem !important;
}

.tr-primary{
    background-color: #ddebfe;
}

tr.tr-success > td {
  background-color: #d2f9ee; /* verde tipo success */
  color: black;            /* texto verde oscuro */
}

tr.tr-warning > td {
  background-color: #fdf2cf; /* verde tipo success */
  color: black;            /* texto verde oscuro */
}

.table-info,td.table-info, .table-info > td{
    background-color: #cef3f8;
}

.table-warning,td.table-warning, .table-warning > td{
    background-color: #fdf2cf;
}

.table-success, td.table-success, .table-success > td{
    background-color: #d2f9ee;
}

.table-danger, .table-danger > td{
    background-color: #faddda;
}


:root {
    --c-bg: #f9fafb;           /* Fondo general */
    --c-card: #ffffff;          /* Fondo del comentario */
    --c-text: #333333;          /* Texto principal */
    --c-muted: #777777;         /* Texto secundario */
    --c-accent: #00C48C;        /* Verde institucional */
    --c-border: #e0e0e0;        /* Bordes suaves */
    --radius: 12px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: "Inter", "Segoe UI", sans-serif;
  }
  
  .comment {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: start;
    gap: 12px;
    padding: 16px 18px;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--c-text);
    max-width: 720px;
  }
  
  .comment__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  
  .comment__body {
    min-width: 0;
  }
  #comentarios-container {
    max-height: 400px;         /* 🔹 Altura máxima visible */
    overflow-y: auto;           /* 🔹 Scroll vertical */
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  }
  .comment__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .comment__author {
    font-weight: 600;
    color: var(--c-text);
  }
  
  .comment__dot {
    color: var(--c-muted);
  }
  
  .comment__time {
    color: var(--c-muted);
    font-size: 0.85rem;
  }
  
  .comment__text {
    margin: 0;
    line-height: 1.5;
    color: var(--c-text);
    font-size: 0.95rem;
  
    /* 🔹 Ajuste automático del texto */
    /*white-space: pre-wrap;*/       /* respeta saltos de línea */
    overflow-wrap: break-word;   /* rompe palabras largas */
    word-wrap: break-word;       /* compatibilidad con navegadores viejos */
    word-break: break-word;      /* evita que texto largo desborde */
  }
  
  .comment__menu {
    border: none;
    background: transparent;
    color: var(--c-muted);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    border-radius: 50%;
    padding: 4px 8px;
  }
  
  .comment__menu:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--c-accent);
  }