.comments {
    display: flex;
    flex-direction: column;

    max-height: 30vh;
    width: 100%;

    padding: 10px;

    overflow-y: overlay;

    border-radius: 12px;

    color: var(--text-color);
    background-color: var(--background-color-primary);

    transition: all 150ms ease-in-out;

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span {
        color: var(--text-color);
    }

    &.hidden {
        height: 0px;
        padding: 0px;
    }

    gap: 10px;

    .comment {
        position: relative;
        display: flex;
        flex-direction: column;

        background-color: var(--background-color-accent);

        padding: 10px;

        border-radius: 8px;

        .header {
            display: flex;
            flex-direction: row;
            align-items: center;

            margin-bottom: 15px;

            .avatar {
                width: 30px;
                height: 30px;
                border-radius: 50%;
                margin-right: 10px;
            }

            .username {
                font-size: 14px;
                font-weight: 600;
                color: var(--text-color);
            }

            .timeAgo {
                font-size: 12px;
                color: rgb(var(--bg_color_4));
                margin-left: 10px;
            }
        }

        .content {
            font-size: 14px;
            color: var(--text-color);
            margin-left: 20px;

            word-break: break-all;
            white-space: pre-wrap;
        }

        .deleteBtn {
            position: absolute;

            top: 0;
            right: 0;

            margin: 10px;

            svg {
                font-size: 0.8rem;
            }
        }
    }
}