/* ===== ESTILOS GENERALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
}
/* ===== HEADER (LOGO IZQ | HAMBURGUESA DER | BOTÓN EXTREMO DER) ===== */
header {
    background-color: #2C3E50;
    padding: 2px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
box-sizing: border-box;
}

/* Logo (extremo izquierdo) */
.logo {
    color: #1b6fb3;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: auto; /* Empuja todo lo demás a la derecha */
}

/* Contenedor para hamburguesa + botón (derecha) */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2em;
}

.notification-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ddd;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    display: none;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 10px;
    text-align: center;
    line-height: 15px;
    display: none;
}







/* Menú hamburguesa (derecha, antes del botón) */
.hamburger-menu {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s;
}

.hamburger-menu.is-active {
    transform: rotate(90deg);
}

/* Botón "CREAR VOX" (extremo derecho) */
.vox-button {
   background: #256587;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.7rem 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.vox-button:hover {
background: #256587;
}


/* ===== SIDEBAR (AJUSTADO PARA APARECER DESDE LA DERECHA) ===== */
.sidebar {
    position: fixed;
    top: 0;
    right: -290px; /* Oculto inicialmente a la derecha */
    width: 250px;
    height: 100%;
    background-color: #34495e;
    padding: 70px 20px 20px;
    transition: all 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2); /* Sombra en el lado izquierdo */
}

.sidebar.active {
    right: 0; /* Se muestra desde la derecha */
}

.sidebar a {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 4px;
    transition: all 0.3s;
}

.sidebar a:hover {
    background-color: #3d566e;
    color: #fff;
}


  @media (max-width: 768px)
.reply-references {
  display: block !important;
  visibility: visible !important;
  border-radius: 4px !important;

}
}


@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        position: relative;
    }
    
    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .categories-dropdown {
        margin-right: 0;
        order: 1; /* Primera posición */
    }
    
    .categories-btn span {
        display: none; /* Oculta el texto "Categorías" */
    }
    
    .notification-icon {
        order: 2; /* Segunda posición */
        margin-right: 0;
    }
    
    .hamburger-menu {
        order: 3; /* Tercera posición */
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 0;
        color: white;
    }
    
    .vox-button {
        display: none; /* Ocultamos el botón normal */
    }
    
    .floating-vox-button {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #3498db;
        color: white;
        border: none;
        font-size: 24px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
/* ===== MAIN CONTENT (GRID DE POSTS) ===== */
main {
    padding-top: 1px; /* Altura del header */
    min-height: calc(100vh - 70px);
    width: 100%;
    transition: margin-right 0.3s; /* Cambiado de margin-left a margin-right */
}






/* Añade esto en la sección de media query para móvil */
@media (max-width: 768px) {
    .posts-grid-container {
        margin-top: 0; /* Elimina cualquier margen superior */
        padding-top: 0; /* Elimina cualquier padding superior */
    }
    
    /* Si el grid está dentro de main, también podemos ajustar main */
    main {
        padding-top: 0;
        margin-top: 0;
box-sizing: border-box;
margin-top: -34px;
    }
    
    /* Asegúrate que el header no esté generando espacio extra */
    header {
        position: relative; /* Cambia de fixed/absolute si es necesario */
        height: auto;
    }
}






.sidebar.active + main {
    margin-right: 250px; /* Ajuste para el sidebar derecho */
}

/* Grid de posts (100% ancho, sin márgenes laterales) */
.posts-grid-container {
    width: 100%;
    padding: 0;
}


/* Estilos de cada post */

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    color: white;
}









.post-card-category {
    font-size: 1rem;
}










.post-card-title {
    font-size: 1rem;
    font-weight: bold;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .vox-button {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }

}





        /* Estilos para vista individual */
        .post-container {
        display: flex;
            gap: 0px;
            margin-top: 20px;
            max-width: 100%;
            margin: 0 auto;
        }
        
        .post-content {
height: 900px;        
    flex: 3;
            background: #1E2C38;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        order: 1; /* Asegura que el post vaya primero */     
max-width: 55%;   
}


/* REEMPLAZA TODO ESTO: */
.post-card.has-new-comments::after {

    box-shadow: inset 0 0 0 10px rgba(255, 215, 0, 0.7);
}


.post-card.glowing {
    /* DEJA SOLO: */

}

@keyframes soft-pulse {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 215, 0, 0); }
    50% { box-shadow: inset 0 0 0 10px rgba(255, 215, 0, 0.7); }
}

/* CON ESTO (versión optimizada para 1s): */


