:root {
    /* --- Paleta de Colores Base --- */
    --primary-color: #E91E63;           /* Color principal (enlaces, botones, elementos activos) */
    --primary-hover: #d81b60;           /* Color principal al pasar el cursor (hover) */
    --primary-light: rgba(233, 30, 99, 0.06); /* Fondo claro con opacidad del color principal */
    --primary-light-hover: rgba(233, 30, 99, 0.12);
    
    --secondary-color: #64748b;         /* Color secundario (etiquetas, bordes, iconos inactivos) */
    --secondary-hover: #334155;         /* Color secundario en hover */
    --secondary-light: rgba(108, 117, 125, 0.08);
    --secondary-light-hover: rgba(108, 117, 125, 0.15);

    --info-color: #0DCAEA;              /* Color de info/usuarios navegando (azul cian) */
    --info-light: rgba(13, 202, 234, 0.12); /* Fondo claro del color de info */
    
    /* --- Colores de Texto --- */
    --text-main: #495057;               /* Texto del cuerpo general */
    --text-dark: #1e293b;               /* Títulos, encabezados y texto destacado */
    --text-muted: #64748b;              /* Previsualizaciones, fechas y metadatos secundarios */
    
    /* --- Colores de Fondo y Bordes --- */
    --bg-card: #ffffff;                 /* Fondo de tarjetas y contenedores */
    --bg-body: #F3F4F6;                 /* Fondo general del cuerpo de la web */
    --border-color: rgba(0, 0, 0, 0.08);/* Bordes generales y separadores */
    --border-light: #dee2e6;            /* Borde secundario de Bootstrap */
}

