/**
 * SelectionTool.css
 * 객체 선택 도구 - 레이어 선택 패널 스타일
 */

/* 레이어 선택 패널 (krds-modal 기반) */
#layer-selection-panel {
    background: transparent;
}

#layer-selection-panel .modal-dialog {
    margin: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

#layer-selection-panel .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

#layer-selection-panel .modal-title {
    font-size: 14px;
    font-weight: 600;
}

/* 설명 텍스트 */
.layer-selection-desc {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
}

/* 레이어 카드 호버 스타일 */
.layer-selection-item {
    transition: all 0.2s;
    margin-bottom: 4px;
    border-radius: 6px;
}

.layer-selection-item:last-child {
    margin-bottom: 0;
}

.layer-selection-item:hover {
    background: rgba(26, 92, 255, 0.05) !important;
    border-color: var(--krds-color-light-primary-40, #1a5cff) !important;
    box-shadow: 0 0 0 1px rgba(26, 92, 255, 0.2);
}

/* 스크롤 영역 */
#layer-selection-panel .layer-group-wrapper {
    overflow-y: auto;
}

#layer-selection-panel .layer-group-wrapper::-webkit-scrollbar {
    width: 6px;
}

#layer-selection-panel .layer-group-wrapper::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

#layer-selection-panel .layer-group-wrapper::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

#layer-selection-panel .layer-group-wrapper::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}