/* Elimina cualquier keyframe previo y reemplaza con: */
@keyframes quick-highlight {
  0% { box-shadow: inset 0 0 0 0 rgba(255,215,0,0); }
  50% { box-shadow: inset 0 0 0 10px rgba(255,215,0,0.7); }
  100% { box-shadow: inset 0 0 0 0 rgba(255,215,0,0); }
}

.post-card.has-new-comments::after {
  animation: quick-highlight 1s ease-out;
  animation-fill-mode: none; /* Esto evita que se quede en el último estado */
}

        /* Estilos para notificaciones */
        .notification-icon {
            position: relative;
            display: inline-block;
            margin-right: 20px;
            cursor: pointer;
        }
        
        #notification-badge {
            display: none;
            position: absolute;
            top: -5px;
            right: -5px;
            background: #ff4500;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 12px;
            text-align: center;
            line-height: 18px;
        }
        
        #notification-dropdown {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            background: white;
            border: 1px solid #ddd;
            width: 320px;
            max-height: 500px;
            overflow-y: auto;
            z-index: 1000;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
            border-radius: 6px;
        }
        
        .notification-item {
            padding: 12px;
            border-bottom: 1px solid #eee;
            transition: background 0.2s;
        }
        
        .notification-item.unread {
            background: #f8faff;
        }
        
        .notification-item:hover {
            background: #f0f0f0;
        }
        
        .notification-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .mark-read-btn {
            background: #f0f0f0;
            border: none;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 13px;
        }

.country-flag {
    display: inline-block;
    width: 16px;
    height: 12px;
    background-size: cover;
    vertical-align: middle;
    margin-left: 5px;
margin-top: -29px;
}

        
.comments-section {
    margin-top: 15px;
    background: #22313F; /* CAMBIA ESTO */
    border-radius: 8px;
    padding: 15px;
}

/* Estilo para móviles */
@media (max-width: 768px) {
    .comments-section {
        margin-top: 10px;
        padding: 12px;
        border-radius: 0;
        background: #243646; /* CAMBIA ESTO TAMBIÉN */
        box-shadow: none;
    }
}








@media (max-width: 768px) {




    .post-container {
        flex-direction: column;
gap: 0px;
    }
    
    .comments-section {
        order: 2; /* Asegura que los comentarios vayan después */
        width: 100%;
        margin-top: 20px;
        position: relative; /* Vuelve al flujo normal */
        top: auto !important;
        padding: 15px;
        border-radius: 8px;
    }
    
    .post-content {
        order: 1; /* Asegura que el post vaya primero */
  max-width: 100%;
}
    }

}




.op-badge {
        color: white
       ;
        font-weight: bold;
        margin-right: 5px;
        background: #095586;
        padding: 2px 5px;
        border-radius: 3px;
        font-size: 0.8em;
        display: inline-block;
    }
        /* Estilos para las etiquetas de categoría */
        .category-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: #1b6fb3;
            color: white;
            padding: 3px 6px;
            border-radius: 3px;
            font-size: 0.7rem;
            font-weight: bold;
            text-transform: uppercase;
            z-index: 20;
        }
        
        

.post-setup-user-bar {
margin: 5px 0px;
padding: 8px;
display: flex;
  background-color: #243646;        
}





/* En la vista individual */
        .post-category-tag {
margin: 0px 0px;
padding: 13px;
 background-color: #243646; 
display: flex;
color: white;
        }
        

/* Contenedor padre para ambos badges */
.post-card-badges {
    position: absolute;
    top: -700%;
    left: 0px;
    display: flex;
    gap: 5px;
    z-index: 20;
    flex-wrap: wrap; /* Permite que bajen si no hay espacio */
}

.post-card-category {
font-family: 'Arial', sans-serif;
    position: absolute;
    left: 10px;
    background-color: #1b6fb3;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    text-transform: uppercase;
    z-index: 20;
    white-space: nowrap;
}

.new-badge {
    position: absolute;
    background-color: #4CAF50;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 21;
    white-space: nowrap;
    left: 50px;
}

@media (max-width: 768px) {
    .post-card-category, .new-badge {
        top: 61px;
        font-size: 0.7rem;
        padding: 2px 4px;
    }
    .new-badge {
    }
}

@media (max-width: 768px) {
 .post-card-badges {
  bottom: 10%;
   }
}

        /* Estilos para tags y menciones */
        .clickable-tag {
            cursor: pointer;
            color: white;
            font-weight: noral;
            transition: all 0.2s ease;
        }
        
           
 .clickable-tag:hover {
            text-decoration: underline;
            color: white;
        }   
           .clickable-tag:hover {
text-decoration: none;

            color: white;
        }



