.comments-section {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.comment-form {
    margin-bottom: 30px;
}

#comingup_comments .comment-input {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    margin-bottom: 5px;
    border: 2px solid var(--e-global-color-accent);
    border-radius: 4px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--e-global-color-accent);
    color: white;
    padding: 8px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

.comment-item {
    display: flex;
    margin-bottom: 20px;
    padding: 30px 20px;
    background: #F8F8F8;
    border-radius: 7px;
}

.comment-avatar {
    margin-right: 15px;
}

#comingup_comments .comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-header {
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: bold;
    margin-right: 10px;
}

.comment-date {
    color: #666;
    font-size: 0.9em;
}

.comment-text {
    line-height: 1.5;
    font-size: 15px;
}

.comments-list {
    clear: both;
    margin-top: 70px;
}

/* 수정/삭제 버튼 스타일 */
.comment-actions {
    margin-left: auto;
}

.edit-btn, .delete-btn {
    margin-left: 10px;
    padding: 4px 12px;
    font-size: 13px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.edit-btn {
    background-color: #f0f0f0;
    color: #333;
}

.edit-btn:hover {
    background-color: #e0e0e0;
}

.delete-btn {
    background-color: #ffebe6;
    color: #d73a49;
}

.delete-btn:hover {
    background-color: #ffd7d1;
}

/* 수정 폼 스타일 */
.edit-form {
    margin-top: 15px;
    width: 100%;
}

.edit-input {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 2px solid var(--e-global-color-accent);
    border-radius: 4px;
    margin-bottom: 10px;
    resize: vertical;
    font-size: 15px;
    line-height: 1.5;
}

.edit-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.save-btn {
    background-color: var(--e-global-color-accent);
    padding: 4px 12px;
    font-size: 13px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.save-btn:hover {
    opacity: 0.9;
}

.cancel-btn {
    background-color: #f0f0f0;
    color: #333;
    padding: 4px 12px;
    font-size: 13px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cancel-btn:hover {
    background-color: #e0e0e0;
}

/* 모바일 반응형 스타일 */
@media (max-width: 767px) {
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-actions {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .edit-btn, .delete-btn {
        margin-left: 0;
        margin-right: 10px;
    }
}