/* custom-select.css */

/* 컨테이너 */
.custom-select-container {
    width: 100%;
    margin-top: 8px;
    position: relative;
  }
  
  .custom-select {
    position: relative;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
  }
  
  /* 트리거 영역 */
  .custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
  }
  .custom-select-trigger .placeholder {
    color: #999;
  }
  
  /* 화살표 아이콘 */
  .custom-select-trigger .arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #999;
  }
  
  /* 옵션 영역 */
  .custom-options {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  .custom-select.open .custom-options {
    max-height: 200px;
    opacity: 1;
    overflow-y: auto;
  }
  
  /* 검색 박스 */
  .search-box {
    padding: 8px;
    border-bottom: 1px solid #eee;
  }
  .search-box .search-input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  /* 옵션 목록 */
  .options-list .option-item {
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .options-list .option-item:hover {
    background: #f0f0f0;
  }
  .option-item.selected {
    background: #e0e0ff;
  }
  