/* Para evitar que se active en elementos interactivos */
.comment .comment-mention:hover,
.comment .clickable-tag:hover,
.comment button:hover {
    background: inherit !important;
    transform: none !important;
}        
        .comment-mention {
            color: #4396c5;
            text-decoration: none;
            font-weight: ;
        }
        
        .comment-mention:hover {
text-decoration: none;
        }
        
        .reply-references {
            font-size: 0.8em;
            color: #22313F;
            margin-left: 10px;
        }
        
        .reply-tag {
            color: #22313F;
            text-decoration: none;
            font-weight: bold;
            margin: 0 2px;
        }
        
        .reply-tag:hover {
            text-decoration: underline;
        }
        
        /* Tooltip para las menciones */
        .comment-tooltip {
            position: absolute;
            background: white;
            border: 1px solid #ddd;
            padding: 10px;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 100;
            max-width: 300px;
            word-wrap: break-word;
            display: none;
        }
        
        /* Resaltado de comentarios */
        .comment-highlight {
            animation: highlight-fade 2s;
        }
        
        @keyframes highlight-fade {
            0% { background-color: #ffffcc; }
            100% { background-color: white; }
        }
        
        /* Vista previa de menciones */
        #mention-preview {
            margin: 5px 0;
            padding: 5px;
            border-radius: 4px;
            display: none;
            font-size: 0.9em;
            color: #555;
        }
        
        /* Estilos para grid de posts al estilo Voxed */
        body {
            background-color: #22313F;
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
        }
        
        .posts-grid-container {
            margin: 0px auto;
            padding: 0px;
        }
        @media (max-width: 768px) {

        .posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 0px;
        }
        










.post-card {
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    aspect-ratio: 1/1;
    position: relative;
    transform: scale(1);
    /* Eliminamos márgenes y sombras externas */
}

/* Marco interior SIN afectar el layout */
.post-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    box-shadow: inset 0 0 0 10px rgba(0,0,0,0.15);
    pointer-events: none;
    z-index: 2;
    transition: box-shadow 0.1s ease; /* Añade transición suave */
}

@keyframes pulse-glow {
    0% { box-shadow: inset 0 0 0 10px rgba(255, 215, 0, 0.7); }
    100% { box-shadow: inset 0 0 0 10px rgba(255, 215, 0, 0.9); }
}
.post-card:hover {
    transform: scale(1.03); /* Efecto de aumento mantenido */
    position: relative;
 transform: scale(1.12); /* Un poco más de crecimiento */
    position: relative;    
    z-index: 9999; /* Esto es lo que hace sobresalir hacia adelante */
    box-shadow: 0 15px 30px rgba(0,0,0,0.4); /* Sombra exterior para más>
}
 
.post-card:hover::after {    
    box-shadow: none;
}

/* Contenedor de imagen ajustado */
.post-card-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Imagen dentro del contenedor */
.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: center center; /* Asegura que el centro de la imagen sea visible */
font-size: 0 !important;
}
/* Elimina espacios entre grid items */
.posts-grid {
    gap: 0 !important; /* Elimina cualquier espacio entre posts */
}








.post-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 1/1; /* Mantenemos relación cuadrada para el grid */
}


        .post-card .post-card-image-container .post-card-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 8px;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: white;
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            z-index: 10;
            transition: none !important;
        }
        










        .post-card-title {
            position: absolute;
            bottom: 17px;
            left: 10px;
            right: 10px;
            color: white;
            font-size: 1.5rem;   
            z-index: 10;
        }        
        
        .post-card-excerpt {
            font-size: 0.75rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* Estilos para el dropdown de categorías */
        .categories-dropdown {
            position: relative;
            display: inline-block;
            margin-right: 40px;
        }

        .categories-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: none;
            color: #256587;
            padding: 8px 15px;
            font-size: 16px;
            cursor: pointer;
        }

        .categories-icon {
            width: 15px;
            height: 15px;
            filter: brightness(0) saturate(100%) invert(34%) sepia(15%) saturate(1763%) hue-rotate(169deg) brightness(91%) contrast(86%);
        }
        
.categories-content {
    display: none;
    position: absolute;
    background-color: #243646; /* Cambiado para coincidir con tu diseño */
    min-width: 200px; /* Ancho mínimo */
    max-height: 400px; /* Altura máxima para scroll */
    overflow-y: auto; /* Scroll vertical */
    overflow-x: hidden; /* Sin scroll horizontal */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    top: 100%; /* Posicionado debajo del botón */
    left: 0;
    margin-top: 5px;
}

/* Scrollbar personalizada */
.categories-content::-webkit-scrollbar {
    width: 8px; /* Ancho del scrollbar */
}

