/* ====================================
   Admin Category Arrows CSS
   ==================================== */

/* 카테고리 순서 조정 화살표 버튼 */
.category-arrows {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arrow-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: #f5f5f5;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
}

.arrow-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.arrow-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.arrow-btn:disabled:hover {
    background: #f5f5f5;
    color: #666;
}

/* 카테고리 관리 리스트 아이템 */
.management-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.management-item:hover {
    background: #f9f9f9;
    border-color: #ccc;
}

.management-item.dragging {
    opacity: 0.5;
    background: #e3f2fd;
}

/* 순서 번호 */
.order-number {
    min-width: 32px;
    height: 32px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

/* 카테고리 아이콘 */
.category-icon-display {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* 카테고리 정보 */
.category-info {
    flex: 1;
    min-width: 0;
}

.category-name-display {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #212121;
}

.category-description {
    font-size: 12px;
    color: #757575;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 카테고리 액션 버튼 */
.category-actions {
    display: flex;
    gap: 8px;
}

.category-actions button {
    padding: 6px 12px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.edit-category-btn {
    background: #667eea;
    color: white;
}

.edit-category-btn:hover {
    background: #5568d3;
}

.delete-category-btn {
    background: #ef4444;
    color: white;
}

.delete-category-btn:hover {
    background: #dc2626;
}

/* 드래그 핸들 */
.drag-handle {
    cursor: move;
    color: #999;
    padding: 0 8px;
}

.drag-handle:hover {
    color: #666;
}