body{
    margin: 0;
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-main);
    text-align: left;
    background-color: var(--bg-body);
}


    .mt-100{margin-top:100px}
    .card{
        border-width: 0px;
        margin: 5px;
      /*  padding: 4px;*/
        background: #ffffff;
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
        
    .card-header:first-child{
        border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0
    }
    
 
    
    .btn-primary{
        color: #fff;
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }
        
        
    .btn{
        font-size: 0.8rem;
        font-weight: 500;
        outline: none !important;
        position: relative;
        transition: color 0.15s,background-color 0.15s,border-color 0.15s,box-shadow 0.15s
    }
    
    .card-body{
        flex: 1 1 auto;
        padding: 1.25rem;
        /*padding: 0;*/
        border: none;
      /*  border-top: 0px;*/
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    
    

    .message-content {
        padding: 1.25rem;
    }

    /* Tamaño por defecto del texto del foro (mensajes, reglas y editor) */
    .message-content, 
    .message-content p, 
    .ql-editor, 
    .ql-editor p, 
    .card-text, 
    .card-text p {
        font-size: 1rem !important;
    }

    /* Solución de espacios dobles en Quill (eliminar margin de <p>) */
    .message-content p, 
    .ql-editor p, 
    .card-text p,
    .signature-content p {
        margin-bottom: 0;
    }

    /* Estilos globales para tamaños de texto de Quill (small, large, huge) en posts y reglas */
    .ql-size-small {
        font-size: 0.75em !important;
    }
    .ql-size-large {
        font-size: 1.5em !important;
    }
    .ql-size-huge {
        font-size: 2.5em !important;
    }

    .signature-content {
        margin-left: 14px;
        font-size: 12px;
    }

    .card-body p{
        font-size: 1.125rem;
    }

    .card-footer {
        border-top: 0px;
        background: none;
    }
    a{
        color: #E91E63;text-decoration: none !important;
        background-color: transparent
    }
        
    .media img {
        width: 100px;
        height: 100px;
        float: left;
        margin-right: 7px;
        padding: 5px;
        border: 1px solid #ddd;
        background: #fff;
    }



    .avatar-placeholder-post {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 60px;
        height: 61px;
        border-radius: 23%;
        background-color: purple;
        font-size: 18px;
        color: white;
        float: left;
        margin-right: 7px;
        padding: 5px;
        border: 1px solid #ddd;
    }

.delete-form {
    display: inline;
    margin: 0; 
    padding: 0; 
}


ul.avatars{
    display: flex;
    padding: 0;
    list-style: none;
    > li{
      &:not(:last-child){
        margin-right:1/4;
      }
    }
  }
  


.border-header {
    border: 0px !important;
    border-bottom: 1px solid var(--info-color) !important;
    border-style: groove !important;
    border-image: linear-gradient(to right, var(--info-color), #FFFFFF) 1 !important;
}


.background-header {
    background: none !important;
}

.border-body {
    border-left: 4px solid #3498db;
    margin-bottom: 20px;
    padding: 15px
}



button.delete-button {
    border: none;
    color: #E91E63;
    text-decoration: none !important;
    background-color: transparent;
}

.user-count-forum{
    color: var(--info-color);
    margin-left:5px;
}



.user-suspended {
    text-decoration: line-through !important;
    color: red;
}


.icon-sm {
    width: 15px;
}

.icon-md {
    width: 25px !important;
}


.text-pink {
    color:  #ef435bcc
}

.text-orange {
    color: #fd6b00;
}

/* Estilos base de los avatares */
.avatar {
    width: 50px;
    height: 50px;
    padding: 2px;
    border: 1px solid #ddd;
    background: #fff;
    transition: transform 0.3s ease;
    position: relative; 
}

.width-200 {
    width: 200px;
    height: 200px;
}

.width-150 {
    width: 150px;
    height: 150px;
}

.width-100 {
    width: 100px;
    height: 100px;
}

.width-50 {
    width: 50px;
    height: 50px;
}

.avatar:hover {
    transform: scale(1.4);
    z-index: 2; 
}


.avatar-list {
    display: flex; 
    position: relative; 
    margin-right: -20px; 
}

.avatars {
    direction: ltr; 
    padding-left: 25px;
  }


  .post-avatar img{
    float: left;
}


/* ===================================================
   Topic List Style
   =================================================== */

.topic-list {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

[data-bs-theme="dark"] .topic-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-item:hover {
    background-color: rgba(63, 106, 216, 0.015);
}

/* Checkbox moderación */
.topic-item-check {
    flex-shrink: 0;
}

/* Avatar del autor */
.topic-item-avatar {
    flex-shrink: 0;
}

.topic-item-avatar .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Contenido central */
.topic-item-content {
    flex: 1;
    min-width: 0;
}

.topic-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
    min-width: 0;
    flex-wrap: nowrap;
    width: 100%;
}

.topic-item-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    line-height: 1.35;
    transition: color 0.15s ease;
    display: block;

    /* Truncado con tres puntos */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0;
}

.topic-item-title:hover {
    color: var(--primary-color) !important;
}

/* Tags */
.topic-tag {
    font-size: 0.65rem !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 0.25em 0.6em;
    border-radius: 4px;
    background: var(--secondary-light);
    color: var(--secondary-color);
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease;
}

.topic-tag:hover {
    background: var(--secondary-light-hover);
    color: var(--secondary-hover);
}

.topic-tag-info {
    background: var(--info-light);
    color: var(--info-color);
}

.topic-tag-forum {
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.65rem !important;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    padding: 0.25em 0.6em;
    border-radius: 4px;
    letter-spacing: 0.3px;
    border: 1px solid var(--primary-light-hover);
}

.topic-tag-forum:hover {
    background: var(--primary-light-hover);
    color: var(--primary-hover);
}

/* Preview */
.topic-item-preview {
    margin-bottom: 0.25rem;
}

.topic-item-preview a {
    font-size: 0.85rem;
    color: #5c7080 !important;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

[data-bs-theme="dark"] .topic-item-preview a {
    color: var(--text-muted) !important;
}

.forum-description {
    color: #5c7080 !important;
}

[data-bs-theme="dark"] .forum-description {
    color: var(--text-muted) !important;
}

.topic-item-preview a:hover {
    color: var(--text-main) !important;
}

/* Meta (última resp + paginación) */
.topic-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.topic-item-meta a {
    color: var(--text-muted);
    text-decoration: none !important;
    font-weight: 500;
}

.topic-item-meta a:hover {
    color: var(--primary-color);
}

.topic-item-pages {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.topic-page-link {
    display: inline-block;
    padding: 0.1em 0.4em;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted) !important;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

.topic-page-link:hover {
    background: var(--primary-light-hover);
    color: var(--primary-color) !important;
}

.topic-item-counters-mobile {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Columna derecha â€” metadata */
.topic-item-right {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-shrink: 0;
}

.topic-item-author {
    min-width: 70px;
    text-align: right;
}

.topic-item-author a,
.topic-item-author span {
    font-size: 0.8rem;
    color: var(--text-main);
    text-decoration: none !important;
    font-weight: 600;
}

.topic-item-author a:hover {
    color: var(--primary-color);
}

.topic-item-time {
    font-size: 0.75rem;
    color: #94a3b8;
    min-width: 55px;
    text-align: center;
    white-space: nowrap;
}

.topic-item-forum {
    min-width: 75px;
    text-align: center;
}

.topic-item-counters {
    display: flex;
    gap: 0.7rem;
    font-size: 0.82rem;
    color: #64748b;
    min-width: 75px;
    justify-content: flex-end;
}

.topic-item-counters i {
    font-size: 0.8rem;
}

/* Avatares apilados */
.topic-item-avatars {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    min-width: 55px;
    justify-content: flex-end;
}

.avatar-stack-item {
    margin-left: -8px;
    transition: transform 0.2s ease, z-index 0.2s ease;
}

.avatar-stack-item:first-child {
    margin-left: 0;
}

.avatar-stack-item img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.avatar-stack-item:hover {
    transform: translateY(-3px) scale(1.1);
    z-index: 10;
}

/* Responsive */
@media (max-width: 767.98px) {
    .topic-item {
        padding: 0.9rem 0.25rem;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .topic-item-title {
        font-size: 0.88rem;
    }

    .topic-item-avatar .avatar {
        width: 36px;
        height: 36px;
    }

    .topic-item-mobile-footer .avatar {
        width: 20px !important;
        height: 20px !important;
        padding: 0 !important;
        border: none !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .topic-item-mobile-footer .status-dot {
        display: none !important;
    }

    .topic-item-mobile-footer .forum-inline-label {
        font-size: 0.65rem;
    }
}

/* ===================================================
   Pagination Custom Style Style
   =================================================== */
.pagination {
    display: flex;
    gap: 0.35rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.pagination .page-item {
    margin: 0;
    list-style: none;
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    color: var(--primary-color);
    background-color: var(--primary-light);
    border-color: var(--primary-light-hover);
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    color: #ffffff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.disabled .page-link {
    color: var(--text-muted);
    background-color: var(--bg-body);
    border-color: var(--border-color);
    box-shadow: none;
    transform: none;
}

/* ===================================================
   Post â€” Modern Thread Style
   =================================================== */

/* --- Post container --- */
.post-card {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.25s ease;
    animation: postFadeIn 0.4s ease both;
}

.post-card:last-child {
    border-bottom: none;
}

.post-card:hover,
.post-card:focus-within {
    background-color: rgba(233, 30, 99, 0.008);
    z-index: 10;
}

/* OP (first post) gradient accent */
.post-card--op {
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.02) 0%, transparent 30%);
    border-left: 2px solid rgba(233, 30, 99, 0.4);
}

.post-card--op:hover {
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.04) 0%, rgba(233, 30, 99, 0.01) 30%);
}

/* Thread connector line between posts */
.post-card::after {
    content: '';
    position: absolute;
    left: 2.2rem;
    bottom: -1px;
    width: 2px;
    height: 1.25rem;
    background: linear-gradient(to bottom, var(--border-light), transparent);
    z-index: 1;
}

.post-card:last-child::after {
    display: none;
}

.post-card--op::after {
    left: calc(2.2rem + 3px);
}

@keyframes postFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation */
.post-card:nth-child(2) { animation-delay: 0.06s; }
.post-card:nth-child(3) { animation-delay: 0.12s; }
.post-card:nth-child(4) { animation-delay: 0.18s; }
.post-card:nth-child(5) { animation-delay: 0.24s; }

/* --- Post header --- */
.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem 0.6rem;
    background: transparent;
    border-bottom: none;
    gap: 0.5rem;
    min-height: auto;
}

.post-header .avatar-container {
    flex-shrink: 0;
}

.post-header .avatar {
    width: 42px !important;
    height: 42px !important;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.post-header .avatar:hover {
    transform: scale(1.12);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* --- User info --- */
.post-user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-width: 0;
}

.post-user-info .fs-6 {
    font-weight: 700;
    font-size: 0.92rem !important;
    color: var(--text-dark);
    transition: color 0.15s ease;
}

.post-user-info .fs-6:hover {
    color: var(--primary-color);
}

/* --- Role badge (colored pill) --- */
.post-role-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2em 0.65em;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary-color);
    line-height: 1.4;
    white-space: nowrap;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.post-role-badge.fst-italic {
    background: var(--secondary-light);
    color: var(--secondary-color);
    border-color: transparent;
    font-style: italic;
}

/* --- Post meta (right side) --- */
.post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.post-meta small {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.post-meta a.post-number {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-decoration: none !important;
    font-weight: 700;
    opacity: 0.5;
    transition: all 0.2s ease;
    padding: 0.15em 0.45em;
    border-radius: 4px;
}

.post-meta a.post-number:hover {
    color: var(--primary-color);
    opacity: 1;
    background: var(--primary-light);
}

/* --- Post body --- */
.post-body {
    padding: 0.5rem 1rem 0.75rem;
    border: none;
    border-radius: 0;
}

.post-card .post-body {
    border: none;
    border-radius: 0;
}

/* --- Post signature --- */
.post-card .post-signature {
    position: relative;
    margin: 1.5rem 0 0;
    padding: 0.75rem 0 0;
    opacity: 0.5;
    font-size: 0.78rem;
    max-height: 100px;
    overflow: auto;
    transition: opacity 0.3s ease;
    border-top: 1px dashed var(--border-color);
}

.post-card .post-signature::before {
    display: none;
}

.post-card .post-signature:hover {
    opacity: 0.8;
}

/* --- Post actions (pill buttons) --- */
.post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.15rem 1rem 0;
    border-top: none;
    background: transparent;
}

.post-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    white-space: nowrap;
}

.post-action-btn:hover {
    color: var(--primary-color);
    background: var(--primary-light);
    transform: scale(1.04);
}

.post-action-btn:active {
    transform: scale(0.97);
}

.post-action-btn i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.post-action-btn:hover i {
    transform: scale(1.1);
}

.post-action-btn.dropdown-toggle::after {
    display: none !important;
}

/* Dropdown override */
.post-actions .dropdown-menu {
    font-size: 0.82rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* --- User Info Popover (glassmorphism) --- */
.post-user-popover-trigger {
    position: relative;
    cursor: pointer;
}

.post-user-popover {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 1060;
    min-width: 210px;
    padding: 0.85rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px) scale(0.97);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.post-user-popover-trigger:hover .post-user-popover,
.post-user-popover-trigger:focus-within .post-user-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.post-user-popover-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.82rem;
    color: var(--text-main);
}

.post-user-popover-stat:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.post-user-popover-stat .label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-weight: 500;
}

.post-user-popover-stat .value {
    font-weight: 700;
    font-size: 0.85rem;
}

[data-bs-theme="dark"] .post-user-popover {
    background: #212529;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .post-user-popover-stat:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .post-user-popover-stat .label {
    color: var(--bs-gray-400);
}

[data-bs-theme="dark"] .post-user-popover-stat .value,
[data-bs-theme="dark"] .post-user-popover-stat .value.text-dark {
    color: var(--bs-gray-100) !important;
}

/* --- Trashed / blocked banners --- */
.post-card .post-trashed-banner {
    text-align: center;
    padding: 0.65rem 1rem;
    color: #842029;
    background: rgba(220, 53, 69, 0.06);
    border-radius: 8px;
    margin: 0 1rem 0.5rem;
    font-size: 0.85rem;
}

.post-card .post-blocked-banner {
    text-align: center;
    padding: 0.65rem 1rem;
    color: var(--text-muted);
    background: var(--bg-body);
    border-radius: 8px;
    margin: 0 1rem 0.5rem;
    font-size: 0.85rem;
}

/* --- Improved Blockquotes --- */
blockquote, .ql-editor blockquote {
    border-left: none !important;
    max-height: 410px;
    padding: 0.85rem 1.15rem;
    overflow: auto;
    border-radius: 8px !important;
    background-color: var(--primary-light) !important;
    margin: 0.85rem 0;
    box-shadow: none;
}

blockquote a, .ql-editor blockquote a {
    color: #ef435b;
    font-weight: 600;
    text-decoration: none;
}
blockquote a:hover, .ql-editor blockquote a:hover {
    text-decoration: underline;
    color: #d12a41;
}

/* Merge consecutive blockquotes generated by Quill so they look like a single box */
blockquote + blockquote, .ql-editor blockquote + blockquote {
    margin-top: 0 !important;
    padding-top: 0.2rem !important;
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-top: none !important;
    background-color: var(--primary-light);
}

blockquote:has(+ blockquote), .ql-editor blockquote:has(+ blockquote) {
    margin-bottom: 0 !important;
    padding-bottom: 0.2rem !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Break the merge if the next blockquote is a NEW quote (starts with the bolded author name) */
blockquote + blockquote:has(> strong:first-child), .ql-editor blockquote + blockquote:has(> strong:first-child) {
    margin-top: 1rem !important;
    padding-top: 0.85rem !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

blockquote:has(+ blockquote > strong:first-child), .ql-editor blockquote:has(+ blockquote > strong:first-child) {
    margin-bottom: 1rem !important;
    padding-bottom: 0.85rem !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

blockquote cite {
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding-bottom: 0.4rem;
    margin: 0 0 0.65rem 0;
    font-size: 0.78rem;
    color: var(--primary-color);
    opacity: 0.8;
}

/* --- Post alert --- */
.post-card .post-alert {
    margin: 0 1rem 0.75rem;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    font-size: 0.82rem;
    border: 1px solid transparent;
}

.post-card .post-alert-danger {
    background: rgba(220, 53, 69, 0.04);
    border-color: rgba(220, 53, 69, 0.1);
}

.post-card .post-alert-warning {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.2);
}

/* --- Custom Emoticons --- */
.forum-emoticon {
    max-height: 32px;
    width: auto;
    vertical-align: middle;
}

img[class^="forum-"]:not(.forum-emoticon), 
img[class*=" forum-"]:not(.forum-emoticon) {
    max-height: 250px;
    width: auto;
    border-radius: 6px;
    margin: 4px;
    vertical-align: middle;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 767.98px) {
    img[class^="forum-"]:not(.forum-emoticon), 
    img[class*=" forum-"]:not(.forum-emoticon) {
        max-height: 150px; /* Much smaller on mobile */
    }
}

/* --- Blockquotes Dark Mode --- */
[data-bs-theme="dark"] blockquote,
[data-bs-theme="dark"] .ql-editor blockquote {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] blockquote a,
[data-bs-theme="dark"] .ql-editor blockquote a {
    color: #ff6b8b;
}
[data-bs-theme="dark"] blockquote a:hover,
[data-bs-theme="dark"] .ql-editor blockquote a:hover {
    color: #ff8ca5;
}

[data-bs-theme="dark"] blockquote + blockquote,
[data-bs-theme="dark"] .ql-editor blockquote + blockquote {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* --- Quick reply section --- */
.quick-reply-section {
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: 0.5rem;
}

.quick-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ===================================================
   Post â€” Responsive
   =================================================== */
@media (max-width: 767.98px) {
    .page-header-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .post-card {
        padding: 1rem 0;
    }

    .post-card::after {
        left: 1.6rem;
    }

    .post-card--op::after {
        left: calc(1.6rem + 3px);
    }

    .post-header {
        padding: 0 0.5rem 0.4rem;
        gap: 0.3rem;
        flex-wrap: wrap;
    }

    .post-header .avatar {
        width: 34px !important;
        height: 34px !important;
    }

    .post-user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
    }

    .post-user-info .fs-6 {
        font-size: 0.82rem !important;
        line-height: 1.1;
    }

    .post-role-badge {
        font-size: 0.55rem;
        padding: 0.15em 0.5em;
    }

    .post-meta .badge {
        font-size: 0.55rem !important;
    }

    .post-body {
        padding: 0.4rem 0.5rem 0.5rem;
    }

    .message-content {
        padding: 0;
    }

    .message-content, 
    .message-content p, 
    .ql-editor, 
    .ql-editor p, 
    .card-text, 
    .card-text p {
        font-size: 1rem !important;
    }

    .post-actions {
        padding: 0 0.5rem;
        flex-wrap: wrap;
        gap: 0.1rem;
    }

    .post-action-btn {
        padding: 0.25rem 0.35rem;
        font-size: 0.7rem;
    }

    .post-action-btn i {
        font-size: 1.05rem;
    }

    .post-user-popover {
        display: none !important;
    }

    .quick-reply-section {
        border-radius: 10px;
        padding: 0.85rem;
    }
}

/* ===================================================
   Profile Page — Modern User Profile
   =================================================== */

/* --- Hero Banner --- */
.profile-hero {
    background: linear-gradient(135deg, #1e2a3a 0%, #2c3e55 50%, #1e2a3a 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: postFadeIn 0.4s ease both;
}

.profile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(13, 202, 234, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(233, 30, 99, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.profile-hero > * {
    position: relative;
    z-index: 1;
}

/* Avatar in hero */
.profile-hero-avatar {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-hero-avatar:hover {
    transform: scale(1.05);
}

.profile-hero-avatar .avatar {
    width: 140px !important;
    height: 140px !important;
    border: 4px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 2px var(--primary-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.profile-hero-avatar:hover .avatar {
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 3px var(--primary-color);
    transform: none;
}

.profile-hero-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.3px;
}

.profile-hero-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.profile-hero-role {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25em 0.75em;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid rgba(233, 30, 99, 0.2);
}

/* Online status in hero */
.profile-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3em 0.85em;
    border-radius: 20px;
}

.profile-status-badge--online {
    background: rgba(25, 135, 84, 0.15);
    color: #4ade80;
}

.profile-status-badge--offline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
}

/* --- Stats pills in hero --- */
.profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.profile-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none !important;
    backdrop-filter: blur(4px);
}

.profile-stat-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.15);
}

.profile-stat-pill strong {
    color: #fff;
    font-weight: 700;
}

.profile-stat-pill i {
    font-size: 0.85rem;
}

.profile-stat-pill .text-cyan {
    color: var(--info-color);
}

.profile-stat-pill .text-pink {
    color: var(--primary-color);
}

/* --- Action buttons row in hero --- */
.profile-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-hero-actions .btn {
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.45rem 1rem;
    backdrop-filter: blur(4px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-hero-actions .btn:hover {
    transform: translateY(-1px);
}

.profile-hero-actions .btn-hero-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.profile-hero-actions .btn-hero-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.35);
}

.profile-hero-actions .btn-hero-outline {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
}

.profile-hero-actions .btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.profile-hero-actions .btn-hero-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #f87171;
}

.profile-hero-actions .btn-hero-danger:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.35);
}