.categories-content::-webkit-scrollbar-track {
    background: #1a2b3a; /* Color del track */
    border-radius: 4px;
}

.categories-content::-webkit-scrollbar-thumb {
    background: #3498db; /* Color del thumb */
    border-radius: 4px;
}

.categories-content::-webkit-scrollbar-thumb:hover {
    background: #2980b9; /* Color al hover */
}

/* Estilos para los enlaces dentro del dropdown */
.categories-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid #2c3e50;
    transition: background-color 0.3s;
}

.categories-content a:hover {
    background-color: #3498db;
    color: white;
}

/* Mostrar el dropdown al hacer hover */
.categories-dropdown:hover .categories-content {
    display: block;
}


        








@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        position: relative;
}
    
    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .categories-dropdown {
        margin-right: 0;
        order: 1; /* Primera posición */
    }
    
    .categories-btn span {
        display: none; /* Oculta el texto "Categorías" */
    }
    
    .notification-icon {
        order: 2; /* Segunda posición */
        margin-right: 0;
    }
    
    .hamburger-menu {
        order: 3; /* Tercera posición */
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 0;
        color: white;
    }
    
    .vox-button {
        display: none; /* Ocultamos el botón normal */
    }
    
    .floating-vox-button {
        display: block;
        position: fixed;
        bottom: 60px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #3498db;
        color: white;
        border: none;
        font-size: 24px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}





/* Responsive */
        @media (max-width: 768px) {
            .posts-grid {
                grid-template-columns: repeat(auto-fill, minmax(181px, 1fr));
                gap: 0px;
            }
            
            .comments-section {
                padding: 11px;
                border-radius: 8px;
        order: 2; /* Asegura que los comentarios vayan después */            
}
   
            .post-card-title {
                font-size: 1.5rem;
            }
            
            .post-card-excerpt {
                font-size: 0.7rem;
                -webkit-line-clamp: 1;
            }

            .categories-dropdown {
                margin-right: 5px;
            }

            .categories-btn {
                padding: 6px 10px;
                font-size: 14px;
            }
            
            .comment-tooltip {
                max-width: 200px;
                font-size: 0.8rem;
            }
            
            .reply-references {
                display: block;
                margin-left: 0;
                margin-top: -31px;
            }
        }
   

/* Estilo greentext mejorado - Añade esto en tu sección CSS */
.greentext, 
.post-content .greentext, 
.comments-list .greentext {
    color: #789922 !important;
    font-weight: normal;
}



.unique-id {
    color: #ff0000;
    font-weight: bold;
    background: rgba(255,0,0,0.1);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    margin-right: 5px;
    border: 1px dashed rgba(255,0,0,0.3);
    font-size: 14px;
   margin-top: -29px;
}






/* Estilos para los avatares */
.unselect {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.avatarContainer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    margin-right: 8px;
    overflow: hidden;
    position: relative;
}

.avatarColor {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

.avatarImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatarColor.blue {
    background-color: #3498db;
}

.avatarColor.green {
    background-color: #2ecc71;
}

.avatarColor.yellow {
    background-color: #f1c40f;
}

.avatarColor.red {
    background-color: #e74c3c;
}

.avatarColor.multicolor {
    background: linear-gradient(#fdcd3b 25%, #136699 25%, #136699 50%, #3d9932 50%, #3d9932 75%, #ca2b00 75%, #ca2b00 100%);
    background-size: 100% 400%;
    animation: gradientScroll 3s infinite linear;
}

@keyframes gradientScroll {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}


















/* Estilos para el formulario de comentarios */
.comment-form {
    margin-bottom: 20px;
}

/* Estilos para los botones de acción */
.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-buttons button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s;
}

.action-buttons button:hover {
    background: #f0f0f0;
}

/* Estilos para los embeds de YouTube */
.youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Responsive para móviles */
@media (max-width: 768px) {
    .comment-form .action-buttons {
        gap: 5px;
    }
    
    .youtube-embed iframe {
        max-width: 100%;
    }
    
    #youtube-link-container {
        flex-direction: column;
        gap: 5px;
    }
    
    #insert-youtube-btn {
        margin-left: 0;
    }
}
 




















/* Asegúrate que estos estilos estén en tu CSS global */
.youtube-embed-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-embed-container iframe {
    width: 100%;
    height: 315px;
    border: none;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .youtube-embed-container iframe {
        height: 200px;
    }
}

#comments-for-guests {
    margin-top: 20px;
}













/* Contenedor de la miniatura */
.video-thumbnail-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Imagen de la miniatura */
.youtube-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Efecto hover */
.post-card:hover .youtube-thumbnail {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Icono de play */

.post-card:hover .youtube-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}





















