/* Collapsible Comment Threads */
.comment-thread {
    /* margin-bottom: 15px; */
    /* border: 1px solid #e0e0e0; */
    /* border-radius: 5px; */
    overflow: hidden;
}

.thread-header {
    /* background-color: #f5f5f5; */
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thread-title {
    font-weight: bold;
    flex-grow: 1;
}

.lesson-reply-link {
    margin-left: 10px;
    margin-right: 10px;
    color: #154277;
    text-decoration: none;
    font-size: 14px;
}

.lesson-reply-link:hover {
    text-decoration: underline;
}

.thread-toggle {
    font-size: 18px;
    font-weight: bold;
}

.thread-content {
    display: none;
    padding: 0 15px 15px 15px;
}

.thread-content.show {
    display: block;
}

.comment-thread.expanded {
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

/* Student Response Styling */
.student-response-container {
    margin-top: 20px;
    padding: 15px 30px 15px 0;
    border-top: 1px solid #e0e0e0;
}

.student-response-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.thread-reply-form {
    /* padding: 10px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0; */
}
.thread-reply-form textarea {
    width: 100%;
    background-color: #fff;
}
.thread-reply-form textarea:focus {
    background-color: #fff;
}
.thread-reply-form .button.left {
    float: left;
}
.thread-reply-form .button.right {
    float: right;
}

.comment-reply-link {
    margin-top: 5px;
    font-size: 0.9em;
}

.comment-reply-link a {
    color: #154277;
    text-decoration: none;
}

.comment-reply-link a:hover {
    text-decoration: underline;
}

/* Unread comment indicator */
.thread-header .unread-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ff5722;
    border-radius: 50%;
    margin-right: 5px;
}

#content-wrapper .main_content .latest_feedback .comment_container.pr15 {
    padding: 0 15px 0 0;
}

.thread-reply-container {
    margin-bottom: 15px;
    padding-left: 40px;
}

.clearfix {
    clear: both;
}

.comment_field_area.thread-reply-form {
    margin-top: 0;
}