.sidebar {
    width: 260px;
    height: calc(100vh - 110px);
    padding: 15px;

    background:
    linear-gradient(
        180deg,
        #35697c 0%,
        #274e5d 100%
    );

    border-right: 1px solid rgba(255,255,255,0.08);

    box-shadow:
    inset -10px 0 20px rgba(0,0,0,0.2);

    overflow: hidden;

    position: sticky;
    top: 110px;
}

/* Titre fixe */

.sidebar-title {
    position: sticky;
    top: 0;

    z-index: 10;

    font-size: 22px;
    font-weight: bold;

    color: white;

    padding-bottom: 15px;
    margin-bottom: 15px;

    text-transform: uppercase;
    letter-spacing: 1px;

    text-align: center;

    background:
    linear-gradient(
        180deg,
        #35697c 0%,
        #2c5869 100%
    );

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Conteneur scroll */

#comments-container {
    display: flex;
    flex-direction: column;

    gap: 15px;

    animation: scrollFeed 25s linear infinite;
}

/* Cartes */

.comment-card {
    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 10px;

    padding: 12px;

    backdrop-filter: blur(4px);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.comment-card:hover {
    transform: translateX(5px);

    background: rgba(255,255,255,0.12);
}

/* Header */

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 8px;
}

.material-name {
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.price-up {
    color: #5dff8b;
    font-weight: bold;
}

.price-down {
    color: #ff7272;
    font-weight: bold;
}

/* Body */

.comment-body {
    color: #d9e4ea;

    font-size: 14px;

    line-height: 1.5;

    margin-bottom: 10px;
}

/* Footer */

.comment-footer {
    color: rgba(255,255,255,0.6);

    font-size: 12px;
}

/* Zone scroll */

#comments-container {
    display: flex;
    flex-direction: column;

    gap: 15px;

    padding-top: 10px;

    animation: scrollFeed 25s linear infinite;
}

/* Animation propre */

@keyframes scrollFeed {

    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-50%);
    }
}