/* Estilos para el layout del post */
.post-layout {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.post-image-side {
    flex: 0 0 300px; /* Ancho fijo para la imagen */
    max-width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.post-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 4px;
}

.post-content-side {
    flex: 1;
    min-width: 0; /* Evita problemas de desbordamiento */
}

/* Estilos para el embed de YouTube */
.youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 8px;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .post-layout {
        flex-direction: column;
    }
    
    .post-image-side {
        flex: 1 1 auto;
    }
    
    .post-image {
        max-height: none;
    }
}


 .iutub-icon {
top: 10px;  
      height: 100%;
width: 100%:
position: absolute;

    
}
}

.video-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.video-container video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
















/* ESTILOS PARA TAGS PEQUEÑOS COMO 4CHAN */
.reply-references {
    display: block !important;
    visibility: visible !important;
    border-radius: 4px !important;
    border-left: 4px solid white; !important;
}

.small-comment-tag {
    display: inline-block !important;
    visibility: visible !important;
    margin: 3px 6px 3px 0 !important;
    padding: 4px 8px !important;
    color: #4396c5 !important;
    font-size: 11px !important;
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.small-comment-tag:hover {
    background: #d0e8e8 !important;
    text-decoration: underline !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}




























        /* Estilos para vista individual */
        .post-container {
        display: flex;
            gap: 0px;
            margin-top: 20px;
            max-width: 100%;
            margin: 0 auto;
        }
        
        .post-content {
            flex: 3;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        order: 1; /* Asegura que el post vaya primero */        
}


/* REEMPLAZA TODO ESTO: */
.post-card.has-new-comments::after {

    box-shadow: inset 0 0 0 10px rgba(255, 215, 0, 0.7);
}


.post-card.glowing {
    /* DEJA SOLO: */

}

@keyframes soft-pulse {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 215, 0, 0); }
    50% { box-shadow: inset 0 0 0 10px rgba(255, 215, 0, 0.7); }
}

/* CON ESTO (versión optimizada para 1s): */


/* Elimina cualquier keyframe previo y reemplaza con: */
@keyframes quick-highlight {
  0% { box-shadow: inset 0 0 0 0 rgba(255,215,0,0); }
  50% { box-shadow: inset 0 0 0 10px rgba(255,215,0,0.7); }
  100% { box-shadow: inset 0 0 0 0 rgba(255,215,0,0); }
}

.post-card.has-new-comments::after {
  animation: quick-highlight 1s ease-out;
  animation-fill-mode: none; /* Esto evita que se quede en el último estado */
}

        /* Estilos para notificaciones */
        .notification-icon {
            position: relative;
            display: inline-block;
            margin-right: 20px;
            cursor: pointer;
top: 3px;        
}
        
        #notification-badge {
            display: none;
            position: absolute;
            top: -5px;
            right: -5px;
            background: #ff4500;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 12px;
            text-align: center;
            line-height: 18px;
        }
        
        #notification-dropdown {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            background: white;
            border: 1px solid #ddd;
            width: 320px;
            max-height: 500px;
            overflow-y: auto;
            z-index: 1000;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
            border-radius: 6px;
        }
        
        .notification-item {
            padding: 12px;
            border-bottom: 1px solid #eee;
            transition: background 0.2s;
        }
        
        .notification-item.unread {
            background: #f8faff;
        }
        
        .notification-item:hover {
            background: #f0f0f0;
        }
        
        .notification-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .mark-read-btn {
            background: #f0f0f0;
            border: none;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 13px;
        }

.country-flag {
    display: inline-block;
    width: 16px;
    height: 12px;
    background-size: cover;
    vertical-align: middle;
    margin-left: 5px;
}

        
        .comments-section {
            flex: 2.4;
            background: #213140;
            padding: 15px;
        order: 2; /* Asegura que los comentarios vayan después */    
        border-radius: 8px;
        }
        



.comments-list {

background: #213140; 
 }




@media (max-width: 768px) {




    .post-container {
        flex-direction: column;
        gap: 0px;
max-width: 100%;    
}
    
    .comments-section {
        order: 2; /* Asegura que los comentarios vayan después */
        width: 100%;
        margin-top: 20px;
        position: relative; /* Vuelve al flujo normal */
        top: auto !important;
        padding: 0px;
        background: #1E2C38;
        border-radius: 8px;
    }
    
    .post-content {
        order: 1; /* Asegura que el post vaya primero */
    }
}




