/* File: static/css/seminar.css */

.seminar-detail .meta-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
  color: #666;
}

.seminar-detail .sec-title {
  font-weight: 700;
  color: #555;
  margin-bottom: 8px;
}

.attach-chip {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f8f9fa;
  text-decoration: none;
}

.attach-chip:hover {
  background: #eef3ff;
  border-color: #cfe2ff;
}

.overview-content {
  white-space: pre-line;
  word-break: break-word;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.list-group-item a:hover {
  text-decoration: underline;
}

/* 세미나 Overview 박스 스타일 */
.overview-content {
  background: #f8f9fa;
  /* 은은한 배경 */
  border: 1px solid #dee2e6;
  /* 연한 테두리 */
  border-radius: 8px;
  /* 모서리 둥글게 */
  padding: 1rem 1.25rem;
  /* 내부 여백 */
  font-size: 0.95rem;
  /* 글씨 조금 줄임 */
  line-height: 1.6;
  /* 줄 간격 */
  white-space: pre-line;
  /* 줄바꿈 보존 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  /* 은은한 그림자 */
}

.overview-content a {
  color: #0d6efd;
  /* 링크 색상 */
  text-decoration: underline;
}

/* 공통 정보 박스 */
.info-box {
  background: #f8f9fa;
  /* 연한 회색 배경 */
  border: 1px solid #dee2e6;
  /* 테두리 */
  border-radius: 8px;
  /* 둥글게 */
  padding: 1rem 1.25rem;
  /* 여백 */
  margin-top: 0.5rem;
  /* 제목과 간격 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-box a {
  color: #0d6efd;
  text-decoration: underline;
}

.attach-chip {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #e9ecef;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #0d6efd;
  text-decoration: none;
}

.attach-chip:hover {
  background: #dbe0e5;
}

/* 부모 폭 기준으로 말줄임표 처리 */
.truncate-text {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 넘치면 ... */
  max-width: 100%;
  /* 부모 영역을 넘지 않도록 */
}


/* Date picker: altInput이 생기면 원래 input은 숨겨지므로 높이/둥근 모서리 맞춤 */
.flatpickr-input[readonly] {
  background-color: #fff;
}

.flatpickr-calendar {
  border-radius: 12px;
}

.flatpickr-day.today {
  border-color: #0d6efd;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #0d6efd;
  color: #fff;
}

/* seminar-table: 긴 텍스트도 줄바꿈 */
.seminar-table td,
.seminar-table th {
  white-space: normal !important;
  word-break: break-word;
  vertical-align: middle;
}