/* 세련된 홈페이지 CSS 디자인 */

:root {
  --primary-color: #1e90ff;
  --text-main: #222;
  --text-gray: #666;
  --border-light: #e0e6ed;
  --bg-light: #f9f9f9;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
  --radius: 10px;
  --section-gap: 32px;
  --section-padding: 32px;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-main);
  background: #fff;
  margin: 0;
  padding: 0;
}

/* 메인 컨텐츠 레이아웃 */
.main-content {
  //max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  //flex-direction: column;
  gap: var(--section-gap);
  z-index: 1000;
  top: 80px !important;
  position: relative;
  //border:1px solid #000;
}


.left-sidebar {
    position: sticky; top: 0px; 
}

.left-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 2.2;
}

/* 퀵메뉴 + 공지사항 + 연락처 */
.quick-notice-box {
  display: grid;
  grid-template-columns: 1fr 2fr 1.2fr;
  background: #fff;
  border-radius: var(--radius);
  padding: var(--section-padding);
  box-shadow: var(--shadow-light);
  gap: 32px;
  align-items: flex-start;
}

/* 퀵메뉴 */
.quick-menu {
  //border-right: 1px solid var(--border-light);
  padding-right: 4px;
    font-size: 1.0rem;
}

.quick-menu h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  //color: var(--text-main);
  color: #FF99FF;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15em;
  color: var(--text-gray);
  cursor: pointer;
  transition: color 0.2s;
}

.menu-item:hover {
  color: var(--primary-color);
}

.menu-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* 공지사항 */
.notice-section {
  padding: 0 24px;
  height:100%;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}

.notice-section h4,
.tabs .tab.active {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  //margin-bottom: 16px;
  //padding-bottom: 6px;
}

.tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--primary-color);
}

.tab {
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-gray);
  background: #f0f4f8;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.notice-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-section li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.0rem;
  color: var(--text-main);
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.notice-section .notice-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
  font-size: 1.1rem;
}

.notice-section .date {
  color: var(--text-gray);
  font-size: 0.9rem;
  min-width: 90px;
  text-align: right;
}

/* 연락처 */
.contact-info {
  padding-left: 24px;
}

.contact-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.contact-list p {
  margin: 0 0 10px 0;
  font-size: 1.21rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.account-box {
  margin-top: 20px;
  border-top: 1px solid #ddd;
  padding-top: 12px;
}

.account-box strong {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.account-box p {
  margin: 4px 0 0 0;
  font-size: 1.02rem;
  //color: var(--text-gray);
}

.account-box i {
  color: var(--primary-color);
  margin-top: 20px;
}

/* 연수일정 안내 */
.training-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.info-box {
  flex: 1 1 220px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s;
}

.info-box:hover {
  transform: translateY(-3px);
}

.info-box h5 {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: bold;
  //margin-bottom: 12px;
}

.info-box p {
  font-size: 0.98rem;
  color: var(--text-gray);
  margin: 8px 0;
}

.date_show {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* 반응형 */
@media (max-width: 1000px) {
  .quick-notice-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .notice-section {
    border-left: none;
    border-right: none;
    padding: 0;
  }

  .contact-info {
    padding-left: 0;
  }

  .training-info {
    flex-direction: column;
    gap: 20px;
  }
}