.comment-form {
    width: 75%;
    margin: 0 auto;
}

.reply-form {
    width: 100%;;
}

.reply-btn-container .reply-btn {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.comment-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-form form input[type="text"],
.comment-form form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.comment-form form input[type="submit"] {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.actions-container {
    display: grid;
    grid-template-columns: 1fr 11fr;
    margin-top: 10px;
}

.comment-form form input[type="submit"]:hover {
    background-color: #218838;
}

.no-comments-notice {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
}

.comment {
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.comment h3 {
    margin: 0px;
    font-size: 1.5rem;
}

.comment-grid {
    display: grid;
    grid-template-columns: 9fr 3fr;
    grid-gap: 20px;
}

.like-dislike-section {
    text-align: left;
    display: flex;
    justify-content: space-around;
    justify-content: flex-start;
    align-items: flex-start;
}

.like-dislike-item {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.comment-grid .comment-content p {
    margin-left: 10px;
    font-size: 1.5rem;
    margin-bottom: 0px;
    margin-top: 0px;
    text-align: left;
    color: #0c0c0c;
}

.comment .emoji {
    text-align: left;
}

.comments-section {
    width: 990px;
    margin: 0 auto;
}

.comments-section h2, .comments-section p {
    text-align: center;
}

#leave-review-section {
    margin-top: 50px;
}

/* replies section */
.reply {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 10px;
    position: relative;
    left: 5%;
}

.reply-title {
    font-size: 1.5rem;
    margin: 0px;
}

.user .emoji {
    text-align: left;
}

.reply-form {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 10px;
}
.reply-form.show {
    max-height: 500px; /* of eventueel een hele grote waarde, bv. 1000px */
}

.reply-form form input[type="submit"] {
    margin: 0px;
    
}

/* mobile */
@media screen and (max-width: 768px) {
    .comment {
        width: 100%;
        margin-bottom: 5px;
    }

    .reply {
        width: 90%;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .comments-section {
        width: 90%;
    }

    .comment-form {
        margin-top: 20px;
        width: 100%;
    }
}