/* ============================================================
   NOMAD WALL — COMMENTS MODULE (VERSIÓN ELEGANTE Y DISCRETA)
   ============================================================ */

/* Contenedor general (estado cerrado) */
.nf-comments-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px;
    margin-top: 8px;
    display: none;          /* ← corregido: sin !important */
    overflow: hidden;       /* ← necesario para animación */
}

/* Estado abierto */
.nf-comments-wrapper.open {
    display: block;
    height: auto !important;
    overflow: visible;
}

/* Lista de comentarios */
.nf-comments-list {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 8px;
}

/* Scroll */
.nf-comments-list::-webkit-scrollbar {
    width: 5px;
}

.nf-comments-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

/* Cada comentario */
.nf-comment {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Avatar */
.nf-comment-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cuerpo */
.nf-comment-body {
    flex: 1;
}

/* Nombre */
.nf-comment-author {
    font-weight: 600;
    font-size: 12px;
    color: #fff;
    margin-bottom: 1px;
}

/* Texto */
.nf-comment-text {
    font-size: 12px;
    color: #ccc;
    line-height: 1.25;
    margin-bottom: 2px;
}

/* Fecha */
.nf-comment-date {
    font-size: 10px;
    opacity: 0.5;
}

/* Formulario */
.nf-comment-form {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

/* Input */
.nf-comment-input {
    flex: 1;
    padding: 5px 8px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 12px;
}

.nf-comment-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* Botón enviar — versión minimalista */
.nf-send-comment {
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.nf-send-comment:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Botón Comments — elegante, pequeño y sin azul */
.nf-toggle-comments {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 6px;
    transition: 0.2s;
}

.nf-toggle-comments:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
