@charset "UTF-8";
[x-cloak] {
  display: none !important;
}

/* 기본 Collapsible 스타일 (독립적, 떨어져 있음) */
.collapsible {
  border: 1px solid hsl(0, 0%, 86%);
  border-radius: 6px;
  margin-bottom: 1.5rem; /* 개별 collapsible은 더 큰 간격 */
  background-color: white;
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
  transition: all 0.3s ease;
}
.collapsible:hover {
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.15), 0 0px 0 1px rgba(10, 10, 10, 0.05);
}
.collapsible:last-child {
  margin-bottom: 0;
}

/* Accordion 그룹 스타일 (붙어있음) */
[x-data*=currentAcc] .collapsible {
  margin-bottom: 0; /* accordion 아이템들은 붙어있음 */
  border-radius: 0; /* 기본적으로 모서리 없음 */
  border-bottom: none; /* 아래 테두리 제거 */
  /* 첫 번째 accordion 아이템 */
}
[x-data*=currentAcc] .collapsible:first-child {
  border-radius: 6px 6px 0 0;
}
[x-data*=currentAcc] .collapsible {
  /* 마지막 accordion 아이템 */
}
[x-data*=currentAcc] .collapsible:last-child {
  border-radius: 0 0 6px 6px;
  border-bottom: 1px solid hsl(0, 0%, 86%);
}
[x-data*=currentAcc] .collapsible {
  /* 하나만 있는 경우 */
}
[x-data*=currentAcc] .collapsible:only-child {
  border-radius: 6px;
  border-bottom: 1px solid hsl(0, 0%, 86%);
}

/* Collapsible 헤더 */
.collapsible-header {
  padding: 1rem 1.25rem;
  background-color: hsl(0, 0%, 98%);
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px 6px 0 0;
}
.collapsible-header:hover {
  background-color: hsl(0, 0%, 96%);
}
.collapsible-header h3 {
  margin: 0;
  font-weight: 500;
  color: hsl(0, 0%, 21%);
}

/* Collapsible 토글 아이콘 */
.collapsible-toggle {
  transition: transform 0.3s ease;
  color: hsl(0, 0%, 48%);
  font-size: 0.875rem;
}

/* Active 상태 */
.collapsible.is-active .collapsible-header {
  border-bottom-color: hsl(0, 0%, 86%);
  background-color: hsl(217, 71%, 95%);
}
.collapsible.is-active .collapsible-header h3 {
  color: hsl(217, 71%, 35%);
}
.collapsible.is-active .collapsible-toggle {
  transform: rotate(180deg);
  color: hsl(217, 71%, 53%);
}

/* Collapsible 바디 */
.collapsible-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.collapsible.is-active .collapsible-body {
  max-height: 1000px;
}

/* Collapsible 콘텐츠 */
.collapsible-content {
  padding: 1.25rem;
  border-top: 1px solid hsl(0, 0%, 93%);
  background-color: white;
}

/* 반응형 디자인 */
@media screen and (max-width: 768px) {
  .collapsible-header {
    padding: 0.75rem 1rem;
  }
  .collapsible-header h3 {
    font-size: 1rem;
  }
  .collapsible-content {
    padding: 1rem;
  }
}
.subtitle {
  opacity: 0.4;
}

/* 카드 헤더 폰트 굵기 직접 재정의 */
.card-header-title {
  font-weight: 600 !important;
}

/* Section 패딩 직접 재정의 (CSS 변수가 작동하지 않을 경우 대안) */
.section {
  padding: 2rem 2rem !important;
}
@media screen and (max-width: 768px) {
  .section {
    padding: 1rem 1rem !important;
  }
}

.tabs ul {
  margin: 0;
}

.buttons {
  gap: 0.25rem;
}

@media screen and (min-width: 769px) {
  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .page-header .title {
    margin-bottom: 0;
  }
  .page-header .subtitle {
    margin-bottom: 0;
    text-align: right;
  }
}
@media screen and (max-width: 768px) {
  .page-header .title {
    margin-bottom: 1rem;
  }
  .page-header .subtitle {
    margin-bottom: 0;
  }
}

.ag-cell.custom-selected {
  background-color: #cce5ff !important;
}

/* 📌 카드 레이아웃 스타일 (Quartz 기반) */
/*
.ag-theme-quartz.card-layout {
  .ag-row {
    display: block;
    border: 1px solid var(--ag-border-color, #ccc);
    margin: 8px 0;
    padding: 12px;
    border-radius: 10px;
    background: var(--ag-background-color, #fff);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .ag-cell {
    display: block;
    border: none !important;
    padding: 6px 0;

    &::before {
      content: attr(col-id) ": ";
      font-weight: 600;
      margin-right: 6px;
      color: var(--ag-secondary-foreground-color, #444);
    }
  }
}
*/