/* ===== VIEWS STYLES ===== */
/**
 * @file: views/community/post-form.css
 * @description: 게시글 작성 폼 스타일
 * @components: 게시글 작성 폼 요소
 * @usage: 게시글 작성 폼 스타일링
 */

/* 글쓰기 폼 스타일 */
#newPostModal input[type="text"],
#newPostModal textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

#newPostModal textarea {
  height: 150px;
  resize: vertical;
}

#newPostModal button {
  margin-top: 10px;
  margin-right: 10px;
}

.input-container {
  position: relative;
  margin-bottom: 15px;
}

#titleCount {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 0.8em;
  color: #666;
}

#contentCount {
  position: absolute;
  right: 10px;
  bottom: 20px;
  font-size: 0.8em;
  color: #666;
}

#newPostModal input[type="text"],
#newPostModal textarea {
  padding-right: 70px;
}

/* ===== VIEWS STYLES ===== */
/**
 * @file: views/post-form.css
 * @description: 게시글 게시, 취소 버튼 스타일
 * @components: 게시글 게시, 취소 버튼
 * @usage: 게시글 게시, 취소 버튼 스타일링
 */
#submitPost, #cancelPost {
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  border: none;
  transition: all 0.3s ease;
}

#submitPost {
  background-color: #1a73e8;
  color: white;
}

#submitPost:hover {
  background-color: #1557b0;
}

#cancelPost {
  background-color: #f1f3f4;
  color: #5f6368;
  border: 2px solid #e0e0e0;
}

#cancelPost:hover {
  background-color: #e8eaed;
}