.op-badge {
        color: white
       ;
        font-weight: bold;
        margin-right: 5px;
        background: #095586;
        padding: 2px 5px;
        border-radius: 3px;
        font-size: 0.8em;
        display: inline-block;
    }
        /* Estilos para las etiquetas de categoría */
        .category-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: #1b6fb3;
            color: white;
            padding: 3px 6px;
            border-radius: 3px;
            font-size: 0.7rem;
            font-weight: bold;
            text-transform: uppercase;
            z-index: 20;
        }
        
        /* En la vista individual */
        .post-category-tag {
            display: inline-block;
            background-color: #243646;
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: bold;
            text-transform: uppercase;
            margin-bottom: 15px;
        }
        

/* Contenedor padre para ambos badges */
.post-card-badges {
    position: absolute;
    top: -700%;
    left: 0px;
    display: flex;
    gap: 5px;
    z-index: 20;
    flex-wrap: wrap; /* Permite que bajen si no hay espacio */
}

.post-card-category {
font-family: 'Arial', sans-serif;
    position: absolute;
    left: 10px;
    background-color: #1b6fb3;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    text-transform: uppercase;
    z-index: 20;
    white-space: nowrap;
}

.new-badge {
    position: absolute;
    background-color: #4CAF50;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 21;
    white-space: nowrap;
    left: 66px;
}

@media (max-width: 768px) {
    .post-card-category, .new-badge {
        top: 61px;
        font-size: 0.7rem;
        padding: 2px 4px;
    }
    .new-badge {
    }
}



@media (max-width: 768px) {

.posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 0px;
        }
 }






@media (max-width: 768px) {
 .post-card-badges {
  bottom: 10%;
   }
}

        /* Estilos para tags y menciones */
        .clickable-tag {
            cursor: pointer;
            color: white;
            font-weight: normal;
            transition: all 0.2s ease;
        }
        
        
        .comment-mention {
            color: #4396c5;
            text-decoration: none;
        }
        
        .comment-mention:hover {
            text-decoration: underline;
        }
        
        .reply-references {
            font-size: 0.8em;
            color: #666;
            margin-left: 10px;
        }
        
        .reply-tag {
            color: white;
            text-decoration: none;
            font-weight: bold;
            margin: 0 2px;
        }
        
        .reply-tag:hover {
            text-decoration: underline;
        }
        
        /* Tooltip para las menciones */
        .comment-tooltip {
            position: absolute;
            background: white;
            border: 1px solid #ddd;
            padding: 10px;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 100;
            max-width: 300px;
            word-wrap: break-word;
            display: none;
        }
        
        /* Resaltado de comentarios */
        .comment-highlight {
            animation: highlight-fade 2s;
        }
        
        @keyframes highlight-fade {
            0% { background-color: #ffffcc; }
            100% { background-color: white; }
        }
        
        /* Vista previa de menciones */
        #mention-preview {
            margin: 5px 0;
            padding: 5px;
            background: #f5f5f5;
            border-radius: 4px;
            display: none;
            font-size: 0.9em;
            color: #555;
        }
        
        /* Estilos para grid de posts al estilo Voxed */
        body {
            background-color: #2c3e50;
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
        }
        
        .posts-grid-container {
            margin: 0px auto;
            padding: 0px;
        }
        
        .posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(241px, 1fr));
            gap: 0px;
        }
}
        










.post-card {
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.90s ease;
    aspect-ratio: 1/1;
    position: relative;
    transform: scale(1);
    /* Eliminamos márgenes y sombras externas */
}

/* Marco interior SIN afectar el layout */
.post-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    box-shadow: inset 0 0 0 10px rgba(0,0,0,0.15);
    pointer-events: none;
    z-index: 2;
    transition: box-shadow 0.1s ease; /* Añade transición suave */
}

@keyframes pulse-glow {
    0% { box-shadow: inset 0 0 0 10px rgba(255, 215, 0, 0.7); }
    100% { box-shadow: inset 0 0 0 10px rgba(255, 215, 0, 0.9); }
}
.post-card:hover {
    transform: scale(1.03); /* Efecto de aumento mantenido */
    position: relative;
 transform: scale(1.12); /* Un poco más de crecimiento */
    position: relative;
    z-index: 9999; /* Esto es lo que hace sobresalir hacia adelante */
    box-shadow: 0 15px 30px rgba(0,0,0,0.4); /* Sombra exterior para más profundidad */
}

.post-card:hover::after {
    box-shadow: none;
}

/* Contenedor de imagen ajustado */
.post-card-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Imagen dentro del contenedor */
.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: center center; /* Asegura que el centro de la imagen sea visible */
  font-size: 0px;
}
/* Elimina espacios entre grid items */
.posts-grid {
    gap: 0 !important; /* Elimina cualquier espacio entre posts */
}








