.comment {
  padding-top: 8px;
}

.comment-box {
  width: 100%;
  border-radius: 4px;
  border: 1px solid #ffffff50;
  padding: 16px;
  display: flex;
  flex-direction: column; /* 세로 정렬 */
  gap: 8px;
}

.comment-box h2 {
  margin: 0;
  color: #ffffff;
  font-weight: bold;
}

.comment-box hr {
  border: none;
  height: 1px;
  background-color: #ffffff50;
  margin: 10px 0;
}

.comment-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 좌우 배치 */
  width: 100%;
}


.comment-input {
  display: flex;
  align-items: center;
  flex-grow: 1;
  margin-left: 16px; /* 버튼과의 간격을 16px로 설정 */
}

.comment-input input[type="text"] {
  padding: 8px 12px;
  border: 1px solid #ffffff50;
  border-right: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  font-size: 1em;
  height: 46px;
  background-color: #18181a;
  color: white;
  width: 100%; /* 가로 길이 100% */
}

.comment-input button {
  padding: 8px 12px;
  border: 1px solid #ffffff50;
  border-left: none;
  background-color: #18181a;
  color: #ffffff;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: background-color 0.1s;
  font-size: 1.2em;
  height: 46px;
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}
  
.comment-input button:hover {
  background-color: #ffffff;
  color: #000000;
}

.sidebar .sidebar-section ul {
  list-style: none !important;
  padding: 0 !important;
}

.emotion-button {
  width: 48px;
  height: 48px;
  border: 1px solid #ffffff50;
  background-color: #18181a;
  color: #ffffff;
  border-radius: 4px;
  margin-right: 8px;
  margin-bottom: 8px;
  font-size: 1.2em;
  transition: 0.1s;
}
.emotion-button:hover {
  background-color: #ffffff;
  color: #000000;
}

@media (max-width: 1220px) {
  .main-container {
    width: 100% !important;
  }
}