/* 전체 공통 스타일 */
body {
    font-family: 'Pretendard', sans-serif;
    background-color: #f4f6f8;
    color: #333;
    margin: 0;
    padding: 0;
  }
  
  a {
    color: #007BFF;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* 공지사항 목록 페이지 */
  .notice-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
  }
  
  .notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
  }
  
  .notice-header h1 {
    font-size: 32px;
    color: #2c3e50;
    margin: 0;
  }
  
  .home-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s;
  }
  
  .home-btn:hover {
    background-color: #2c80b4;
  }
  
  .notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid #ddd;
  }
  
  .notice-list li {
    padding: 20px 15px;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
    transition: background-color 0.2s;
    border-radius: 4px;
  }
  
  .notice-list li:hover {
    background-color: #f0f3f5;
  }
  
  .notice-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    color: #2c3e50;
  }
  
  .notice-title {
    font-weight: 600;
  }
  
  .notice-date {
    font-size: 14px;
    color: #999;
  }
  
  /* 공지사항 상세 페이지 */
  .notice-view-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    padding: 40px;
  }
  
  .notice-view-container h1 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #2c3e50;
  }
  
  .notice-meta {
    display: flex;
    justify-content: flex-start;  /* 왼쪽 정렬 */
    align-items: center;
    gap: 12px;  /* 요소 사이 간격을 줄임 */
    font-size: 14px;
    color: #555;
  }
  
  .notice-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    white-space: pre-wrap;
    margin-bottom: 30px;
  }
  
  .notice-download {
    background-color: #f8f9fb;
    border-left: 4px solid #3498db;
    padding: 12px 16px;
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  .notice-download a {
    color: #3498db;
  }
  
  .recommend-box {
    margin-bottom: 30px;
    font-size: 16px;
  }
  
  .recommend-box button {
    margin-right: 10px;
    background-color: #eaf1f8;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .recommend-box button:hover {
    background-color: #d0e4f2;
  }
  
  /* 댓글 영역 */
  .comment-section {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e5ea;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.comment-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

/* 댓글 입력 폼 */
#comment-form textarea {
    width: 100%;
    min-height: 60px; /* 높이를 적당히 줄여서 공간 절약 */
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 15px;
    font-family: inherit;
    resize: vertical; /* 세로 크기 조절 가능 */
    transition: border-color 0.3s ease;
}

#comment-form textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.2);
}

/* 댓글 제출 버튼 */
.comment-submit {
    text-align: right;
}

.comment-submit button {
    background-color: #3498db;
    color: white;
    padding: 10px 18px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-submit button:hover {
    background-color: #2980b9;
}

/* 댓글 목록 */
.comment-list h4 {
    font-size: 16px;
    margin-top: 30px;
    margin-bottom: 12px;
    color: #444;
}

#comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#comments-list li {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
}

#comments-list li p {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}
  
  /* 뒤로가기 버튼 */
  .back-btn {
    text-align: right;
    margin-top: 30px;
  }
  
  .back-btn a {
    color: #007BFF;
    font-weight: 500;
  }
  