.post-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 1/1; /* Mantenemos relación cuadrada para el grid */
}


        .post-card .post-card-image-container .post-card-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 8px;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: white;
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            z-index: 10;
            transition: none !important;
        }
        









        .post-card-title {
            position: absolute;
            bottom: 5px;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4), 2px 2px 4px rgba(0, 0, 0, 0.2);
            left: 10px;
            right: 10px;
            color: white;
            font-size: 1.5rem;   
            z-index: 10;
        }        
        
        .post-card-excerpt {
            font-size: 0.75rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* Estilos para el dropdown de categorías */
        .categories-dropdown {
            position: relative;
            display: inline-block;
            margin-right: 0px;
        }

        .categories-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: none;
            color: #fffffff0;
            padding: 8px 15px;
            font-size: 14px;
            cursor: pointer;
        }

        .categories-icon {
            width: 15px;
            height: 15px;
            filter: brightness(0) saturate(100%) invert(34%) sepia(15%) saturate(1763%) hue-rotate(169deg) brightness(91%) contrast(86%);
        }
        
        .categories-content {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 4px;
        }

        .categories-content a {
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }

        .categories-content a:hover {
            background-color: #f1f1f1;
        }

        .categories-dropdown:hover .categories-content {
            display: block;
        }

        .categories-dropdown:hover .categories-btn {
            background-color: #555;
        }



    @media (max-width: 768px) {
    .categories-content {
        max-height: 300px; /* Menor altura en móvil */
        min-width: 180px;
        left: 0;
        right: auto;
    }
    
    .categories-content a {
        padding: 10px 14px;
        font-size: 14px;
    }
}    


/* SOLUCIÓN DE SCROLL PARA CATEGORÍAS - FORZADO */
.categories-content {
    display: none !important;
    position: absolute !important;
    background-color: #243646 !important;
    min-width: 200px !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !important;
    z-index: 1000 !important;
    border-radius: 4px !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 5px !important;
}

.categories-content::-webkit-scrollbar {
    width: 8px !important;
}

.categories-content::-webkit-scrollbar-track {
    background: #1a2b3a !important;
    border-radius: 4px !important;
}

.categories-content::-webkit-scrollbar-thumb {
    background: #3498db !important;
    border-radius: 4px !important;
}

.categories-content::-webkit-scrollbar-thumb:hover {
    background: #2980b9 !important;
}

.categories-content a {
    color: white !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    display: block !important;
    text-align: left !important;
    border-bottom: 1px solid #2c3e50 !important;
    transition: background-color 0.3s !important;
}

.categories-content a:hover {
    background-color: #3498db !important;
    color: white !important;
}

.categories-dropdown:hover .categories-content {
    display: block !important;
}





@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        position: relative;
}
    
    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .categories-dropdown {
        margin-right: 0;
        order: 1; /* Primera posición */
    }
    
    .categories-btn span {
        display: none; /* Oculta el texto "Categorías" */
    }
    
    .notification-icon {
        order: 2; /* Segunda posición */
        margin-right: 0;
    }
    
    .hamburger-menu {
        order: 3; /* Tercera posición */
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 0;
        color: white;
    }
    
    .vox-button {
        display: none; /* Ocultamos el botón normal */
    }
    
    .floating-vox-button {
        display: block;
        position: fixed;
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #3498db;
        color: white;
        border: none;
        font-size: 24px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }



}












/* Responsive */
            
            .comments-section {
                background: #1E2C38;
                padding: 0px;
                border-radius: 8px;
        order: 2; /* Asegura que los comentarios vayan después */            
}
   
            .post-card-title {
                font-size: 1.5rem;
            }
            
            .post-card-excerpt {
                font-size: 0.7rem;
                -webkit-line-clamp: 1;
            }

            .categories-dropdown {
                margin-right: 0px;
            }

            .categories-btn {
                padding: 6px 10px;
                font-size: 14px;
            }
            
            .comment-tooltip {
                max-width: 200px;
                font-size: 0.8rem;
            }
            
            .reply-references {
                display: block;
                margin-left: 0;
                margin-top: -31px;
            }
        }
   

/* Estilo greentext mejorado - Añade esto en tu sección CSS */
.greentext, 
.post-content .greentext, 
.comments-list .greentext {
    color: #789922 !important;
    font-weight: normal;
}



.unique-id {
    color: #ff0000;
    font-weight: bold;
    background: rgba(255,0,0,0.1);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    margin-right: 5px;
    border: 1px dashed rgba(255,0,0,0.3);
    font-size: 14px;
margin-top: -29px;
}






/* Estilos para los avatares */
.unselect {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.avatarContainer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    margin-right: 8px;
    overflow: hidden;
    position: relative;
}