.profile-hero-actions .btn-hero-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #fbbf24;
}

.profile-hero-actions .btn-hero-warning:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.35);
}

.profile-hero-actions .btn-hero-success {
    background: rgba(25, 135, 84, 0.12);
    border: 1px solid rgba(25, 135, 84, 0.2);
    color: #4ade80;
}

.profile-hero-actions .btn-hero-success:hover {
    background: rgba(25, 135, 84, 0.22);
    border-color: rgba(25, 135, 84, 0.35);
}

/* --- Profile content cards (sidebar info/social) --- */
.profile-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s ease;
    animation: postFadeIn 0.4s ease both;
}

.profile-sidebar-card:nth-child(2) {
    animation-delay: 0.08s;
}

.profile-sidebar-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.profile-sidebar-card .card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 1.15rem;
}

.profile-sidebar-card .card-header h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-dark);
    margin: 0;
}

.profile-sidebar-card .card-header h5 i {
    font-size: 0.9rem;
}

.profile-sidebar-card .card-body {
    padding: 0;
    border: none;
    border-radius: 0;
}

/* Info list items */
.profile-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.15rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s ease;
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-info-item:hover {
    background-color: var(--primary-light);
}

.profile-info-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.profile-info-label i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.profile-info-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: right;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-info-value a {
    font-weight: 700;
    text-decoration: none !important;
}

