.comment-login {
    font-size: 16px;
    margin-bottom: 8px;
}

.comment-link-login {
    color: #422800; 
    text-decoration: none;
    font-weight: 700;
}

.detail-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 20px auto;
    width: 80%;
}
  
.card-content {
    flex: 1;
    height: 100%;
    overflow: auto;
}
  
.comment-section {
    flex: 1;
}

.content-Box-comment {
    background-color: white;
    border: 2px solid rgb(235, 235, 235);
    border-radius: 12px; 
    font-size: 16px;
    font-family: "Assistant", sans-serif;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

.commentDiv {
    background-color: #fbfbfb;
    border: 1px solid var(--grey-color);
    border-radius: 5px;
    margin-bottom: 16px;
    padding: 10px;
    font-size: 16px;
    font-family: "Assistant", sans-serif;
}

.commentDiv:hover {
    box-shadow: 1px 2px 4px 1px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.comment-btn {
    background: none;
    border: none;
    padding: 0;
    text-decoration: none;
}

.comment {
    background-color: #fbfbfb;
    /* border: 1px solid var(--grey-color); */
    border-radius: 3px;
    margin-bottom: 3px;
    padding: 5px;
    width: 100%;
}

.comment-writer {
    font-weight: 600;
    display: inline-block;
}

.comment-created {
    color: grey;
    display: inline-block;
    font-size: 12px;
} 

.comment-body {
    margin: 5px 0;
}

.comment-footer {
    font-size: 12px;
}

.comment-reply {
    color: black;
    font-weight: 500;
}

.comment-submission {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    background-color: #fbfbfb;
    padding: 3px;
}

.comment-div {
    border: 1px solid var(--grey-color);
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 20px;
}

.reply-div {
    margin-top: 2px;
}

.comment-input {
    resize: none; /* Prevent manual resizing */
    overflow-y: hidden;
/*  border: none;
    background-color: #fbfbfb;*/
    border: 2px solid var(--grey-color); 
    border-radius: 12px;
    margin: 2px 0px 2px 0px;
    width: 90%;
}

textarea {
    height: 40px; /* Set your desired fixed height for the textarea */
    padding: 5px;
}

textarea::placeholder {
    color: #422800; 
    font-family: 'Assistant', sans-serif;
    font-size: 14px;
    font-weight: 300;
    padding-top: 2px;
}

textarea:focus {
    border: 1px solid #422800;
}

.submit-comment,
.submit-reply {
    align-items: center;
    background-color: var(--primary-color);
    /* border: 2px solid #422800; */
    border: none;
    border-radius: 12px;
    height: 36px;
    margin: 2px 0px 2px 0px;
    width: 15%;
    font-family: 'Assistant', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.bi-x {
    color: rgb(249, 141, 141);
}

/* .bibi-send {
    margin: 0 auto;
}
 */
.reply-comment {
    /* background-color: #fff; */
    border-radius: 5px;
    /* border: 1px solid #fbfbfb; */
    margin-left: 20px;
    margin-bottom: 2px;
    padding: 8px;
    width: 95%;
}

.hidden-reply {
    display: none;
}

.show-more-btn {
    border: none;
    border-top: 1px solid var(--grey-color);
    margin-bottom: 8px;
    padding: 3px;
    background: none;
    font: inherit;
    font-size: 15px;
    color: var(--grey-color);
    line-height: normal;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.reply-button {
    cursor: pointer;
    font-weight: 600;
}

.bi-reply-fill {
    margin-bottom: 5px;
}

.reply-comment-created {
    display: inline-block;
    font-size: 12px;
}

#reply-form {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
} 

.creator-comment {
    background-color: #F4F3F3;
    /* border: 1px solid #d8d8d8; */
}

.fa-xmark {
    color: var(--secondary-color);
}

.modal-btn-close {
    background-color: #422800;
    border-radius: 4px;
    border: 1px solid #422800;
    color: white;
    font-family: "Assistant", sans-serif;
    height: 40px;
    width: 12%;
}

@media (max-width: 1320px) {  
    .detail-page {
        width: 90%;
    }
}

@media (min-width: 768px) {
    .detail-page {
      flex-direction: row; 
      align-items: flex-start; 
    }

    .content-Box-comment {
        box-sizing: border-box;
    }
  
    .card-content {
      flex: 1;
      height: auto; /* Remove fixed height */
      overflow: auto;
    }
  
    .comment-section {
      flex: 1;
    }
}