.avatarColor {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

.avatarImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatarColor.blue {
    background-color: #3498db;
}

.avatarColor.green {
    background-color: #2ecc71;
}

.avatarColor.yellow {
    background-color: #f1c40f;
}

.avatarColor.red {
    background-color: #e74c3c;
}

.avatarColor.multicolor {
    background: linear-gradient(#fdcd3b 25%, #136699 25%, #136699 50%, #3d9932 50%, #3d9932 75%, #ca2b00 75%, #ca2b00 100%);
    background-size: 100% 400%;
    animation: gradientScroll 3s infinite linear;
}

@keyframes gradientScroll {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}


















/* Estilos para el formulario de comentarios */
.comment-form {
    margin-bottom: 20px;
}

/* Estilos para los botones de acción */
.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-buttons button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s;
}

.action-buttons button:hover {
    background: #f0f0f0;
}

/* Estilos para los embeds de YouTube */
.youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Responsive para móviles */
@media (max-width: 768px) {
    .comment-form .action-buttons {
        gap: 5px;
    }
    
    .youtube-embed iframe {
        max-width: 100%;
    }
    
    #youtube-link-container {
        flex-direction: column;
        gap: 5px;
    }
    
    #insert-youtube-btn {
        margin-left: 0;
    }
}
 




















/* Asegúrate que estos estilos estén en tu CSS global */
.youtube-embed-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-embed-container iframe {
    width: 100%;
    height: 315px;
    border: none;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .youtube-embed-container iframe {
        height: 200px;
    }
}

#comments-for-guests {
    margin-top: 20px;
}













/* Contenedor de la miniatura */
.video-thumbnail-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Imagen de la miniatura */
.youtube-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Efecto hover */
.post-card:hover .youtube-thumbnail {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Icono de play */
.youtube-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff0000"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 2;
}

.post-card:hover .youtube-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}













.post-actions-row {
            display: flex;
            gap: 10px;
            padding: 10px;
            background: #243646;
            border-radius: 4px;
            margin-bottom: 15px;
        }
        
        .post-action-btn {
            display: flex;
            align-items: center;
            gap: 5px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            padding: 8px 12px;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.2s;
            font-size: 14px;
        }
        
        .post-action-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .post-action-btn svg {
            width: 16px;
            height: 16px;
        }
        
        /* Resto de estilos existentes... */
        .header-gif {
right: 100px;
overflow: hidden;
top: 27px;
widht: 100px;
left: 15px;
position: absolute;
width: 97px;
}
        @media (max-width: 768px) {
  position: fixed;
  left: 1%;
  overflow: hidden;
  z-index: -1;
  width: 32%;
  top: 5px;
}            
            .post-actions-row {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .post-action-btn {
                flex: 1;
                min-width: 80px;
                justify-content: center;
            }
        }






.post-setup-user-bar {
    margin: 5px 0px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #243646;
    width: 100%;
    box-sizing: border-box;
}

/* Estilos para los botones */
.post-setup-user-bar .button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.post-setup-user-bar .action-button {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: transparent;
    border: none;
    color: #c0c0c0;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 14px;
    white-space: nowrap;
}

.post-setup-user-bar .action-button:hover {
    background-color: #2d4254;
    color: #ffffff;
}

.post-setup-user-bar .action-button i {
    font-size: 14px;
}

/* Estilos para el texto a la derecha */
.post-setup-user-bar .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
margin-left: 50%;
}

.post-setup-user-bar .user-name {
    color: #4caf50; /* Verde */
    font-weight: bold;
    white-space: nowrap;
font-size: 13px;
}

.post-setup-user-bar .user-tag {
    background-color: #1b6fb3; /* Azul */
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .post-setup-user-bar {
        flex-direction: column;
        gap: 0px;
        padding: 9px;
    }
    
    .post-setup-user-bar .button-group {
        width: 56%;
gap: 0px;
    }
    
    .post-setup-user-bar .user-info {
        justify-content: center;
        width: 60%;
margin-top: -26px;
margin-left: 32%;
    }
}
/* Efecto hover para comentarios */
.comment {
  transition: background-color 0.2s ease-in-out !important;
    background: #22313F !important;
}

.comment:hover {
    background: #243646 !important;
}

/* Efecto suave para todos los elementos dentro del comentario */
.comment:hover * {
    transition: color 0.3s ease-in-out;
}

/* Para evitar que se active en elementos interactivos */
.comment .clickable-tag:hover,
.comment button:hover {
    background: inherit !important;
    transform: none !important;
}

/* SOLUCIÓN MÍNIMA PARA TEXTO LARGO */
.comment p {
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
}