.profile-info-value .text-empty {
    color: var(--text-muted);
    font-weight: 400;
    font-style: italic;
}

/* --- Main content area (activity, about me, reputation) --- */
.profile-content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    animation: postFadeIn 0.4s ease both;
}

.profile-content-card .card-header {
    background: transparent;
    padding: 0.85rem 1.15rem;
    border-bottom: none;
    border-image: linear-gradient(to right, var(--info-color), transparent) 1;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.profile-content-card .card-header h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.profile-content-card .card-body {
    padding: 1rem 1.15rem;
    border: none;
    border-radius: 0;
}

/* Activity rows */
.profile-activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.profile-activity-item:last-child {
    border-bottom: none;
}

.profile-activity-item:hover {
    background-color: var(--primary-light);
    transform: translateX(3px);
}

.profile-activity-item .avatar {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
}

.profile-activity-item .activity-content {
    flex: 1;
    min-width: 0;
}

.profile-activity-item .activity-content .fw-bold {
    font-size: 0.88rem;
    line-height: 1.4;
}

.profile-activity-item .activity-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* --- Profile — Responsive --- */
@media (max-width: 991.98px) {
    .profile-hero {
        padding: 2rem 1.25rem 1.5rem;
        border-radius: 12px;
    }

    .profile-hero-avatar .avatar {
        width: 100px !important;
        height: 100px !important;
    }

    .profile-hero-name {
        font-size: 1.35rem;
    }

    .profile-stats {
        gap: 0.35rem;
    }

    .profile-stat-pill {
        font-size: 0.72rem;
        padding: 0.35rem 0.65rem;
    }
}

@media (max-width: 767.98px) {
    .profile-hero {
        padding: 1.5rem 1rem 1.25rem;
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .profile-hero-avatar .avatar {
        width: 80px !important;
        height: 80px !important;
    }

    .profile-hero-name {
        font-size: 1.15rem;
    }

    .profile-hero-actions .btn {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }

    .profile-hero-actions .btn span {
        display: none;
    }

    .profile-sidebar-card,
    .profile-content-card {
        border-radius: 8px;
    }

    .profile-info-item {
        padding: 0.65rem 0.85rem;
    }

    .profile-activity-item {
        padding: 0.6rem 0.25rem;
    }
}

/* ========================================
   FORUM TAGS — Dot + Label style
   ======================================== */
.forum-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    padding: 0.1rem 0.4rem 0.1rem 0.3rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    white-space: nowrap;
    background: transparent;
    border: none;
    cursor: default;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.forum-tag__prefix {
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

/* Default — hover resalta el # y rellena fondo */
.forum-tag--default {
    color: var(--text-muted);
    cursor: pointer;
}

.forum-tag--default:hover {
    color: var(--primary-color);
    background-color: var(--primary-light);
    text-decoration: none;
}

.forum-tag--default:hover .forum-tag__prefix {
    opacity: 1;
}

/* Special tags: solid chip, square-ish radius, icon + colored text */
.forum-tag--info,
.forum-tag--warning,
.forum-tag--danger,
.forum-tag--deleted {
    border-radius: 6px;
    border: none;
    font-weight: 700;
    gap: 0.25rem;
}

.forum-tag--info i,
.forum-tag--warning i,
.forum-tag--danger i,
.forum-tag--deleted i {
    font-size: 0.65rem;
}

/* Info — resubido (cyan) */
.forum-tag--info {
    color: #0891b2;
    background-color: rgba(8, 145, 178, 0.12);
}

.forum-tag--info:hover {
    background-color: rgba(8, 145, 178, 0.2);
}

/* Warning — modcp-pendiente (amber) */
.forum-tag--warning {
    color: #b45309;
    background-color: rgba(217, 119, 6, 0.12);
}

.forum-tag--warning:hover {
    background-color: rgba(217, 119, 6, 0.2);
}

/* Danger — reporte-activo (red) */
.forum-tag--danger {
    color: #be123c;
    background-color: rgba(190, 18, 60, 0.12);
}

.forum-tag--danger:hover {
    background-color: rgba(190, 18, 60, 0.2);
}

/* Deleted */
.forum-tag--deleted {
    color: #dc2626;
    background-color: rgba(220, 38, 38, 0.12);
}

.forum-tag--deleted:hover {
    background-color: rgba(220, 38, 38, 0.2);
}

/* Dark mode — colores más claros para mejor legibilidad */
[data-bs-theme=dark] .forum-tag--default {
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.25);
}

[data-bs-theme=dark] .forum-tag--default:hover {
    color: var(--primary-color);
    background-color: var(--primary-light);
    border-color: rgba(233, 30, 99, 0.3);
}

[data-bs-theme=dark] .forum-tag--info {
    color: #22d3ee;
    background-color: rgba(34, 211, 238, 0.1);
}

[data-bs-theme=dark] .forum-tag--info:hover {
    background-color: rgba(34, 211, 238, 0.18);
}

[data-bs-theme=dark] .forum-tag--warning {
    color: #fbbf24;
    background-color: rgba(251, 191, 36, 0.1);
}

[data-bs-theme=dark] .forum-tag--warning:hover {
    background-color: rgba(251, 191, 36, 0.18);
}

[data-bs-theme=dark] .forum-tag--danger {
    color: #fb7185;
    background-color: rgba(251, 113, 133, 0.1);
}

[data-bs-theme=dark] .forum-tag--danger:hover {
    background-color: rgba(251, 113, 133, 0.18);
}

[data-bs-theme=dark] .forum-tag--deleted {
    color: #f87171;
    background-color: rgba(248, 113, 113, 0.1);
}



[data-bs-theme=dark] .forum-tag--deleted:hover {
    background-color: rgba(248, 113, 113, 0.18);
}

/* ========================================
   FORUM INLINE LABEL — Editorial style
   ======================================== */
.forum-inline-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-style: italic;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #5A9FB0;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.forum-inline-label:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.forum-inline-sep {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.4;
}

[data-bs-theme=dark] .forum-inline-label {
    color: #7db9c8;
}

[data-bs-theme=dark] .forum-inline-label:hover {
    color: var(--primary-color);
}





/* Formularios Crear Tema y Respuesta */
.create-topic-container {
    background-color: transparent;
    padding: 1rem 0;
    margin-top: 1rem;
}
.title-input {
    font-weight: 700;
    border: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-radius: 0 !important;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    color: #1e293b;
    background-color: transparent !important;
}
.title-input.topic-title {
    font-size: 2rem;
    font-weight: 800;
}
.title-input.reply-title {
    font-size: 1.5rem;
}
@media (max-width: 768px) {
    .title-input.topic-title {
        font-size: 1.25rem;
    }
    .title-input.reply-title {
        font-size: 1.15rem;
    }
    .create-topic-container .h4 {
        font-size: 1.25rem;
    }
}
.title-input::placeholder {
    color: #cbd5e1;
}
.title-input:focus {
    outline: none;
    box-shadow: none;
    border-bottom-color: var(--primary-color, #0dcaf0);
    background-color: transparent;
}

.tag-checkbox:checked + label {
    background-color: var(--primary-light, rgba(13, 202, 240, 0.1)) !important;
    color: var(--primary-color, #0dcaf0) !important;
    border-color: var(--primary-color, #0dcaf0) !important;
    font-weight: 600;
    box-shadow: none;
}
.create-topic-container .ql-toolbar.ql-snow {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: 1px solid #e2e8f0;
    background-color: #f1f5f9;
    padding: 10px;
}
.create-topic-container .ql-container.ql-snow {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 1px solid #e2e8f0;
    border-top: none;
    background-color: #ffffff;
    font-size: 1.05rem;
    font-family: inherit;
}
.create-topic-container .topic-editor .ql-editor {
    min-height: 350px;
    padding: 1.5rem;
}
.create-topic-container .reply-editor .ql-editor {
    min-height: 300px;
    padding: 1.5rem;
}
[data-bs-theme="dark"] .title-input {
    color: #f8fafc !important;
    border-bottom-color: #334155 !important;
}
[data-bs-theme="dark"] .title-input:focus {
    border-bottom-color: var(--primary-color, #0dcaf0) !important;
}
[data-bs-theme="dark"] .create-topic-container .ql-toolbar.ql-snow {
    background-color: #0f172a;
    border-color: #334155;
}
[data-bs-theme="dark"] .create-topic-container .ql-container.ql-snow {
    border-color: #334155;
}

.message-content blockquote + blockquote {
    margin-top: -1rem;
    border-top: 0;
}

/* --- Custom Emoticon Tooltip --- */
.custom-emoticon-tooltip {
    opacity: 1 !important;
    pointer-events: none !important;
}
.custom-emoticon-tooltip .tooltip-inner {
    max-width: 400px !important;
    text-align: left !important;
    padding: 15px !important;
    font-size: 0.85rem !important;
    background-color: rgba(30, 35, 42, 0.9) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    pointer-events: none !important;
}
.custom-emoticon-tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: rgba(30, 35, 42, 0.9) !important;
}
.custom-emoticon-tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: rgba(30, 35, 42, 0.9) !important;
}

.custom-emoticon-tooltip .emoticono-titulo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0dcaf0;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4px;
}
