/* subject page 전용 */
  /* 공통 박스 선택 컴포넌트 */
  .box-select{ margin-top: 16px; }
  .select-head{
    width: 100%;
    display:flex; align-items:center; justify-content:space-between;
    padding: 14px 16px;
    border: 0; border-radius: 12px;
    background: #F8F8F8; color: #7E7E7E; cursor: pointer; font-size: 15px;
  }
  .select-head[disabled]{
    opacity: .6; cursor: not-allowed;
  }
  .select-head .chev{ width: 18px; height: 18px; }
  
  .select-body{
    list-style: none; padding: 0; margin: 8px 0 0;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: none; /* 기본 닫힘 */
    overflow: hidden;
  }
  .select-body.show{ display: block; }
  .select-body li{
    padding: 14px 16px; background: #fff; cursor: pointer;
  }
  .select-body li + li{ border-top: 1px solid var(--color-border); }
  .select-body li:hover{ background: #f2f6ff; }
  
  /* 선택된 과목 칩 */
  .chip-wrap{ display:flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 99, 237, 0.12);
    color: #0D63ED;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1;
  }
  
  .chip-x {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 4px;
    display: flex;    
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    background: transparent;
    color: #0D63ED;
    cursor: pointer;
    padding-bottom: 1px;
  }
  
  /* 하단 버튼 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex; 
    justify-content: center;
    background: var(--color-bg);
  }
  .primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0D63ED;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 500;
    cursor: pointer;
    font-size: 17px;
  }
  
  .primary-btn img.icon-send {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1);
  }